Home > Software engineering >  Com component dynamic library, need to export the list of functions, such as DllGetClassObject
Com component dynamic library, need to export the list of functions, such as DllGetClassObject

Time:11-02

Com component dynamic library, need to export the list of functions, such as DllGetClassObject, thank you!

CodePudding user response:

DllCanUnloadNow
DllGetClassObject
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);
  • Related