DD_QUERYMOCOMPSTATUSDATA structure (ddrawint.h)

The DD_QUERYMOCOMPSTATUSDATA structure contains information required to query the status of the previous frame.

Syntax

typedef struct _DD_QUERYMOCOMPSTATUSDATA {
  PDD_DIRECTDRAW_LOCAL lpDD;
  PDD_MOTIONCOMP_LOCAL lpMoComp;
  PDD_SURFACE_LOCAL    lpSurface;
  DWORD                dwFlags;
  HRESULT              ddRVal;
} *PDD_QUERYMOCOMPSTATUSDATA, DD_QUERYMOCOMPSTATUSDATA;

Members

lpDD

Points to a DD_DIRECTDRAW_LOCAL structure that is relevant to the current Microsoft DirectDraw process only.

lpMoComp

Points to a DD_MOTIONCOMP_LOCAL structure that contains a description of the motion compensation being requested.

lpSurface

Points to a DD_SURFACE_LOCAL structure that contains the surface being queried.

dwFlags

Indicates the type of surface access.

DDMCQUERY_READ

Indicates that the surface can only be tested for read or display access. If this flag is not set, the surface can be tested for write access.

ddRVal

Specifies the location in which the driver writes the return value of the DdMoCompQueryStatus callback. A return code of DD_OK indicates the hardware has finished processing the DdMoCompRender request. Otherwise the return value must be DDERR_WASSTILLDRAWING. For more information, see Return Values for DirectDraw.

Requirements

Requirement Value
Header ddrawint.h (include Winddi.h)

See also

DdMoCompQueryStatus

DdMoCompRender