DDOPENDIRECTDRAWIN structure (ddkmapi.h)

The DDOPENDIRECTDRAWIN structure contains the Microsoft DirectDraw object information.

Syntax

typedef struct _DDOPENDIRECTDRAWIN {
  ULONG_PTR           dwDirectDrawHandle;
  LPDD_NOTIFYCALLBACK pfnDirectDrawClose;
  PVOID               pContext;
} DDOPENDIRECTDRAWIN, *LPDDOPENDIRECTDRAWIN;

Members

dwDirectDrawHandle

Contains the DirectDraw handle that was passed down from user mode.

pfnDirectDrawClose

Points to a pfnDirectDrawClose callback function that is called if the DirectDraw object goes away.

pContext

Contains a value that is passed if the pfnDirectDrawClose callback is ever called.

Requirements

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

See also

DD_DXAPI_OPENDIRECTDRAW

DxApi