Module::UnregisterWinRTObject Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

Unregisters one or more Windows Runtime objects so that other applications cannot connect to them.

virtual HRESULT UnregisterWinRTObject(  
   unsigned int,  
   _Inout_ WINRT_REGISTRATION_COOKIE* cookie  
);  
  

Parameters

cookie
A pointer to a value that identifies the class object whose registration is to be revoked.

Header: module.h

Namespace: Microsoft::WRL

Module Class

Show: