Jump to content

MONITORPOSITION: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user 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.
fPosition Placement flag.
:The DosMonReg function call parameter that is used by an application to indicate:
            The DosMonReg function call parameter that is used by an application
:Where its monitor buffers are to be placed within a monitor chain relative to monitors already registered on the monitor chain
            to indicate:
:What special processing requirements need to be supported by the monitor dispatcher.
            Where its monitor buffers are to be placed within a monitor chain
:Refer to the IOCtl function 40h for valid parameter values.
            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.
 
 


;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.


[[OS2_API | Back to OS/2 API]]
;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.


[[Category:The OS/2 API Project]]
[[Category:Data type]]

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.