HRESULT UnregisterServer(
const CLSID* pCLSID = NULL
) throw ( );
inline HRESULT UnregisterServer(
BOOL bUnRegTypeLib,
const CLSID* pCLSID = NULL
) throw ( );
- bUnRegTypeLib
If TRUE, the type library is also unregistered.
- pCLSID
Points to the CLSID of the object to be unregistered. If NULL (the default value), all objects in the object map will be unregistered.
A standard HRESULT value.
Depending on the pCLSID parameter, unregisters either a single class object or all objects in the object map.
UnregisterServer will be called automatically by DLLUnregisterServer for a DLL or by WinMain for an EXE run with the /UnregServer command line option.
See OBJECT_ENTRY_AUTO for information on how to add an entry to the object map.
Header: atlbase.h
Concepts