Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 | onecore.lib |
| DLL | combase.dll |