__iew_fd_get_reason_code() – Get a reason code from FD context

The reason code identifies the nature of the problem. It is zero if the return code was zero, a valid reason code otherwise. Reason codes are in the format 0x1080gggg. gggg contains an information code.

The __iew_fd_get_reason_code() function returns fast data reason code which is stored in the FD context from previous API call.

Format

#include <__iew_api.h>
unsigned int __iew_fd_get_reason_code(_IEWFDContext *__context);

Parameters Descriptions

__context
FD context is created and returned by calling __iew_fd_open() and is used throughout the open session.

Returned Value

__iew_fd_get_reason_code() returns fast data access reason code.