RouterUnregisterForPrintAsyncNotifications function (prnasntp.h)

The RouterUnregisterForPrintAsyncNotifications function unregisters for receiving asynchronous notifications associated with a printer or print server.

Syntax

HRESULT RouterUnregisterForPrintAsyncNotifications(
  [in] HANDLE hNotify
);

Parameters

[in] hNotify

The registration handle returned by the RouterRegisterForPrintAsyncNotifications function.

Return value

This function returns S_OK on success, and a standard COM error code otherwise.

Requirements

Requirement Value
Target Platform Desktop
Header prnasntp.h (include Prnasntp.h)
Library Spoolss.lib
DLL Spoolss.dll

See also

RouterRegisterForPrintAsyncNotifications