pub unsafe extern "C" fn LeapCreateConnection(
    pConfig: *const LEAP_CONNECTION_CONFIG,
    phConnection: *mut LEAP_CONNECTION
) -> eLeapRS
Expand description

\ingroup Functions Creates a new LEAP_CONNECTION object.

Pass the LEAP_CONNECTION pointer to LeapOpenConnection() to establish a connection to the Ultraleap Tracking Service; and to subsequent operations on the same connection.

@param pConfig The configuration to be used with the newly created connection. If pConfig is null, a connection is created with a default configuration. @param[out] phConnection Receives a pointer to the connection object, set to invalid on failure @returns The operation result code, a member of the eLeapRS enumeration. @since 3.0.0