CodePudding user response:
DllCanUnloadNowDllGetClassObject
DllRegisterServer
DllUnregisterServer
Is this a few commonly, to do this work?
CodePudding user response:
//whether can be used to determine the DLL by OLE unloading,
STDAPI DllCanUnloadNow (void);
//return a class factory to create the requested types of objects,
STDAPI DllGetClassObject (_In_ REFCLSID rclsid, _In_ REFIID riid, _Outptr_ LPVOID * PPV);
//DllRegisterServer - added in the system registry,
STDAPI DllRegisterServer (void);
//DllUnregisterServer - remove items in the system registry,
STDAPI DllUnregisterServer (void);
//DllInstall - according to the user and the computer one by one, add/remove items in the system registry,
STDAPI DllInstall (BOOL bInstall, _In_opt_ LPCWSTR pszCmdLine);