Function UnlockFrontEnd

TMSi Data Acquisition SDK

 
TMS International BV

UnlockFrontEnd

BOOLEAN BOOLEAN APIENTRY UnlockFrontEnd(
void *Handle,
char *Key,
unsigned int *LengthKeyInBytes
);

Parameters

Handle
   
Handle of  the library
 Key
   
Array in which the transformed key is stored
LengthKeyInBytes
   
Length of the given array in bytes

Return Value

If successful this function returns TRUE, else FALSE. If the function returns FALSE, use GetErrorCode to get the error code.

Comments

This function is not supported by all frontends. The Open() function and GetRandomKey() function must have been called before. This function will send the given key to the frontend. If the function returns TRUE, the frontend is unlocked will respond to other commands.

Also see

GetRandomKey