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.

46 lines
952 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. csc_bmpc.h
  5. Abstract:
  6. Common header file for csc bitmap code
  7. Client Side Bitmap common header for both kernel mode code and user
  8. mode code. The 'c' in the filename means 'Common header'
  9. Author:
  10. Nigel Choi [t-nigelc] Sept 3, 1999
  11. --*/
  12. #ifndef _CSC_BMPC_H_
  13. #define _CSC_BMPC_H_
  14. typedef struct CscBmpFileHdr {
  15. DWORD magicnum;
  16. BYTE inuse; // a BOOL
  17. BYTE valid; // a BOOL
  18. DWORD sizeinbits;
  19. DWORD numDWORDs;
  20. } CscBmpFileHdr;
  21. #define BLOCKSIZE 4096 // # bytes per bitmapped block
  22. #define MAGICNUM 0xAA55FF0D /* to be placed in the begining of the
  23. bitmap file. For checking validity of bitmap
  24. as well as version. Change if bitmap file
  25. format changes, or that one bit represents
  26. different number of bytes.
  27. */
  28. #define STRMNAME ":cscbmp"
  29. #endif