次の方法で共有


RouterUnregisterForPrintAsyncNotifications 関数 (prnasntp.h)

この関数は RouterUnregisterForPrintAsyncNotifications 、プリンターまたはプリント サーバーに関連付けられている非同期通知を受信するために登録を解除します。

構文

HRESULT RouterUnregisterForPrintAsyncNotifications(
  [in] HANDLE hNotify
);

パラメーター

[in] hNotify

RouterRegisterForPrintAsyncNotifications 関数によって返される登録ハンドル。

戻り値

この関数は成功時にS_OKを返し、それ以外の場合は標準の COM エラー コードを返します。

要件

要件
対象プラットフォーム デスクトップ
Header prnasntp.h (Prnasntp.h を含む)
Library Spoolss.lib
[DLL] Spoolss.dll

こちらもご覧ください

RouterRegisterForPrintAsyncNotifications