На главную

On-line справка по Win32 API

Написать письмо
БЕСПЛАТНАЯ ежедневная online лотерея! Выигрывай каждый день БЕСПЛАТНО!
Список всех статей A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z | Скачать Вниз

FindClosePrinterChangeNotification



The FindClosePrinterChangeNotification function closes a change notification object created by calling the FindFirstPrinterChangeNotification function. The printer or print server associated with the change notification object will no longer be monitored by that object.

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, provide an asynchronous, more resource-efficient alternative to the WaitForPrinterChange function.

See Also

FindFirstPrinterChangeNotification, FindNextPrinterChangeNotification, WaitForPrinterChange


Пригласи друзей и счет твоего мобильника всегда будет положительным!
Предыдущая статья
 
Сайт Народ.Ру Интернет
Следующая статья
Пригласи друзей и счет твоего мобильника всегда будет положительным!

FindClosePrinterChangeNotification



Функция FindClosePrinterChangeNotification закрывает объект уведомления изменения созданный вызовом функции FindFirstPrinterChangeNotification. Принтер или сервер распечатки связывались объектом уведомления изменения больше не будет проверен этим объектом.

BOOL FindClosePrinterChangeNotification(

РУЧКА РУЧКИ hChange //, чтобы изменять объект уведомления против закрытия
);


Параметры

hChange

Прооперируйте объект уведомления изменения против закрыт. Это - ручка созданная вызовом функции FindFirstPrinterChangeNotification.



Обратные Величины

Если функция добивается успеха, обратная величина ненулевая.
Если функция терпит неудачу, обратная величина нулевая. Для того, чтобы расширять информацию ошибки, назовите GetLastError.

Замечания

После вызова функции FindClosePrinterChangeNotification, Вы не можете использовать ручку hChange на последующих вызовах на или FindFirstPrinterChangeNotification или FindNextPrinterChangeNotification.
Три функции Find*PrinterChangeNotification, в комбинации с функциями ожидания, обеспечивать асинхронную, более ресурс-эффективную альтернативу для функции WaitForPrinterChange.

Смотри Также

FindFirstPrinterChangeNotification, FindNextPrinterChangeNotification, WaitForPrinterChange


Вверх Version 1.3, Oct 26 2010 © 2007, 2010, mrhx Вверх
 mrhx software  Русский перевод OpenGL  Русский перевод Win32 API
 
Используются технологии uCoz