Function LibraryInit

TMSi Data Acquisition SDK

 
TMS International BV

LibraryInit

HANDLE APIENTRY LibraryInit( 
TMSiConnectionType GivenConnectionType,
int *ErrorCode )

Parameters

GivenConnectionType

    Chosen connection type (WLAN, USB, Bluetooth)

ErrorCode

    When an error occurs, this code contains the cause of the error.

Return Value

If successful this function returns the handle to the library. If unsuccessful returns INVALID_HANDLE_VALUE, and the ErrorCode parameter contains the error code.

Comments

This is the first function to call after the TMSiSDK.dll is loaded and all function pointers are loaded. If the returned handle is no longer needed it can be released using the LibraryExit function. 

Also see

Close, LibraryExit