IGlobalInterfaceTable::RevokeInterfaceFromGlobal method
Revokes the registration of an interface in the global interface table.
Syntax
HRESULT RevokeInterfaceFromGlobal(
[in] DWORD dwCookie
);
Parameters
- dwCookie [in]
-
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
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IGlobalInterfaceTable is defined as 00000146-0000-0000-C000-000000000046 |
See also