windows::Win32::System::Search

Trait ISchemaProvider_Impl

pub trait ISchemaProvider_Impl: IUnknownImpl {
    // Required methods
    fn Entities(
        &self,
        riid: *const GUID,
        pentities: *mut *mut c_void,
    ) -> Result<()>;
    fn RootEntity(&self) -> Result<IEntity>;
    fn GetEntity(&self, pszentityname: &PCWSTR) -> Result<IEntity>;
    fn MetaData(
        &self,
        riid: *const GUID,
        pmetadata: *mut *mut c_void,
    ) -> Result<()>;
    fn Localize(
        &self,
        lcid: u32,
        pschemalocalizersupport: Ref<'_, ISchemaLocalizerSupport>,
    ) -> Result<()>;
    fn SaveBinary(&self, pszschemabinarypath: &PCWSTR) -> Result<()>;
    fn LookupAuthoredNamedEntity(
        &self,
        pentity: Ref<'_, IEntity>,
        pszinputstring: &PCWSTR,
        ptokencollection: Ref<'_, ITokenCollection>,
        ctokensbegin: u32,
        pctokenslength: *mut u32,
        ppszvalue: *mut PWSTR,
    ) -> Result<()>;
}

Required Methods§

fn Entities(&self, riid: *const GUID, pentities: *mut *mut c_void) -> Result<()>

fn RootEntity(&self) -> Result<IEntity>

fn GetEntity(&self, pszentityname: &PCWSTR) -> Result<IEntity>

fn MetaData(&self, riid: *const GUID, pmetadata: *mut *mut c_void) -> Result<()>

fn Localize( &self, lcid: u32, pschemalocalizersupport: Ref<'_, ISchemaLocalizerSupport>, ) -> Result<()>

fn SaveBinary(&self, pszschemabinarypath: &PCWSTR) -> Result<()>

fn LookupAuthoredNamedEntity( &self, pentity: Ref<'_, IEntity>, pszinputstring: &PCWSTR, ptokencollection: Ref<'_, ITokenCollection>, ctokensbegin: u32, pctokenslength: *mut u32, ppszvalue: *mut PWSTR, ) -> 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§