WscUnRegisterChanges 函数 (wscapi.h)

取消通过调用 WscRegisterForChanges 函数进行的回调注册。

语法

HRESULT WscUnRegisterChanges(
  [in] HANDLE hRegistrationHandle
);

参数

[in] hRegistrationHandle

作为 WscRegisterForChanges 函数的 phCallbackRegistration 返回的注册上下文的句柄。

返回值

如果函数成功,则返回 S_OK ,否则返回错误代码。

要求

要求
最低受支持的客户端 Windows Vista [仅限桌面应用]
最低受支持的服务器 无受支持的版本
目标平台 Windows
标头 wscapi.h
Library Wscapi.lib
DLL Wscapi.dll

另请参阅

WscRegisterForChanges