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) -> HRESULT),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(*const WSLSessionInformation, *const WSLVmCreationSettings) -> HRESULT)
Some value of type T
.