Delphi WinAPI FindFirstPrinterChangeNotification 和FindNextPrinterChangeNotification

Delphi WinAPI FindFirstPrinterChangeNotificationFindNextPrinterChangeNotification

一般这两个函数一起使用

函数原型:

HANDLE FindFirstPrinterChangeNotification(
  _In_     HANDLE hPrinter,
           DWORD  fdwFilter,
           DWORD  fdwOptions,
  _In_opt_ LPVOID pPrinterNotifyOptions
);

返回值:返回句柄(Delphi Cardinal值)

 

BOOL FindNextPrinterChangeNotification(
  _In_      HANDLE hChange,
  _Out_opt_ PDWORD pdwChange,
  _In_opt_  LPVOID pPrinterNotifyOptions,
  _Out_opt_ LPVOID *ppPrinterNotifyInfo
);

返回值:返回布尔值Bool

 

有时间再补充

 

创建时间:2020.05.04  更新时间:

 

posted on 2020-05-04 17:16  滔Roy  阅读(388)  评论(0编辑  收藏  举报

导航