Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This method revokes the registration of an interface in the global (process-wide) interface table.
Syntax
HRESULT RevokeInterfaceFromGlobal( DWORD dwCookie ); |
Parameters
- dwCookie
-
[in] DWORDcookie 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, objidl.idl |
Library | ole32.lib, uuid.lib |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |