Trait windows::Win32::System::Search::IConditionFactory2_Impl
pub trait IConditionFactory2_Impl: Sized + IConditionFactory_Impl {
// Required methods
fn CreateTrueFalse(
&self,
fval: BOOL,
cco: CONDITION_CREATION_OPTIONS,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn CreateNegation(
&self,
pcsub: Option<&ICondition>,
cco: CONDITION_CREATION_OPTIONS,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn CreateCompoundFromObjectArray(
&self,
ct: CONDITION_TYPE,
poasubs: Option<&IObjectArray>,
cco: CONDITION_CREATION_OPTIONS,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn CreateCompoundFromArray(
&self,
ct: CONDITION_TYPE,
ppcondsubs: *const Option<ICondition>,
csubs: u32,
cco: CONDITION_CREATION_OPTIONS,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn CreateStringLeaf(
&self,
propkey: *const PROPERTYKEY,
cop: CONDITION_OPERATION,
pszvalue: &PCWSTR,
pszlocalename: &PCWSTR,
cco: CONDITION_CREATION_OPTIONS,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn CreateIntegerLeaf(
&self,
propkey: *const PROPERTYKEY,
cop: CONDITION_OPERATION,
lvalue: i32,
cco: CONDITION_CREATION_OPTIONS,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn CreateBooleanLeaf(
&self,
propkey: *const PROPERTYKEY,
cop: CONDITION_OPERATION,
fvalue: BOOL,
cco: CONDITION_CREATION_OPTIONS,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn CreateLeaf(
&self,
propkey: *const PROPERTYKEY,
cop: CONDITION_OPERATION,
propvar: *const PROPVARIANT,
pszsemantictype: &PCWSTR,
pszlocalename: &PCWSTR,
ppropertynameterm: Option<&IRichChunk>,
poperationterm: Option<&IRichChunk>,
pvalueterm: Option<&IRichChunk>,
cco: CONDITION_CREATION_OPTIONS,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn ResolveCondition(
&self,
pc: Option<&ICondition>,
sqro: STRUCTURED_QUERY_RESOLVE_OPTION,
pstreferencetime: *const SYSTEMTIME,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
}
Required Methods§
fn CreateTrueFalse( &self, fval: BOOL, cco: CONDITION_CREATION_OPTIONS, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn CreateNegation( &self, pcsub: Option<&ICondition>, cco: CONDITION_CREATION_OPTIONS, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn CreateCompoundFromObjectArray( &self, ct: CONDITION_TYPE, poasubs: Option<&IObjectArray>, cco: CONDITION_CREATION_OPTIONS, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn CreateCompoundFromArray( &self, ct: CONDITION_TYPE, ppcondsubs: *const Option<ICondition>, csubs: u32, cco: CONDITION_CREATION_OPTIONS, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn CreateStringLeaf( &self, propkey: *const PROPERTYKEY, cop: CONDITION_OPERATION, pszvalue: &PCWSTR, pszlocalename: &PCWSTR, cco: CONDITION_CREATION_OPTIONS, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn CreateIntegerLeaf( &self, propkey: *const PROPERTYKEY, cop: CONDITION_OPERATION, lvalue: i32, cco: CONDITION_CREATION_OPTIONS, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn CreateBooleanLeaf( &self, propkey: *const PROPERTYKEY, cop: CONDITION_OPERATION, fvalue: BOOL, cco: CONDITION_CREATION_OPTIONS, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn CreateLeaf( &self, propkey: *const PROPERTYKEY, cop: CONDITION_OPERATION, propvar: *const PROPVARIANT, pszsemantictype: &PCWSTR, pszlocalename: &PCWSTR, ppropertynameterm: Option<&IRichChunk>, poperationterm: Option<&IRichChunk>, pvalueterm: Option<&IRichChunk>, cco: CONDITION_CREATION_OPTIONS, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn ResolveCondition( &self, pc: Option<&ICondition>, sqro: STRUCTURED_QUERY_RESOLVE_OPTION, pstreferencetime: *const SYSTEMTIME, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
Object Safety§
This trait is not object safe.