CoRevokeDeviceCatalog function (combaseapi.h)

Revokes the registration of a device catalog performed by a previous call to CoRegisterDeviceCatalog.

Syntax

HRESULT CoRevokeDeviceCatalog(
  CO_DEVICE_CATALOG_COOKIE cookie
);

Parameters

cookie

Type: _In_ CO_DEVICE_CATALOG_COOKIE

The CO_DEVICE_CATALOG_COOKIE that was returned by CoRegisterDeviceCatalog.

Return value

This function can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, and S_OK.

Remarks

Examples

For a code example, see CoRegisterDeviceCatalog.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Target Platform Windows
Header combaseapi.h (include Objbase.h)
Library Ole32.lib
DLL Ole32.dll

See also