home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c034 / 7.ddi / INC11 / PMBITMAP.H$ / PMBITMAP.bin
Encoding:
Text File  |  1990-01-09  |  984 b   |  32 lines

  1. /*******************************Module*Header******************************\
  2. *
  3. * Module Name: PMBITMAP.H
  4. *
  5. * Include file that declares types for bitmaps.
  6. *
  7. * Copyright (c) 1989-1990, Microsoft Corporation. All rights reserved.
  8. *
  9. \*******************************Module*Header******************************/
  10.  
  11. /*
  12.  * This is the file format structure for Bitmaps, Pointers and Icons
  13.  * as stored in the resource file of a PM application.
  14.  */
  15. typedef struct _BITMAPFILEHEADER { /* bfh */
  16.     USHORT    usType;
  17.     ULONG     cbSize;
  18.     INT       xHotspot;
  19.     INT       yHotspot;
  20.     ULONG     offBits;
  21.     BITMAPINFOHEADER bmp;
  22. } BITMAPFILEHEADER;
  23. typedef BITMAPFILEHEADER FAR *PBITMAPFILEHEADER;
  24.  
  25. /*
  26.  * These are the identifying values that go in the wType field of the
  27.  * BITMAPFILEHEADER.  (BFT_ => Bitmap File Type)
  28.  */
  29. #define BFT_ICON        0x4349   /* 'IC' */
  30. #define BFT_BMAP        0x4d42   /* 'BM' */
  31. #define BFT_POINTER     0x5450   /* 'PT' */
  32.