Trait windows::Win32::Media::Speech::ISpeechObjectToken_Impl
pub trait ISpeechObjectToken_Impl: Sized + IDispatch_Impl {
Show 13 methods
// Required methods
fn Id(&self) -> Result<BSTR>;
fn DataKey(&self) -> Result<ISpeechDataKey>;
fn Category(&self) -> Result<ISpeechObjectTokenCategory>;
fn GetDescription(&self, locale: i32) -> Result<BSTR>;
fn SetId(
&self,
id: &BSTR,
categoryid: &BSTR,
createifnotexist: VARIANT_BOOL,
) -> Result<()>;
fn GetAttribute(&self, attributename: &BSTR) -> Result<BSTR>;
fn CreateInstance(
&self,
punkouter: Option<&IUnknown>,
clscontext: SpeechTokenContext,
) -> Result<IUnknown>;
fn Remove(&self, objectstorageclsid: &BSTR) -> Result<()>;
fn GetStorageFileName(
&self,
objectstorageclsid: &BSTR,
keyname: &BSTR,
filename: &BSTR,
folder: SpeechTokenShellFolder,
) -> Result<BSTR>;
fn RemoveStorageFileName(
&self,
objectstorageclsid: &BSTR,
keyname: &BSTR,
deletefile: VARIANT_BOOL,
) -> Result<()>;
fn IsUISupported(
&self,
typeofui: &BSTR,
extradata: *const VARIANT,
object: Option<&IUnknown>,
) -> Result<VARIANT_BOOL>;
fn DisplayUI(
&self,
hwnd: i32,
title: &BSTR,
typeofui: &BSTR,
extradata: *const VARIANT,
object: Option<&IUnknown>,
) -> Result<()>;
fn MatchesAttributes(&self, attributes: &BSTR) -> Result<VARIANT_BOOL>;
}
Required Methods§
fn Id(&self) -> Result<BSTR>
fn DataKey(&self) -> Result<ISpeechDataKey>
fn Category(&self) -> Result<ISpeechObjectTokenCategory>
fn GetDescription(&self, locale: i32) -> Result<BSTR>
fn SetId( &self, id: &BSTR, categoryid: &BSTR, createifnotexist: VARIANT_BOOL, ) -> Result<()>
fn GetAttribute(&self, attributename: &BSTR) -> Result<BSTR>
fn CreateInstance( &self, punkouter: Option<&IUnknown>, clscontext: SpeechTokenContext, ) -> Result<IUnknown>
fn Remove(&self, objectstorageclsid: &BSTR) -> Result<()>
fn GetStorageFileName( &self, objectstorageclsid: &BSTR, keyname: &BSTR, filename: &BSTR, folder: SpeechTokenShellFolder, ) -> Result<BSTR>
fn RemoveStorageFileName( &self, objectstorageclsid: &BSTR, keyname: &BSTR, deletefile: VARIANT_BOOL, ) -> Result<()>
fn IsUISupported( &self, typeofui: &BSTR, extradata: *const VARIANT, object: Option<&IUnknown>, ) -> Result<VARIANT_BOOL>
fn DisplayUI( &self, hwnd: i32, title: &BSTR, typeofui: &BSTR, extradata: *const VARIANT, object: Option<&IUnknown>, ) -> Result<()>
fn MatchesAttributes(&self, attributes: &BSTR) -> Result<VARIANT_BOOL>
Object Safety§
This trait is not object safe.