PDX_GETTRANSFERSTATUS callback function (dxmini.h)

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

Syntax

PDX_GETTRANSFERSTATUS PdxGettransferstatus;

DWORD PdxGettransferstatus(
  PVOID unnamedParam1,
  PVOID unnamedParam2,
  PDDGETTRANSFEROUTINFO unnamedParam3
)
{...}

Parameters

unnamedParam1

Points to the miniport driver's device extension.

unnamedParam2

Reserved for system use.

unnamedParam3

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:

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

Requirement Value
Target Platform Desktop
Header dxmini.h (include Dxmini.h)

See also

DDGETTRANSFERSTATUSOUTINFO

DDTRANSFERININFO

DxTransfer