User's Manual

13
4-1 OpenFunKeyLib
[Function]
This opens the Function Key API service.
[Format]
int OpenFunKeyLib(char *FunKeyControlVersion)
[Argument]
uchar *FunKeyControlVersion get EC version.
[Return Value]
If opening service was successful, the return SV_ERROR_SUCCESS value, If there is can’t
found EC control, the SV_ERROR_FAILED_NO_FOUND_DEVICE are returned, if return
SV_ERROR_FAIL the service can’t form EC control get return value.
[Explanation]
Before using an API function other than this function, it is necessary that this function be
executed first.
[Example]
char HIDVer[100];
If(OpenFunKeyLib(HIDVer) == SV_ERROR_SUCCESS)
//Normal Processing
Printf(HIDVer);
else
//Error Processing