IMR_GetErrorString

This function returns the error string associated with the specified error code.

Function Header

IMRResult IMR_GetErrorString(

IMRResult res,

char *str

);

 

Function Parameters

Field

Input/Output

Value or Description

res

Input

One of the library error codes.

str

Output

A pointer to a buffer that will be filled with the error string matching the specified error code (including the terminating NULL). The buffer must long enough for the string. 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-2022, Intel Corporation. All rights reserved.