windows::Win32::Networking::ActiveDirectory

Trait IPersistQuery_Impl

pub trait IPersistQuery_Impl: IPersist_Impl {
    // Required methods
    fn WriteString(
        &self,
        psection: &PCWSTR,
        pvaluename: &PCWSTR,
        pvalue: &PCWSTR,
    ) -> Result<()>;
    fn ReadString(
        &self,
        psection: &PCWSTR,
        pvaluename: &PCWSTR,
        pbuffer: PWSTR,
        cchbuffer: i32,
    ) -> Result<()>;
    fn WriteInt(
        &self,
        psection: &PCWSTR,
        pvaluename: &PCWSTR,
        value: i32,
    ) -> Result<()>;
    fn ReadInt(
        &self,
        psection: &PCWSTR,
        pvaluename: &PCWSTR,
        pvalue: *mut i32,
    ) -> Result<()>;
    fn WriteStruct(
        &self,
        psection: &PCWSTR,
        pvaluename: &PCWSTR,
        pstruct: *mut c_void,
        cbstruct: u32,
    ) -> Result<()>;
    fn ReadStruct(
        &self,
        psection: &PCWSTR,
        pvaluename: &PCWSTR,
        pstruct: *mut c_void,
        cbstruct: u32,
    ) -> Result<()>;
    fn Clear(&self) -> Result<()>;
}

Required Methods§

fn WriteString( &self, psection: &PCWSTR, pvaluename: &PCWSTR, pvalue: &PCWSTR, ) -> Result<()>

fn ReadString( &self, psection: &PCWSTR, pvaluename: &PCWSTR, pbuffer: PWSTR, cchbuffer: i32, ) -> Result<()>

fn WriteInt( &self, psection: &PCWSTR, pvaluename: &PCWSTR, value: i32, ) -> Result<()>

fn ReadInt( &self, psection: &PCWSTR, pvaluename: &PCWSTR, pvalue: *mut i32, ) -> Result<()>

fn WriteStruct( &self, psection: &PCWSTR, pvaluename: &PCWSTR, pstruct: *mut c_void, cbstruct: u32, ) -> Result<()>

fn ReadStruct( &self, psection: &PCWSTR, pvaluename: &PCWSTR, pstruct: *mut c_void, cbstruct: u32, ) -> Result<()>

fn Clear(&self) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§