windows::Win32::System::RemoteManagement

Function WSManCreateSession

pub unsafe fn WSManCreateSession<P1>(
    apihandle: WSMAN_API_HANDLE,
    connection: P1,
    flags: u32,
    serverauthenticationcredentials: Option<*const WSMAN_AUTHENTICATION_CREDENTIALS>,
    proxyinfo: Option<*const WSMAN_PROXY_INFO>,
    session: *mut WSMAN_SESSION_HANDLE,
) -> u32
where P1: Param<PCWSTR>,