IRU:WaitRecvTransfer

From 3dbrew
Revision as of 21:07, 11 August 2025 by Made (talk | contribs) (Correct the description to the actual behaviour of the command.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00060000]

Response

Index Word Description
0 Header code
1 Result code
2 Total amount of newly received data, loaded from the same field which IRU:GetRecvTransferCount uses.

Description

This command cancels the current data-receive transfer and waits for the Transfer State to be Ready before returning. The response includes the amount of data already written to the shared memory by the time the transfer is cancelled. The event returned by GetRecvFinishedEvent will not be signalled when the transfer is cancelled this way.