FSGetAsyncResult

Syntax

#include <cafe/fs.h>

struct FSAsyncResult
{
    FSAsyncParams       userParams;
    FSMessage           ioMsg;

    FSClient            *client;
    FSCmdBlock          *block;
    FSStatus            status;
};

FSAsyncResult* FSGetAsyncResult(FSMessage *ioMsg);

Parameters

ioMsg Pointer to the notification message.

Return Values

Pointer to an FSAsyncResult.

Description

Gets a pointer to the FSAsyncResult from the FSMessage. This function is used to discover the result of an asynchronous API call after the message notification is returned to FSAsyncParams.ioMsgQueue.

Do Not Call From

None.

See Also

File/Directory operations
FSAsyncParams

Revision History

2013/05/08 Automated cleanup pass.
2012/07/19 Readability and correctness cleanup.
2012/04/10 Fixed Description.
2012/02/27 Initial version.


CONFIDENTIAL