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 |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈