The FreePrinterNotifyInfo function frees a system-allocated buffer that was returned by the FindNextPrinterChangeNotification function.
BOOL FreePrinterNotifyInfo(
PPRINTER_NOTIFY_INFO pPrinterNotifyInfo |
// pointer to a PRINTER_NOTIFY_INFO buffer |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.