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.

78 lines
1.8 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // File Name: 32TO16.THK
  4. //
  5. // Copyright 1997 Hewlett-Packard Company.
  6. // All rights reserved.
  7. //
  8. // 11311 Chinden Blvd.
  9. // Boise, Idaho 83714
  10. //
  11. //
  12. // Description: Thunk script for WPNPINST.DLL -> WPNPIN16.DLL
  13. //
  14. // Author: Garth Schmeling
  15. //
  16. //
  17. // Modification history:
  18. //
  19. // Date Initials Change description
  20. //
  21. // 10-10-97 GFS Initial checkin
  22. //
  23. //
  24. //
  25. ///////////////////////////////////////////////////////////////////////////////
  26. enablemapdirect3216 = true;
  27. typedef unsigned int UINT;
  28. typedef unsigned char UCHAR;
  29. typedef UCHAR BYTE;
  30. typedef UINT RETERR;
  31. typedef BYTE *LPBYTE;
  32. typedef struct tagSetupInfo {
  33. char szPortMonitor[512];
  34. char szPrintProcessor[512];
  35. char szVendorSetup[512];
  36. char szVendorInstaller[512];
  37. char ShareName[256];
  38. char INFfileName[256];
  39. char szPort[256];
  40. char szDriverFile[256];
  41. char szDataFile[256];
  42. char szConfigFile[256];
  43. char szHelpFile[256];
  44. char szDriverDir[256];
  45. char BinName[256];
  46. char szFriendly[256];
  47. char szModel[256];
  48. char szDefaultDataType[256];
  49. int dwDriverVersion;
  50. int dwUniqueID;
  51. int bNetPrinter;
  52. int wFilesUsed;
  53. int wFilesAllocated;
  54. int wRetryTimeout;
  55. int wDNSTimeout;
  56. int bDontQueueFiles;
  57. int bNoTestPage;
  58. int hModelInf;
  59. int wCommand;
  60. int nRes1;
  61. LPBYTE lpPrinterInfo2;
  62. LPBYTE lpDriverInfo3;
  63. LPBYTE lpFiles;
  64. LPBYTE lpVcpInfo;
  65. } SETUPINFO;
  66. typedef SETUPINFO *LPSI;
  67. RETERR ParseINF16(LPSI lpsi)
  68. {
  69. lpsi = inout;
  70. }