Share via


IGlobalInterfaceTable::RevokeInterfaceFromGlobal

This method revokes the registration of an interface in the global (process-wide) interface table.

HRESULT RevokeInterfaceFromGlobal(
  DWORD dwCookie
);

Parameters

  • dwCookie
    [in] DWORD cookie identifying the interface whose global registration is to be revoked.

Return Values

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

OS Versions: Windows CE 3.0 and later.
Header: Objidl.h, Objidl.idl.
Link Library: Ole32.lib, Uuid.lib.

See Also

IGlobalInterfaceTable::GetInterfaceFromGlobal | IGlobalInterfaceTable::RegisterInterfaceInGlobal

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.