LEAP_CONFIG_RESPONSE_EVENT

Type Alias LEAP_CONFIG_RESPONSE_EVENT 

Source
pub type LEAP_CONFIG_RESPONSE_EVENT = _LEAP_CONFIG_RESPONSE_EVENT;
Expand description

\ingroup Structs Contains the response to a configuration value request. Call LeapRequestConfigValue() to request a service config value. The value is fetched asynchronously since it requires a service transaction. LeapPollConnection() returns this event structure when the request has been processed. Use the requestID value to correlate the response to the originating request. @since 3.0.0

Aliased Type§

#[repr(C, packed(1))]
pub struct LEAP_CONFIG_RESPONSE_EVENT { pub requestID: u32, pub value: _LEAP_VARIANT, }

Fields§

§requestID: u32

An identifier for correlating the request and response. @since 3.0.0

§value: _LEAP_VARIANT

The configuration value retrieved from the service. Do not free any memory pointed to by this member. The value held is only valid until the next call to LeapPollConnection(). @since 3.0.0