Share via


RouterUnregisterForPrintAsyncNotifications, fonction (prnasntp.h)

La RouterUnregisterForPrintAsyncNotifications fonction annule l’inscription pour recevoir des notifications asynchrones associées à une imprimante ou un serveur d’impression.

Syntaxe

HRESULT RouterUnregisterForPrintAsyncNotifications(
  [in] HANDLE hNotify
);

Paramètres

[in] hNotify

Handle d’inscription retourné par la fonction RouterRegisterForPrintAsyncNotifications .

Valeur retournée

Cette fonction retourne S_OK en cas de réussite, et un code d’erreur COM standard dans le cas contraire.

Configuration requise

Condition requise Valeur
Plateforme cible Desktop (Expérience utilisateur)
En-tête prnasntp.h (inclure Prnasntp.h)
Bibliothèque Spoolss.lib
DLL Spoolss.dll

Voir aussi

RouterRegisterForPrintAsyncNotifications