Expand Minimize

DDOPENSURFACEIN structure

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

Header

Ddkmapi.h (include Ddkmapi.h)

See also

DD_DXAPI_OPENSURFACE
DxApi

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft