home *** CD-ROM | disk | FTP | other *** search
- /*******************************Module*Header******************************\
- *
- * Module Name: PMBITMAP.H
- *
- * Include file that declares types for bitmaps.
- *
- * Copyright (c) 1989-1990, Microsoft Corporation. All rights reserved.
- *
- \*******************************Module*Header******************************/
-
- /*
- * This is the file format structure for Bitmaps, Pointers and Icons
- * as stored in the resource file of a PM application.
- */
- typedef struct _BITMAPFILEHEADER { /* bfh */
- USHORT usType;
- ULONG cbSize;
- INT xHotspot;
- INT yHotspot;
- ULONG offBits;
- BITMAPINFOHEADER bmp;
- } BITMAPFILEHEADER;
- typedef BITMAPFILEHEADER FAR *PBITMAPFILEHEADER;
-
- /*
- * These are the identifying values that go in the wType field of the
- * BITMAPFILEHEADER. (BFT_ => Bitmap File Type)
- */
- #define BFT_ICON 0x4349 /* 'IC' */
- #define BFT_BMAP 0x4d42 /* 'BM' */
- #define BFT_POINTER 0x5450 /* 'PT' */
-