Jump to content

BITMAPARRAYFILEHEADER: Difference between revisions

From EDM2
Created page with "Bitmap array file header structure. <PRE> typedef struct _BITMAPARRAYFILEHEADER { USHORT usType; Type of structure.: ULONG cbSize; ..."
 
No edit summary
Line 1: Line 1:
Bitmap array file header structure.
Bitmap array file header structure.
<PRE>
typedef struct _BITMAPARRAYFILEHEADER {
typedef struct _BITMAPARRAYFILEHEADER {
   USHORT              usType;    /*  Type of structure. */
   USHORT              usType;    /*  Type of structure. */
   ULONG                cbSize;    /*  Size of the BITMAPARRAYFILEHEADER structure in bytes. */
   ULONG                cbSize;    /*  Size of the BITMAPARRAYFILEHEADER structure in bytes. */
Line 7: Line 7:
   USHORT              cxDisplay;  /*  Device width, in pels. */
   USHORT              cxDisplay;  /*  Device width, in pels. */
   USHORT              cyDisplay;  /*  Device height, in pels. */
   USHORT              cyDisplay;  /*  Device height, in pels. */
   BITMAPFILEHEADER    bfh;        /*  Bitmap file header structure. */
   [[BITMAPFILEHEADER]]     bfh;        /*  Bitmap file header structure. */
} BITMAPARRAYFILEHEADER;
} BITMAPARRAYFILEHEADER;


typedef  BITMAPARRAYFILEHEADER  * PBITMAPARRAYFILEHEADER ;
typedef  BITMAPARRAYFILEHEADER  * PBITMAPARRAYFILEHEADER ;
</PRE>
 
 
==Fields==
; usType (USHORT)
 
:Type of resource the file contains.
:Possible values are shown in the following list:
 
:;BFT_BMAP
::(0x4D42 - 'BM' for bitmaps)
:;BFT_ICON
::(0x4349 - 'IC' for icons)
:;BFT_POINTER
::(0x4540 - 'PT' for pointers)
:BFT_COLORICON
::(0x4943 - 'CI' for color icons)
:BFT_COLORPOINTER
::(0x5043 - 'CP' for color pointers)
 
; cbSize (ULONG)
:Size of the BITMAPARRAYFILEHEADER structure in bytes.
 
; offNext (ULONG)
:Offset of the next BITMAPARRAYFILEHEADER structure from the start of the file.
 
; cxDisplay (USHORT)
:Device width, in pels.
 
; cyDisplay (USHORT)
:Device height, in pels.
 
; bfh (BITMAPFILEHEADER)
:Bitmap file header structure.
[[Category: Data type]]
[[Category: Data type]]

Revision as of 18:05, 25 May 2024

Bitmap array file header structure.

typedef struct _BITMAPARRAYFILEHEADER {
 USHORT               usType;     /*  Type of structure. */
 ULONG                cbSize;     /*  Size of the BITMAPARRAYFILEHEADER structure in bytes. */
 ULONG                offNext;    /*  Offset of the next BITMAPARRAYFILEHEADER structure from the start of the file. */
 USHORT               cxDisplay;  /*  Device width, in pels. */
 USHORT               cyDisplay;  /*  Device height, in pels. */
 BITMAPFILEHEADER     bfh;        /*  Bitmap file header structure. */
} BITMAPARRAYFILEHEADER;
typedef   BITMAPARRAYFILEHEADER   * PBITMAPARRAYFILEHEADER ;


Fields

usType (USHORT)
Type of resource the file contains.
Possible values are shown in the following list:
BFT_BMAP
(0x4D42 - 'BM' for bitmaps)
BFT_ICON
(0x4349 - 'IC' for icons)
BFT_POINTER
(0x4540 - 'PT' for pointers)
BFT_COLORICON
(0x4943 - 'CI' for color icons)
BFT_COLORPOINTER
(0x5043 - 'CP' for color pointers)
cbSize (ULONG)
Size of the BITMAPARRAYFILEHEADER structure in bytes.
offNext (ULONG)
Offset of the next BITMAPARRAYFILEHEADER structure from the start of the file.
cxDisplay (USHORT)
Device width, in pels.
cyDisplay (USHORT)
Device height, in pels.
bfh (BITMAPFILEHEADER)
Bitmap file header structure.