Leaked source code of windows server 2003
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.

35 lines
1.0 KiB

  1. //////////////////////////////////////////////////////////////////////////
  2. //
  3. // This is the public header file for apps that call MSPRINT.DLL
  4. //
  5. //////////////////////////////////////////////////////////////////////////
  6. #ifndef SETUPX_INC
  7. typedef WORD RETERR;
  8. #endif
  9. typedef RETERR (FAR PASCAL* PRINTERSETUPPROC)(HWND,WORD,LPSTR,WORD);
  10. RETERR WINAPI PrinterSetup(HWND hWnd,WORD wAction,LPSTR lpBuffer,WORD wBufSize);
  11. #ifdef WIN32
  12. typedef BOOL (WINAPI* PRINTERSETUPPROC32)(HWND,WORD,WORD,LPBYTE,LPWORD);
  13. BOOL WINAPI PrinterSetup32(HWND,WORD,WORD,LPBYTE,LPWORD);
  14. #endif
  15. #define MSPRINT_PRINTERSETUP (MAKEINTRESOURCE(50))
  16. #define MSP_NEWPRINTER 1
  17. #define MSP_NETPRINTER 2
  18. #define MSP_NEWDRIVER 3
  19. #define MSP_NETADMIN 4
  20. #define MSP_TESTPAGEFULLPROMPT 5
  21. #define MSP_TESTPAGEPARTIALPROMPT 7
  22. #define MSP_TESTPAGENOPROMPT 8
  23. // These are obsolete and will be going away soon...
  24. #define MSPRINT_NEWPRINTER (MAKEINTRESOURCE(100))
  25. #define MSPRINT_SETUPENTRY (MAKEINTRESOURCE(101))