Delphi WinAPI FindFirstPrinterChangeNotification 和FindNextPrinterChangeNotification
Delphi WinAPI FindFirstPrinterChangeNotification 和FindNextPrinterChangeNotification
一般这两个函数一起使用
函数原型:
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 更新时间:
博客园 滔Roy https://www.cnblogs.com/guorongtao 希望内容对你有所帮助,谢谢!