Jump to content

BOOL: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:DataType:BOOL to BOOL over redirect
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== BOOL ==
Boolean


Boolean.
==Type==
unsigned long


=== Type ===
==C Declaration Method==
typedef unsigned


unsigned long
==Comment==
Values are:
*[[TRUE]], which is 1
*[[FALSE]], which is 0


==== Coment ====
==Example==
typedef unsigned long BOOL;


Values are:
==PBOOL==
*[[OS2 API:Constant:TRUE|TRUE]]
Pointer to BOOL
*[[OS2 API:Constant:FALSE|FALSE]]
typedef BOOL *PBOOL;


[[Category:The OS/2 API Project]]
[[Category:Data type]]

Latest revision as of 00:35, 9 June 2025

Boolean

Type

unsigned long

C Declaration Method

typedef unsigned

Comment

Values are:

Example

typedef unsigned long BOOL;

PBOOL

Pointer to BOOL

typedef BOOL *PBOOL;