Skip to content

IWbemLocator::ConnectServer API signature change breaks nullable BSTR parameters in v0.59 #3444

@takanara1994

Description

@takanara1994

Summary

v 0.58

windows::Win32::System::Wmi::IWbemLocator
pub unsafe fn ConnectServer<P0, P1, P2, P3, P4, P5>(&self, strnetworkresource: P0, struser: P1, strpassword: P2, strlocale: P3, lsecurityflags: i32, strauthority: P4, pctx: P5) -> windows_core::Result<IWbemServices>
where
    P0: windows_core::Param<windows_core::BSTR>,
    P1: windows_core::Param<windows_core::BSTR>,
    P2: windows_core::Param<windows_core::BSTR>,
    P3: windows_core::Param<windows_core::BSTR>,
    P4: windows_core::Param<windows_core::BSTR>,
    P5: windows_core::Param<IWbemContext>,

v 0.59

pub unsafe fn ConnectServer<P6>(&self, strnetworkresource: &windows_core::BSTR, struser: &windows_core::BSTR, strpassword: &windows_core::BSTR, strlocale: &windows_core::BSTR, lsecurityflags: i32, strauthority: &windows_core::BSTR, pctx: P6) -> windows_core::Result<IWbemServices>
where
    P6: windows_core::Param<IWbemContext>,

struser,strpassword,strlocale,strauthority nullable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions