Delphi WinAPI WaitForPrinterChange

Delphi WinAPI WaitForPrinterChange

函数原型:

//C++
DWORD WaitForPrinterChange(
  HANDLE hPrinter,
  DWORD  Flags
);

Flags参数:

  • PRINTER_CHANGE_ADD_PRINTER
  • PRINTER_CHANGE_SET_PRINTER
  • PRINTER_CHANGE_DELETE_PRINTER
  • PRINTER_CHANGE_FAILED_CONNECTION_PRINTER
  • PRINTER_CHANGE_PRINTER
  • PRINTER_CHANGE_ADD_JOB
  • PRINTER_CHANGE_SET_JOB
  • PRINTER_CHANGE_DELETE_JOB
  • PRINTER_CHANGE_WRITE_JOB
  • PRINTER_CHANGE_JOB
  • PRINTER_CHANGE_ADD_FORM
  • PRINTER_CHANGE_SET_FORM
  • PRINTER_CHANGE_DELETE_FORM
  • PRINTER_CHANGE_FORM
  • PRINTER_CHANGE_ADD_PORT
  • PRINTER_CHANGE_CONFIGURE_PORT
  • PRINTER_CHANGE_DELETE_PORT
  • PRINTER_CHANGE_PORT
  • PRINTER_CHANGE_ADD_PRINT_PROCESSOR
  • PRINTER_CHANGE_DELETE_PRINT_PROCESSOR
  • PRINTER_CHANGE_PRINT_PROCESSOR
  • PRINTER_CHANGE_ADD_PRINTER_DRIVER
  • PRINTER_CHANGE_SET_PRINTER_DRIVER
  • PRINTER_CHANGE_DELETE_PRINTER_DRIVER
  • PRINTER_CHANGE_PRINTER_DRIVER
  • PRINTER_CHANGE_TIMEOUT
  • PRINTER_CHANGE_ALL

返回值:none

 

以后再补充

 

创建时间:2020.05.04  更新时间:

 

Delphi WinAPI WaitForPrinterChange

上一篇:Delphi WinAPI WaitForSingleObject-等待函数-等待指定对象处于有信号状态或超时间隔结束。


下一篇:Discus3.4从Linux系统宝塔面板迁移项目到windows