pub type WSLPluginAPI_PluginError = Option<unsafe extern "C" fn(UserMessage: PCWSTR) -> HRESULT>;
Expand description
Set the error message to display to the user if the VM or distribution creation fails. Must be called synchronously in either OnVMStarted() or OnDistributionStarted().
Aliased Type§
pub enum WSLPluginAPI_PluginError {
None,
Some(unsafe extern "C" fn(PCWSTR) -> HRESULT),
}