pub unsafe extern "C" fn LeapGetConnectionInfo(
    hConnection: LEAP_CONNECTION,
    pInfo: *mut LEAP_CONNECTION_INFO
) -> eLeapRS
Expand description

\ingroup Functions Retrieves status information about the specified connection.

Call LeapCreateConnection() to generate the handle for the connection; call LeapOpenConnection() to establish the connection; then call this function to check the connection status.

@param hConnection The handle of the connection of interest. Created by LeapCreateConnection. @param[out] pInfo A pointer to a buffer that receives additional connection information. One input, the size field of pInfo is the size of the buffer(i.e. the size of a LEAP_CONNECTION_INFO struct); On output, the size field of pInfo receives the size necessary to hold the entire information block. @returns The operation result code, a member of the eLeapRS enumeration. @since 3.0.0