Windows NT 4.0 source code leak
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.

75 lines
2.1 KiB

4 years ago
  1. #ifdef WIN16
  2. typedef WORD USHORT;
  3. typedef WORD ULONG;
  4. #endif
  5. typedef struct _DRIVER10 {
  6. LPSTR pDriverName; // UNIDRIVE.EPSON.FX-80
  7. LPSTR pModelName; // UNIDRIVE
  8. LPSTR pDeviceName; // EPSON.FX-80
  9. LPSTR pDescription;// Epson FX 80 Printer Driver
  10. LPSTR pFileName; // \\server\print$\drivers\i386\UNIDRIVE.DRV
  11. } DRIVER10;
  12. typedef DRIVER10 near *PDRIVER10;
  13. typedef DRIVER10 far *LPDRIVER10;
  14. typedef struct _DRIVER11 {
  15. LPSTR pDriverName; // UNIDRIVE.EPSON.FX-80
  16. LPSTR pModelName; // UNIDRIVE
  17. LPSTR pDeviceName; // EPSON.FX-80
  18. LPSTR pDescription;// Epson FX 80 Printer Driver
  19. LPSTR pFileName; // \\server\print$\drivers\i386\UNIDRIVE.DRV
  20. } DRIVER11;
  21. typedef DRIVER11 near *PDRIVER11;
  22. typedef DRIVER11 far *LPDRIVER11;
  23. SPLERR APIENTRY DosPrintDriverEnum(LPSTR pServer, USHORT uLevel,
  24. LPBYTE pBuf, ULONG cbBuf,
  25. LPWORD pcReturned, LPWORD pcTotal);
  26. typedef struct _SERVER {
  27. LPSTR pName;
  28. LPSTR pComment;
  29. } SERVER;
  30. typedef SERVER near *PSERVER;
  31. typedef SERVER far *LPSERVER;
  32. SPLERR APIENTRY DosPrintServerEnum(USHORT uLevel, LPBYTE pBuf,
  33. ULONG cbBuf, LPWORD pcReturned,
  34. LPWORD pcTotal);
  35. typedef struct _PRINTPROC {
  36. LPSTR pName;
  37. } PRINTPROC;
  38. typedef PRINTPROC near *PPRINTPROC;
  39. typedef PRINTPROC far *LPPRINTPROC;
  40. SPLERR APIENTRY DosPrintProcEnum (LPSTR pServer, USHORT uLevel,
  41. LPBYTE pBuf, ULONG cbBuf,
  42. LPWORD pcReturned, LPWORD pcTotal);
  43. #ifdef PRINTERENUM
  44. typedef struct _PRINTER {
  45. LPSTR pName;
  46. LPSTR pServer;
  47. LPSTR pShare;
  48. LPSTR pComment;
  49. } PRINTER;
  50. typedef PRINTER near *PPRINTER;
  51. typedef PRINTER far *LPPRINTER;
  52. SPLERR APIENTRY DosPrintPrinterEnum(USHORT uLevel, LPBYTE pBuf,
  53. ULONG cbBuf, LPWORD pcReturned,
  54. LPWORD pcTotal);
  55. #endif // PRINTERENUM