Edit

IDStorageQueue::EnqueueStatus method (dstorage.h)

Enqueues a status write. The status write happens when all requests before the status write entry complete. If there were failure(s) since the previous status write entry, then the DSTORAGE_ERROR_FIRST_FAILURE::HResult of the enqueued status entry stores the failure code of the first failed request in the enqueue order.

If there are no free entries in the queue, then the enqueue operation blocks until one becomes available.

Syntax

void EnqueueStatus(
  IDStorageStatusArray *statusArray,
  UINT32               index
);

Parameters

statusArray

An IDStorageStatusArray object.

index

Index of the status entry in the IDStorageStatusArray object to receive the status.

Return value

None

Requirements

   
Header dstorage.h