Module::UnregisterObjects Method


The latest version of this topic can be found at Module::UnregisterObjects Method.

Unregisters the objects in the specified module so that other applications cannot connect to them.

HRESULT UnregisterObjects(  
   ModuleBase* module,  
   const wchar_t* serverName);  


Pointer to a module.

A qualifying name that specifies a subset of objects affected by this operation.

S_OK if this operation is successful; otherwise, an error HRESULT that indicates the reason this operation failed.

Header: module.h

Namespace: Microsoft::WRL

Module Class