Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
1.4 KiB

  1. BOOL KMOpenPrinterW(LPWSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTS pDefault);
  2. BOOL
  3. KMGetPrinterDriverW(
  4. HANDLE hPrinter,
  5. LPWSTR pEnvironment,
  6. DWORD Level,
  7. LPBYTE pDriverInfo,
  8. DWORD cbBuf,
  9. LPDWORD pcbNeeded
  10. );
  11. DWORD
  12. KMGetPrinterDataW(
  13. HANDLE hPrinter,
  14. LPWSTR pValueName,
  15. LPDWORD pType,
  16. LPBYTE pData,
  17. DWORD nSize,
  18. LPDWORD pcbNeeded
  19. );
  20. DWORD
  21. KMSetPrinterDataW(
  22. HANDLE hPrinter,
  23. LPWSTR pValueName,
  24. DWORD Type,
  25. LPBYTE pData,
  26. DWORD cbData
  27. );
  28. BOOL
  29. KMWritePrinter(
  30. HANDLE hPrinter,
  31. LPVOID pBuf,
  32. DWORD cbBuf,
  33. LPDWORD pcWritten
  34. );
  35. DWORD
  36. KMStartDocPrinterW(
  37. HANDLE hPrinter,
  38. DWORD Level,
  39. LPBYTE pDocInfo
  40. );
  41. BOOL
  42. KMGetFormW(
  43. HANDLE hPrinter,
  44. LPWSTR pFormName,
  45. DWORD Level,
  46. LPBYTE pForm,
  47. DWORD cbBuf,
  48. LPDWORD pcbNeeded
  49. );
  50. BOOL
  51. KMEnumFormsW(
  52. HANDLE hPrinter,
  53. DWORD Level,
  54. LPBYTE pForm,
  55. DWORD cbBuf,
  56. LPDWORD pcbNeeded,
  57. LPDWORD pcReturned
  58. );
  59. BOOL
  60. KMGetPrinterW(
  61. HANDLE hPrinter,
  62. DWORD Level,
  63. LPBYTE pPrinter,
  64. DWORD cbBuf,
  65. LPDWORD pcbNeeded
  66. );
  67. BOOL
  68. KMEndDocPrinter(
  69. HANDLE hPrinter
  70. );
  71. BOOL
  72. KMStartPagePrinter(
  73. HANDLE hPrinter
  74. );
  75. BOOL
  76. KMEndPagePrinter(
  77. HANDLE hPrinter
  78. );
  79. BOOL
  80. KMClosePrinter(
  81. HANDLE hPrinter);
  82. BOOL
  83. KMAbortPrinter(
  84. HANDLE hPrinter);
  85. VOID
  86. FreeSpool(
  87. PSPOOL pSpool);