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.

28 lines
1.2 KiB

  1. extern BOOL fWinspoolLoaded;
  2. extern DWORD (WINAPI *lpfnDEVICECAPABILITIES)(LPSTR lpDriverName, LPSTR lpDeviceName,
  3. WORD nIndex, LPSTR lpOutput, LPDEVMODE lpDevMode);
  4. extern BOOL (WINAPI *lpfnDEVICEMODE)(HWND hWnd, LPSTR lpDriverName, LPSTR lpDeviceName, LPSTR lpOutput);
  5. extern DWORD (WINAPI *lpfnEXTDEVICEMODE)(HWND hWnd,LPSTR lpDriverName,
  6. LPDEVMODE lpDevModeOutput, LPSTR lpDeviceName, LPSTR lpPort,
  7. LPDEVMODE lpDevModeInput, LPSTR lpProfile, DWORD flMode);
  8. extern BOOL (WINAPI *lpfnOpenPrinter)(LPSTR pPrinterName, LPHANDLE phPrinter,
  9. VOID *pDefault);
  10. extern DWORD (WINAPI *lpfnStartDocPrinter)(HANDLE hPrinter, DWORD Level,
  11. LPBYTE pDocInfo);
  12. extern BOOL (WINAPI *lpfnStartPagePrinter)(HANDLE hPrinter);
  13. extern BOOL (WINAPI *lpfnEndPagePrinter)(HANDLE hPrinter);
  14. extern BOOL (WINAPI *lpfnEndDocPrinter)(HANDLE hPrinter);
  15. extern BOOL (WINAPI *lpfnClosePrinter)(HANDLE hPrinter);
  16. extern BOOL (WINAPI *lpfnWritePrinter)(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf,
  17. LPDWORD pcWritten);
  18. extern BOOL (WINAPI *lpfnDeletePrinter)(HANDLE hPrinter);
  19. BOOL LoadWinspoolAndGetProcAddresses();