CComModule::UnregisterServer

HRESULT UnregisterServer( const CLSID* pCLSID = NULL );

Return Value

A standard HRESULT value.

Parameters

pCLSID

[in] Points to the CLSID of the object to be unregistered. If NULL (the default value), all objects in the object map will be unregistered.

Remarks

Depending on the pCLSID parameter, unregisters either a single class object or all objects in the object map. The BEGIN_OBJECT_MAP macro starts your object map definition.

UnregisterServer will be called automatically by DLLUnregisterServer for a DLL or by WinMain for an EXE run with the /UnregServer command line option.

CComModule OverviewClass Members

See Also   CComModule::RegisterServer