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.

72 lines
1.5 KiB

  1. /*
  2. * Windows/Network Interface
  3. * Copyright (C) Microsoft 1989-1992
  4. *
  5. * Standard WINNET Driver Header File, spec version 3.10
  6. * rev. 3.10.05 ;Internal
  7. */
  8. #ifndef _INC_WFWNET
  9. #define _INC_WFWNET /* #defined if windows.h has been included */
  10. #ifndef RC_INVOKED
  11. #pragma pack(1) /* Assume byte packing throughout */
  12. #endif /* RC_INVOKED */
  13. #ifdef __cplusplus
  14. extern "C" { /* Assume C declarations for C++ */
  15. #endif /* __cplusplus */
  16. #define CHAR char
  17. #define SHORT short
  18. #define LONG long
  19. typedef WORD far * LPWORD;
  20. typedef unsigned char UCHAR;
  21. typedef unsigned short USHORT;
  22. typedef unsigned long ULONG;
  23. typedef unsigned short SHANDLE;
  24. typedef void far *LHANDLE;
  25. typedef unsigned char far *PSZ;
  26. typedef unsigned char near *NPSZ;
  27. typedef unsigned char far *PCH;
  28. typedef unsigned char near *NPCH;
  29. typedef UCHAR FAR *PUCHAR;
  30. typedef USHORT FAR *PUSHORT;
  31. typedef ULONG FAR *PULONG;
  32. #ifndef DRIVDATA
  33. /* structure for Device Driver data */
  34. typedef struct _DRIVDATA { /* driv */
  35. LONG cb;
  36. LONG lVersion;
  37. CHAR szDeviceName[32];
  38. CHAR abGeneralData[1];
  39. } DRIVDATA;
  40. typedef DRIVDATA far *PDRIVDATA;
  41. #endif
  42. #ifndef API
  43. #define API WINAPI
  44. #endif
  45. #ifndef RC_INVOKED
  46. #pragma pack() /* Revert to default packing */
  47. #endif /* RC_INVOKED */
  48. #ifdef __cplusplus
  49. } /* End of extern "C" { */
  50. #endif /* __cplusplus */
  51. #endif /* _INC_WFWNET */
  52.