DD_BEGINMOCOMPFRAMEDATA structure (ddrawint.h)

The DDHAL_BEGINMOCOMPFRAMEDATA structure contains the frame information required to start decoding.

Syntax

typedef struct _DD_BEGINMOCOMPFRAMEDATA {
  PDD_DIRECTDRAW_LOCAL lpDD;
  PDD_MOTIONCOMP_LOCAL lpMoComp;
  PDD_SURFACE_LOCAL    lpDestSurface;
  DWORD                dwInputDataSize;
  LPVOID               lpInputData;
  DWORD                dwOutputDataSize;
  LPVOID               lpOutputData;
  HRESULT              ddRVal;
} *PDD_BEGINMOCOMPFRAMEDATA, DD_BEGINMOCOMPFRAMEDATA;

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.

lpDestSurface

Points to a DD_SURFACE_LOCAL structure representing the destination surface in which to decode this frame.

dwInputDataSize

Indicates the size in bytes of optional input data in lpInputData that is required to begin this frame.

lpInputData

Points to an optional input buffer, the contents of which are defined by the GUID. This buffer cannot contain any embedded pointers.

dwOutputDataSize

Indicates the size in bytes of optional output data in lpOutputData that is required to begin this frame.

lpOutputData

Points to an optional output buffer, the contents of which are defined by the GUID. This buffer cannot contain any embedded pointers.

ddRVal

Specifies the location in which the driver writes the return value of the DdMoCompBeginFrame callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.

Requirements

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

See also

DdMoCompBeginFrame