Jump to content

MONITORPOSITION: Difference between revisions

From EDM2
Anakor (talk | contribs)
New
 
Ak120 (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== MONITORPOSITION ==
Monitor Position data structure.


Monitor Position data structure.
== Type ==
 
  [[USHORT]]  fPosition
=== Type ===  
  USHORT  index
 
  [[ULONG]]  pbInBuf
  [[OS2 API:DataType:USHORT|USHORT]]  fPosition
  USHORT  offOutBuf
  [[OS2 API:DataType:USHORT|USHORT]] index
  [[OS2 API:DataType:ULONG|ULONG]]  pbInBuf
  [[OS2 API:DataType:USHORT|USHORT]] offOutBuf
 
==== C Declaration Method ====


=== C Declaration Method ===
typedef struct
typedef struct


=== Fields ===
== 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.


fPosition  Placement flag.
;index - Index.
            The DosMonReg function call parameter that is used by an application
: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.
            to indicate:
:Refer to the IOCtl function 40h for valid parameter values.
            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.
;pbInBuf - Address of the Input Buffer.
            Used by an application to indicate on which monitor chain its
:Specifies the address of a monitor input buffer allocated by an application, initialized by the monitor dispatcher, and used by the DosMonRead function.
            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.
;offOutBuf - Offset of the Output Buffer.
            Specifies the address of a monitor input buffer allocated by an
: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.
            application, initialized by the monitor dispatcher, and used by the
            DosMonRead function.


offOutBuf  Offset of the Output Buffer.
[[Category:Data type]]
            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.

Latest revision as of 02:06, 21 February 2020

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.