DDOPENSURFACEIN structure (ddkmapi.h)

The DDOPENSURFACEIN structure contains the DirectDrawSurface object information.

Syntax

typedef struct _DDOPENSURFACEIN {
  HANDLE              hDirectDraw;
  ULONG_PTR           dwSurfaceHandle;
  LPDD_NOTIFYCALLBACK pfnSurfaceClose;
  PVOID               pContext;
} DDOPENSURFACEIN, *LPDDOPENSURFACEIN;

Members

hDirectDraw

Specifies the Microsoft DirectDraw object to which the surface handle is associated.

dwSurfaceHandle

Specifies the DirectDrawSurface handle passed down from user mode.

pfnSurfaceClose

Points to a pfnSurfaceClose callback function that is called when the surface becomes unusable.

pContext

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

Requirements

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

See also

DD_DXAPI_OPENSURFACE

DxApi