The Data Packet includes the following parameters passed from a DosMonReg function:
┌───────────────────────────────────────────────────┐ │Field Length C Datatype │ ├───────────────────────────────────────────────────┤ │Placement Flag WORD USHORT │ ├───────────────────────────────────────────────────┤ │Index WORD USHORT │ ├───────────────────────────────────────────────────┤ │Address of Input Buffer DWORD PCHAR │ ├───────────────────────────────────────────────────┤ │Offset of Output Buffer WORD NPCHAR │ └───────────────────────────────────────────────────┘
Related C Data Structure
The MONITORPOSITION data structure can be used by C programmers.
To include this data structure in your file, make sure INCL_DOSDEVIOCTL is defined before you include OS2.H.