Type Alias WSLPluginAPI_OnVMStopping

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

Called when the VM is about to stop. ‘Session’ is only valid during while the call is in progress.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.