RouterUnregisterForPrintAsyncNotifications 函数 (prnasntp.h)
函数 RouterUnregisterForPrintAsyncNotifications
取消注册以接收与打印机或打印服务器关联的异步通知。
语法
HRESULT RouterUnregisterForPrintAsyncNotifications(
[in] HANDLE hNotify
);
参数
[in] hNotify
RouterRegisterForPrintAsyncNotifications 函数返回的注册句柄。
返回值
此函数在成功时返回S_OK,否则返回标准 COM 错误代码。
要求
要求 | 值 |
---|---|
目标平台 | 桌面 |
标头 | prnasntp.h (包括 Prnasntp.h) |
Library | Spoolss.lib |
DLL | Spoolss.dll |