 |
FindNextPrinterChangeNotification ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves information about the most recent change notification for a change notification object associated with a printer or print server. Call this function when a wait operation on the change notification object is satisfied. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL FindNextPrinterChangeNotification(
HANDLE hChange, // change notification
PDWORD pdwChange, // condition that changed
LPVOID pPrinterNotifyOptions, // refresh option
LPVOID *ppPrinterNotifyInfo // printer information
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER FindNextPrinterChangeNotification;
IN winspool.drv;
INTEGER hChange,;
INTEGER @ pdwChange,;
STRING @ pPrinterNotifyOptions,;
INTEGER @ ppPrinterNotifyInfo
|
 |
 |
 |
| Parameters: |
 |
hChange
[in] Handle to a change notification object associated with a printer or print server obtained by calling the FindFirstPrinterChangeNotification function.
pdwChange
[out] Pointer to a variable whose bits are set to indicate the changes that occurred to cause the most recent notification.
pPrinterNotifyOptions
[in] Pointer to a PRINTER_NOTIFY_OPTIONS structure.
ppPrinterNotifyInfo
[out] Pointer to a pointer variable that receives a pointer to a system-allocated, read-only buffer. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a nonzero value. |
 |
 |
| My comment: |
 |
Call the FindNextPrinterChangeNotification function after a wait operation on a notification object created by FindFirstPrinterChangeNotification has been satisfied. Calling FindNextPrinterChangeNotification lets you obtain information about the change that satisfied the wait operation, and resets the notification object so it can be signaled when the next change occurs.
See also: FindClosePrinterChangeNotification, FreePrinterNotifyInfo. |
 |
 |
| Word Index links for the FindNextPrinterChangeNotification : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2005-04-06 20:46:42 | | Modified: | 2005-04-06 20:49:38 | Visited in last 7 days: 22 |