SPB_TRANSFER_LIST_INIT function (spb.h)

The SPB_TRANSFER_LIST_INIT function initializes an SPB_TRANSFER_LIST structure.

Syntax

void SPB_TRANSFER_LIST_INIT(
  [out] SPB_TRANSFER_LIST *TransferList,
  [in]  ULONG             TransferCount
);

Parameters

[out] TransferList

A pointer to the SPB_TRANSFER_LIST structure that is to be initialized.

[in] TransferCount

The number of entries in the transfer list. The function writes this value to the TransferCount member of the SPB_TRANSFER_LIST structure.

Return value

None

Remarks

To initialize the elements in the SPB_TRANSFER_LIST structure's Transfers array, use the SPB_TRANSFER_LIST_ENTRY_INIT_SIMPLE, SPB_TRANSFER_LIST_ENTRY_INIT_NON_PAGED, or SPB_TRANSFER_LIST_ENTRY_INIT_BUFFER_LIST function.

Requirements

Requirement Value
Target Platform Desktop
Header spb.h

See also