MONITORPOSITION: Difference between revisions
Appearance
New |
No edit summary |
||
| Line 45: | Line 45: | ||
initialized by the monitor dispatcher, and used by the DosMonWrite | initialized by the monitor dispatcher, and used by the DosMonWrite | ||
function. | function. | ||
[[OS2_API | Back to OS/2 API]] | |||
[[Category:The OS/2 API Project]] | |||
Revision as of 20:40, 31 October 2011
MONITORPOSITION
Monitor Position data structure.
Type
USHORT fPosition USHORT index ULONG pbInBuf USHORT offOutBuf
C Declaration Method
typedef struct
Fields
fPosition Placement flag.
The DosMonReg function call parameter that is used by an application
to indicate:
Where its monitor buffers are to be placed within a monitor chain
relative to monitors already registered on the monitor chain
What special processing requirements need to be supported by the
monitor dispatcher.
Refer to the IOCtl function 40h for valid parameter values.
index Index.
Used by an application to indicate on which monitor chain its
monitor buffers are being registered. The accepted values for this
parameter vary for each device driver. See information on the
physical mouse device driver, the physical keyboard device driver
and the physical parallel port device driver in the OS/2
Input/Output Device Driver Reference to determine the valid
parameter value for each device driver.
Refer to the IOCtl function 40h for valid parameter values.
pbInBuf Address of the Input Buffer.
Specifies the address of a monitor input buffer allocated by an
application, initialized by the monitor dispatcher, and used by the
DosMonRead function.
offOutBuf Offset of the Output Buffer.
Specifies the offset of a monitor output buffer allocated by an
application in the same data segment as the input buffer,
initialized by the monitor dispatcher, and used by the DosMonWrite
function.