DDOPENDIRECTDRAWOUT structure (ddkmapi.h)

The DDOPENDIRECTDRAWOUT structure contains a new Microsoft DirectDraw handle for the DD_DXAPI_OPENDIRECTDRAW function identifier of the DxApi function if the ddRVal member of DDOPENDIRECTDRAWOUT is set to DD_OK. This new handle must be used on all subsequent calls that require a DirectDraw handle.

Syntax

typedef struct _DDOPENDIRECTDRAWOUT {
  DWORD  ddRVal;
  HANDLE hDirectDraw;
} DDOPENDIRECTDRAWOUT, *LPDDOPENDIRECTDRAWOUT;

Members

ddRVal

Specifies the location in which DirectDraw writes the return value of the DxApi function for DD_DXAPI_OPENDIRECTDRAW operations. A return code of DD_OK indicates success.

hDirectDraw

Handle to the new DirectDraw object.

Requirements

Requirement Value
Header ddkmapi.h (include Ddkmapi.h)

See also

DD_DXAPI_OPENDIRECTDRAW

DxApi