# 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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pinvokeisalive.gitbook.io/pinvoke/directory/structures/bitmapfileheader.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
