IMR_GetErrorStringLen

This function returns the length of the error string associated with a specified error code.

Function Header

IMRResult IMR_GetErrorStringLen(

IMRResult res,

int *str_len

);

Function Parameters

Field

Input/Output

Value or Description

res

Input

One of the library error codes.

str_len

Output

A pointer to an integer that will be filled with the length of the error string matching the specified error code (including the terminating NULL). This parameter must not be NULL.

Function Return Status

For a complete list of possible error codes, see Error Codes.

Status

Value or Description

IMR_RES_OK

The command finished successfully.

IMR_RES_UNKNOWN

The specified error code ‘res’ is not a known result code of the library.

Copyright © 2006-2013, Intel Corporation. All rights reserved.