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.

80 lines
1.7 KiB

  1. /***************************************************************************
  2. *
  3. * File Name: WPNPIN16.H
  4. *
  5. * Copyright 1997 Hewlett-Packard Company.
  6. * All rights reserved.
  7. *
  8. * 11311 Chinden Blvd.
  9. * Boise, Idaho 83714
  10. *
  11. *
  12. * Description: Definitions and typedefs for 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. #include <windows.h>
  27. #include <string.h>
  28. #include <lzexpand.h>
  29. #include "globals.h"
  30. #include "debug.h"
  31. // definitions and typedefs in order to be able to
  32. // include prsht.h, setupx.h and lpsi.h
  33. //
  34. #define USECOMM
  35. #define OEMRESOURCE
  36. #define WINCAPI _cdecl
  37. typedef DWORD HKEY;
  38. typedef HKEY FAR * LPHKEY;
  39. typedef BYTE FAR * LPBYTE;
  40. typedef BYTE FAR * LPCBYTE;
  41. typedef DWORD FAR* HPROPSHEETPAGE;
  42. // must be defined before the #includes
  43. //
  44. #include <types.h>
  45. #include <stat.h>
  46. #include <direct.h>
  47. #include <setupx.h>
  48. #include "..\inc\lpsi.h"
  49. #include "..\inc\hpmemory.h"
  50. #include "..\inc\errormap.h"
  51. #include "..\inc\msdefine.h"
  52. #include "resource.h"
  53. #define _MAX_RESBUF 128
  54. #define _MAX_LINE 256
  55. // types used by functions declared below
  56. // must be defined after the #includes
  57. //
  58. typedef HINF *LPHINF;
  59. typedef HINFLINE *LPHINFLINE;
  60. typedef BOOL (FAR PASCAL* WEPPROC)(short);
  61. typedef BOOL (WINAPI *LPQUEUEPROC)(LPSI, LPDRIVER_NODE);
  62. // Declarations for functions exported by this 16-bit DLL
  63. //
  64. RETERR FAR PASCAL ParseINF16(LPSI lpsi);
  65. BOOL FAR PASCAL thk_ThunkConnect16(LPSTR, LPSTR, WORD, DWORD);
  66. BOOL FAR PASCAL DllEntryPoint(DWORD, WORD, WORD, WORD, DWORD, WORD);