pub type WSLPluginAPI_ExecuteBinaryInDistribution = Option<unsafe extern "C" fn(Session: WSLSessionId, Distribution: *const GUID, Path: PCSTR, Arguments: *mut PCSTR, Socket: *mut SOCKET) -> HRESULT>;
Expand description
Execute a program in a user distribution On success, ‘Socket’ is connected to stdin & stdout (stderr goes to dmesg) // ‘Arguments’ is expected to be NULL terminated
Aliased Type§
pub enum WSLPluginAPI_ExecuteBinaryInDistribution {
None,
Some(unsafe extern "C" fn(u32, *const GUID, PCSTR, *mut PCSTR, *mut SOCKET) -> HRESULT),
}