Jump to content

MRESULT: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:DataType:MRESULT to MRESULT
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
== MRESULT ==
A 4-byte message-dependent reply parameter structure
A 4-byte message-dependent reply 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:Data type]]

Revision as of 23:17, 14 March 2018

A 4-byte message-dependent reply 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.