Description:

SetDriverInfo associates a driver object handle with the object identified by an engine object handle.

#include <os2.h>

ULONG    hDrvObject;  /*  Driver's handle for the object. */
ULONG    hEngObject;  /*  Engine's handle for the object. This value must not be -1. */
ULONG    ulIndex;     /*  Indicates the type of object. */
HDC      hdc;         /*  Device context handle that identifies the calling DC. */
LONG     rc;          /*  Return codes. */

rc = SetDriverInfo(hDrvObject, hEngObject,
       ulIndex, hdc);


[Back: SetDriverInfo]
[Next: SetDriverInfo Parameter - hDrvObject]