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.

40 lines
1.5 KiB

  1. /*==============================================================================
  2. This file includes the BUFFER typedef and standard meta-data values.
  3. 23-Feb-93 RajeevD Moved from ifaxos.h
  4. 17-Jul-93 KGallo Added STORED_BUF_DATA metadata type for buffers containing
  5. the stored info for another buffer.
  6. 28-Sep-93 ArulM Added RES_ ENCODE_ WIDTH_ and LENGTH_ typedefs
  7. ==============================================================================*/
  8. #ifndef _INC_BUFFERS
  9. #define _INC_BUFFERS
  10. typedef struct _BUFFER
  11. {
  12. // Read Only portion
  13. LPBYTE lpbBegBuf; // Physical start of buffer
  14. WORD wLengthBuf; // Length of buffer
  15. // Read write public portion
  16. WORD wLengthData; // length of valid data
  17. LPBYTE lpbBegData; // Ptr to start of data
  18. } BUFFER, *LPBUFFER;
  19. #define MH_DATA 0x00000001L
  20. #define MR_DATA 0x00000002L
  21. #define MMR_DATA 0x00000004L
  22. #define AWRES_mm080_038 0x00000002L
  23. #define AWRES_mm080_077 0x00000004L
  24. #define AWRES_mm080_154 0x00000008L
  25. #define AWRES_mm160_154 0x00000010L
  26. #define AWRES_200_100 0x00000020L
  27. #define AWRES_200_200 0x00000040L
  28. #define AWRES_200_400 0x00000080L
  29. #define AWRES_300_300 0x00000100L
  30. #define AWRES_400_400 0x00000200L
  31. #define AWRES_600_600 0x00000400L
  32. #define AWRES_600_300 0x00000800L
  33. #endif // _INC_BUFFERS