Skip to main content

WSLPluginAPI_OnVMStopping

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) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.