IGlobalInterfaceTable::RevokeInterfaceFromGlobal (Compact 2013)
3/26/2014
This method revokes the registration of an interface in the global (process-wide) interface table.
Syntax
HRESULT RevokeInterfaceFromGlobal(
DWORD dwCookie
);
Parameters
- dwCookie
[in] DWORD cookie identifying the interface whose global registration is to be revoked.
Return Value
If the method succeeds, the return value is S_OK.
If the parameter is invalid, the method returns E_INVALIDARG.
Remarks
Call this method when an interface registered in the global interface table object no longer needs to be accessed by other apartments in the same process.
This method can be called by any apartment in the process, including apartments other than the one that registered the interface in the global interface table.
To determine whether the platform supports this interface, see Determining Supported COM APIs.
Requirements
Header |
objidl.h, |
Library |
ole32.lib, |
See Also
Reference
IGlobalInterfaceTable
IGlobalInterfaceTable::GetInterfaceFromGlobal
IGlobalInterfaceTable::RegisterInterfaceInGlobal