Windows API Reference - Types - BOOL

This page provides a comprehensive overview of the BOOL data type in the Windows API.

The BOOL (Boolean) is a fundamental data type in C and C++ used to represent true or false values.

It's a lightweight type, representing a boolean value, offering a small overhead compared to more complex boolean types.

A typical value is 1 for true and 0 for false.

It's often used for representing flags, condition checks, and logical operations within your code.

The BOOL is a crucial component of many Windows API functions that handle conditions and logic.