windows::Win32::System::SettingsManagementInfrastructure

Trait ISettingsEngine_Impl

pub trait ISettingsEngine_Impl: IUnknownImpl {
Show 16 methods // Required methods fn GetNamespaces( &self, flags: WcmNamespaceEnumerationFlags, reserved: *const c_void, ) -> Result<IItemEnumerator>; fn GetNamespace( &self, settingsid: Ref<'_, ISettingsIdentity>, access: WcmNamespaceAccess, reserved: *const c_void, ) -> Result<ISettingsNamespace>; fn GetErrorDescription(&self, hresult: i32) -> Result<BSTR>; fn CreateSettingsIdentity(&self) -> Result<ISettingsIdentity>; fn GetStoreStatus(&self, reserved: *const c_void) -> Result<WcmUserStatus>; fn LoadStore(&self, flags: u32) -> Result<()>; fn UnloadStore(&self, reserved: *const c_void) -> Result<()>; fn RegisterNamespace( &self, settingsid: Ref<'_, ISettingsIdentity>, stream: Ref<'_, IStream>, pushsettings: BOOL, ) -> Result<VARIANT>; fn UnregisterNamespace( &self, settingsid: Ref<'_, ISettingsIdentity>, removesettings: BOOL, ) -> Result<()>; fn CreateTargetInfo(&self) -> Result<ITargetInfo>; fn GetTargetInfo(&self) -> Result<ITargetInfo>; fn SetTargetInfo(&self, target: Ref<'_, ITargetInfo>) -> Result<()>; fn CreateSettingsContext( &self, flags: u32, reserved: *const c_void, ) -> Result<ISettingsContext>; fn SetSettingsContext( &self, settingscontext: Ref<'_, ISettingsContext>, ) -> Result<()>; fn ApplySettingsContext( &self, settingscontext: Ref<'_, ISettingsContext>, pppwzidentities: *mut *mut PWSTR, ) -> Result<usize>; fn GetSettingsContext(&self) -> Result<ISettingsContext>;
}

Required Methods§

fn GetNamespaces( &self, flags: WcmNamespaceEnumerationFlags, reserved: *const c_void, ) -> Result<IItemEnumerator>

fn GetNamespace( &self, settingsid: Ref<'_, ISettingsIdentity>, access: WcmNamespaceAccess, reserved: *const c_void, ) -> Result<ISettingsNamespace>

fn GetErrorDescription(&self, hresult: i32) -> Result<BSTR>

fn CreateSettingsIdentity(&self) -> Result<ISettingsIdentity>

fn GetStoreStatus(&self, reserved: *const c_void) -> Result<WcmUserStatus>

fn LoadStore(&self, flags: u32) -> Result<()>

fn UnloadStore(&self, reserved: *const c_void) -> Result<()>

fn RegisterNamespace( &self, settingsid: Ref<'_, ISettingsIdentity>, stream: Ref<'_, IStream>, pushsettings: BOOL, ) -> Result<VARIANT>

fn UnregisterNamespace( &self, settingsid: Ref<'_, ISettingsIdentity>, removesettings: BOOL, ) -> Result<()>

fn CreateTargetInfo(&self) -> Result<ITargetInfo>

fn GetTargetInfo(&self) -> Result<ITargetInfo>

fn SetTargetInfo(&self, target: Ref<'_, ITargetInfo>) -> Result<()>

fn CreateSettingsContext( &self, flags: u32, reserved: *const c_void, ) -> Result<ISettingsContext>

fn SetSettingsContext( &self, settingscontext: Ref<'_, ISettingsContext>, ) -> Result<()>

fn ApplySettingsContext( &self, settingscontext: Ref<'_, ISettingsContext>, pppwzidentities: *mut *mut PWSTR, ) -> Result<usize>

fn GetSettingsContext(&self) -> Result<ISettingsContext>

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§