pub type WSLPluginAPI_OnDistributionRegistered = Option<unsafe extern "C" fn(Session: *const WSLSessionInformation, Distribution: *const WslOfflineDistributionInformation) -> HRESULT>;Expand description
Called when a distribution is registered or unregisteed. Returning failure will NOT cause the operation to fail.
Aliased Type§
pub enum WSLPluginAPI_OnDistributionRegistered {
None,
Some(unsafe extern "C" fn(*const WSLSessionInformation, *const WslOfflineDistributionInformation) -> HRESULT),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*const WSLSessionInformation, *const WslOfflineDistributionInformation) -> HRESULT)
Some value of type T.