This function initializes the library. It must be called before calling any other API function of this library.
Function Header
IMRResult IMR_Init(
IMRVersion *version,
char *ini_file
);
Function Parameters
Field |
Input/Output |
Value or Description |
version |
Output |
A pointer to a structure that will be filled with the library’s version. This parameter may be NULL if no version information is desired. |
ini_file |
Input |
A NULL-terminated string specifying the name of an INI file, which can be either absolute or relative to the directory from which the application is run. This parameter may be NULL, in which case the library will use its default settings. |
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_ALREADY_INITIALIZED |
The library has already been initialized. |
Copyright © 2006-2022, Intel Corporation. All rights reserved. |