> For the complete documentation index, see [llms.txt](https://pinvokeisalive.gitbook.io/pinvoke/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pinvokeisalive.gitbook.io/pinvoke/directory/structures/bitmapfileheader.md).

# BITMAPFILEHEADER

### C# Definition:

```cs
using System.Runtime.InteropServices;

[StructLayout(LayoutKind.Sequential, Pack=2)]
public struct BITMAPFILEHEADER
{
     public ushort bfType; 
     public uint bfSize; 
     public ushort bfReserved1; 
     public ushort bfReserved2; 
     public uint bfOffBits; 
}
```

### VB Definition:

```cs
Imports System.Runtime.InteropServices

<StructLayout(LayoutKind.Sequential, Pack:=2)> _
Structure BITMAPFILEHEADER 
   Public Type As UShort
   Public Size As UInteger
   Public Reserved1 As UShort
   Public Reserved2 As UShort
   Public OffBits As UInteger
End Structure
```
