![]() ![]() ![]() ![]() You may wish to use CALLBACK for the callback functions that you implement to help identify the function as a callback function.Īn 8-bit Windows (ANSI) character. Most functions in the Windows API are declared using WINAPI. This type is declared in WinDef.h as follows: #define CALLBACK _stdcall CALLBACK, WINAPI, and APIENTRY are all used to define functions with the _stdcall calling convention. The calling convention for callback functions. This type is declared in WinDef.h as follows: typedef unsigned char BYTE This type is declared in WinNT.h as follows: typedef BYTE BOOLEAN Ī byte (8 bits). This type is declared in WinDef.h as follows: typedef int BOOL Ī Boolean variable (should be TRUE or FALSE). This type is declared in WinDef.h as follows: typedef WORD ATOM Ī Boolean variable (should be TRUE or FALSE). For more information, see About Atom Tables. This type is declared in WinDef.h as follows: #define APIENTRY WINAPIĪn atom. The calling convention for system functions. Handles refer to a resource that has been loaded into memory.įor more information about handling 64-bit integers, see Large Integers. Most of the pointer-type names begin with a prefix of P or LP. The character, integer, and Boolean types are common to most C compilers. The following table contains the following types: character, integer, Boolean, pointer, and handle. For more information about the underlying C/C++ data types, see Data Type Ranges. They define the size and meaning of these elements. The data types supported by Windows are used to define function return values, function and message parameters, and structure members. ![]()
0 Comments
Leave a Reply. |