## Display Device Driver Reference for OS/2

[prev][next][parent][TOC]

### INIT (00h) - Initialize the Device

On entry, the request block contains the following fields as inputs to the physical video device driver:

Pointer to the DevHlp entry point
Pointer to the INIT arguments

On exit, the physical video device driver sets the first pointer to the offsets of the code and data segments to release code and data needed only by the initialization routine. The second pointer is set to 0. If initialization is successful, the request packet status field is set to indicate No Error and Done; otherwise, the status is set to General Failure .

The physical video device driver can perform the following initialization:

Obtain the DevHlp address from the request packet.
Verify that the display adapter and the display that it supports are present. If not, it can fail initialization.