zoukankan      html  css  js  c++  java
  • Delphi WinAPI WaitForPrinterChange

    Delphi WinAPI WaitForPrinterChange

    引用单元:WinSpool

    函数原型:

    //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  更新时间:

  • 相关阅读:
    tp框架实现ajax
    tp框架的增删改查
    tp框架获取常量信息、方法、命名空间
    tp框架,访问方式、空方法
    tp基础,文件存储路径
    缓存
    CMS系统存储路径
    Smarty模版引擎的原理
    php的empty(),trim(),strlen()方法
    PHP 流程管理
  • 原文地址:https://www.cnblogs.com/guorongtao/p/12825789.html
Copyright © 2011-2022 走看看