## Presentation Device Driver Reference for OS/2

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

### SetDriverInfo - Parameters

hDrvObject (ULONG) - input Driver's handle for the object.

This value must not be -1.

hEngObject (ULONG) - input Engine's handle for the object. This value must not be -1.

ulIndex (ULONG) - input Indicates the type of object.

Has the following settings:

lIndex = 0 Reserved
lIndex = 1 hObject is a bit-map handle

hdc (HDC) - input Device context handle that identifies the calling DC.

rc (LONG) - returns Return codes.

If successful, the function returns the driver object handle that was associated with the object before any changes were made by SetDriverInfo. If an error is detected, the function returns GPI_ALTERROR.