DxGetTransferStatus routine

The DxGetTransferStatus callback function is used by DirectDraw to determine which hardware bus master has completed.

Syntax


PDX_GETTRANSFERSTATUS DxGetTransferStatus;

DWORD DxGetTransferStatus(
   PVOID                 HwDeviceExtension,
   PVOID                 lpInput,
   PDDGETTRANSFEROUTINFO GetTransferOutInfo
)
{ ... }

Parameters

HwDeviceExtension

Points to the miniport driver's device extension.

lpInput

Reserved for system use.

GetTransferOutInfo

Points to a DDGETTRANSFERSTATUSOUTINFO structure that contains the transfer status information.

Return value

DxGetTransferStatus returns DX_OK if it succeeds; otherwise, it returns one of the following error values:

DXERR_GENERIC
DXERR_OUTOFCAPS
DXERR_UNSUPPORTED

Remarks

The driver identifies the bus master by supplying the transfer ID in the DDGETTRANSFERSTATUSOUTINFO structure. The transfer ID for each bus master is originally supplied by DirectDraw in the dwTransferID member of the DDTRANSFERININFO structure. DirectDraw passes a pointer to DDTRANSFERININFO in its call to the driver's DxTransfer function.

Requirements

Target platform

Desktop

Header

Dxmini.h (include Dxmini.h)

See also

DDGETTRANSFERSTATUSOUTINFO
DDTRANSFERININFO
DxTransfer

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft