FindClosePrinterChangeNotification
The FindClosePrinterChangeNotification
function closes a change notification object created by calling the FindFirstPrinterChangeNotification
BOOL FindClosePrinterChangeNotification(
HANDLE hChange |
// handle to change
notification object to close |
); |
|
Parameters
hChange
Handle to the
change notification object to be closed. This is a handle created by calling
the FindFirstPrinterChangeNotification function.
Return Values
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
Remarks
After calling
the FindClosePrinterChangeNotification function, you cannot use the hChange
handle in subsequent calls to either FindFirstPrinterChangeNotification
or FindNextPrinterChangeNotification.
The three Find*PrinterChangeNotification
functions, in combination with the wait functions
See Also