MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / DllRegisterServer

Function DllRegisterServer

PathCopyCopy/src/PathCopyCopy.cpp:55–71  ·  view source on GitHub ↗

DllRegisterServer - Adds entries to the system registry

Source from the content-addressed store, hash-verified

53
54// DllRegisterServer - Adds entries to the system registry
55STDAPI DllRegisterServer(void)
56{
57 // Setup per-user registration if needed.
58 StAtlPerUserOverride perUserOverride;
59 if (!perUserOverride.Succeeded()) {
60 return E_FAIL;
61 }
62
63 // registers object, typelib and all interfaces in typelib
64 HRESULT hr = _AtlModule.DllRegisterServer();
65#ifdef _MERGE_PROXYSTUB
66 if (FAILED(hr))
67 return hr;
68 hr = PrxDllRegisterServer();
69#endif
70 return hr;
71}
72
73
74// DllUnregisterServer - Removes entries from the system registry

Callers 2

DllInstallFunction · 0.70
DllRegisterServerMethod · 0.70

Calls 2

SucceededMethod · 0.80
DllRegisterServerMethod · 0.45

Tested by

no test coverage detected