IGlobalInterfaceTable::RevokeInterfaceFromGlobal method (objidl.h)
Revokes the registration of an interface in the global interface table.
Syntax
HRESULT RevokeInterfaceFromGlobal(
[in] DWORD dwCookie
);
Parameters
[in] dwCookie
Identifies the interface whose global registration is to be revoked.
Return value
This method can return the following values.
Return code | Description |
---|---|
|
The method completed successfully. |
|
The parameter is invalid. |
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | objidl.h (include ObjIdl.h) |