DDTRANSFERININFO structure (dxmini.h)

The DDTRANSFERININFO structure contains the transfer information for the surface

Syntax

typedef struct _DDTRANSFERININFO {
  LPDDSURFACEDATA lpSurfaceData;
  DWORD           dwStartLine;
  DWORD           dwEndLine;
  ULONG_PTR       dwTransferID;
  DWORD           dwTransferFlags;
  PMDL            lpDestMDL;
} DDTRANSFERININFO, *PDDTRANSFERININFO;

Members

lpSurfaceData

Points to a DDSURFACEDATA structure that represents the surface that contains the information to be transferred. The information in this structure is supplied by DirectDraw.

dwStartLine

Indicates the first line in the surface from which data is transferred.

dwEndLine

Indicates the last line in the surface from which data is transferred, inclusive.

dwTransferID

Specifies an identification for the transfer supplied by DirectDraw. This transfer ID is used by the driver in the DDGETTRANSFERSTATUSOUTINFO structure.

dwTransferFlags

Indicates the type of transfer. One of the following:

Flag Meaning
DDTRANSFER_CANCEL DirectDraw previously requested a transfer, but is now canceling that request.
DDTRANSFER_HALFLINES Due to half line issues, the odd field contains an extra line of useless data at the top that the driver must account for.
DDTRANSFER_INVERT During bus mastering, the capture driver is requesting an inversion.
DDTRANSFER_NONLOCALVIDMEM The transfer is from display memory to AGP memory.
DDTRANSFER_SYSTEMMEMORY The transfer is from display memory to system memory.

lpDestMDL

Points to a destination memory descriptor list (MDL) structure.

Requirements

Requirement Value
Header dxmini.h (include Dxmini.h)

See also

DDGETTRANSFERSTATUSOUTINFO

DDSURFACEDATA

DxTransfer