MPARAM: Difference between revisions
Appearance
m Ak120 moved page OS2 API:DataType:MPARAM to MPARAM |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
A 4-byte message-dependent parameter structure | A 4-byte message-dependent parameter structure | ||
Line 12: | Line 11: | ||
[[BOOL]] The value is contained in the low word and the high word is 0. | [[BOOL]] The value is contained in the low word and the high word is 0. | ||
[[SHORT]] The value is contained in the low word and its sign is extended into the high word. | [[SHORT]] The value is contained in the low word and its sign is extended into the high word. | ||
[[USHORT]] The value is contained in the low word and the high word is 0. | [[USHORT]] The value is contained in the low word and the high word is 0. | ||
[[NULL]] The entire four bytes are 0. | [[NULL]] The entire four bytes are 0. | ||
The structure of this data type depends on the message. For details, see the description of the particular message. | The structure of this data type depends on the message. For details, see the description of the particular message. | ||
[[Category:Data type]] | [[Category:PM Data type]] |
Latest revision as of 06:50, 21 February 2020
A 4-byte message-dependent parameter structure
Type
void
C Declaration Method
typedef
Comment
Certain elements of information, placed into the parameters of a message, have data types that do not use all four bytes of this data type. The rules governing these cases are:
BOOL The value is contained in the low word and the high word is 0. SHORT The value is contained in the low word and its sign is extended into the high word. USHORT The value is contained in the low word and the high word is 0. NULL The entire four bytes are 0.
The structure of this data type depends on the message. For details, see the description of the particular message.