RouterUnregisterForPrintAsyncNotifications 函式 (prnasntp.h)

RouterUnregisterForPrintAsyncNotifications 式會取消註冊,以接收與印表機或列印伺服器相關聯的異步通知。

語法

HRESULT RouterUnregisterForPrintAsyncNotifications(
  [in] HANDLE hNotify
);

參數

[in] hNotify

RouterRegisterForPrintAsyncNotifications 函式所傳回的註冊句柄。

傳回值

此函式會在成功時傳回S_OK,否則會傳回標準 COM 錯誤碼。

規格需求

需求
目標平台 桌面
標頭 prnasntp.h (include Prnasntp.h)
程式庫 Spoolss.lib
Dll Spoolss.dll

另請參閱

RouterRegisterForPrintAsyncNotifications