Implement DLL Functions
A plug-in that extends the Windows Vista photo acquisition experience must be a DLL that implements the following functions, so it can be registered, unregistered, and loaded into memory.
- DllMain The DLL entry point. Your implementation may wish to save the hInstance parameter in order to get a module path for use in the implementation of DllRegisterServer.
- DllGetClassObject Creates a class factory instance, using your implementation of IClassFactory.
- DllCanUnloadNow Queries whether the DLL can safely be unloaded.
- DllRegisterServer Creates registry entries for the DLL. The required registry entries are described in Register the Plug-in.
- DllUnregisterServer Removes registry entries for the DLL.