Type Alias WSLPluginAPI_OnDistributionStarted

Source
pub type WSLPluginAPI_OnDistributionStarted = Option<unsafe extern "C" fn(Session: *const WSLSessionInformation, Distribution: *const WSLDistributionInformation) -> HRESULT>;
Expand description

Called when a distribution has started. ‘Session’ and ‘Distribution’ is only valid during while the call is in progress.

Aliased Type§

pub enum WSLPluginAPI_OnDistributionStarted {
    None,
    Some(unsafe extern "C" fn(*const WSLSessionInformation, *const WSLDistributionInformation) -> HRESULT),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const WSLSessionInformation, *const WSLDistributionInformation) -> HRESULT)

Some value of type T.