Skip to main content

WSLPluginAPI_OnVMStarted

Type Alias WSLPluginAPI_OnVMStarted 

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

Called when the VM has started. ‘Session’ and ‘UserSettings’ are only valid during while the call is in progress.

Aliased Type§

pub enum WSLPluginAPI_OnVMStarted {
    None,
    Some(unsafe extern "C" fn(*const WSLSessionInformation, *const WSLVmCreationSettings) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.