DD_DIRECTDRAW_GLOBAL

typedef struct _DD_DIRECTDRAW_GLOBAL{
    VOID *                      dhpdev;
    DWORD                       dwReserved1;
    DWORD                       dwReserved2;
} DD_DIRECTDRAW_GLOBAL;

DD_DIRECTDRAW_GLOBAL contains driver information that is relevant to its device.

Members

dhpdev
Handle to the driver’s private PDEV.
dwReserved1
Reserved for use by the display driver.
dwReserved2
Reserved for use by the display driver.

Comments

Only one DD_DIRECTDRAW_GLOBAL definition will ever exist for a device.

The dwReserved1 and dwReserved2 fields can be used as required by the driver. For example, a driver might store pointers to internal data structures in these fields.