Module::UnregisterCOMObject Method
Unregisters one or more COM objects, which prevents other applications from connecting to them.
virtual HRESULT UnregisterCOMObject(
const wchar_t* serverName,
DWORD* cookies,
unsigned int count
Parameters
serverName
(Unused)cookies
An array of pointers to values that identify the class objects to be unregistered. The array was created by the RegisterCOMObject method.count
The number of classes to unregister.
Return Value
S_OK if this operation is successful; otherwise, an error HRESULT that indicates the reason the operation failed.
Requirements
Header: module.h
Namespace: Microsoft::WRL