File:  [OS/2 SDKs] / pmsdk / include / pmbitmap.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:36 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1989, HEAD
Microsoft OS/2 SDK PM 02-24-1989

/*******************************Module*Header*******************************\
* Module Name: PMBITMAP.H                                                   *
*                                                                           *
* Include file that declares types for bitmaps.                             *
*                                                                           *
* Copyright (c) 1989  Microsoft Corporation                                 *
*                                                                           *
\*******************************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' */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.