Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.33 KB

File metadata and controls

51 lines (33 loc) · 1.33 KB

Home

Function name : FindClosePrinterChangeNotification

Group: Printing and Print Spooler - Library: winspool.drv


Closes a change notification object created by calling the FindFirstPrinterChangeNotification function.


Code examples:

Using Change Notification Objects to monitor changes to the printer or print server

Declaration:

BOOL FindClosePrinterChangeNotification(
	HANDLE hChange // handle to change notification object
);  

FoxPro declaration:

DECLARE INTEGER FindClosePrinterChangeNotification;
IN winspool.drv;
	INTEGER hChange
  

Parameters:

hChange [in] Handle to the change notification object to be closed. This is a handle created by calling the FindFirstPrinterChangeNotification function.


Return value:

If the function succeeds, the return value is a nonzero value.


Comments:

After this call, the printer or print server associated with the change notification object will no longer be monitored by that object.

See also: FindNextPrinterChangeNotification.