DD_GETINTERNALMOCOMPDATA structure (ddrawint.h)

The DD_GETINTERNALMOCOMPDATA structure contains the internal memory requirements.

Syntax

typedef struct _DD_GETINTERNALMOCOMPDATA {
  PDD_DIRECTDRAW_LOCAL lpDD;
  GUID                 *lpGuid;
  DWORD                dwWidth;
  DWORD                dwHeight;
  DDPIXELFORMAT        ddPixelFormat;
  DWORD                dwScratchMemAlloc;
  HRESULT              ddRVal;
} *PDD_GETINTERNALMOCOMPDATA, DD_GETINTERNALMOCOMPDATA;

Members

lpDD

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

lpGuid

Points to a GUID for which the internal memory requirement is requested.

dwWidth

Indicates the width in pixels of uncompressed output frame.

dwHeight

Indicates the height in pixels of uncompressed output frame.

ddPixelFormat

Points to a DDPIXELFORMAT structure that contains the pixel format of the uncompressed output frame.

dwScratchMemAlloc

Indicates the size in bytes of internal memory that the display driver privately reserves to perform motion compensation

ddRVal

Specifies the location in which the driver writes the return value of the DdMoCompGetInternalInfo 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

DdMoCompGetInternalInfo