Trait IRecordInfo_Impl
pub trait IRecordInfo_Impl: IUnknownImpl {
Show 16 methods
// Required methods
fn RecordInit(&self, pvnew: *mut c_void) -> Result<()>;
fn RecordClear(&self, pvexisting: *const c_void) -> Result<()>;
fn RecordCopy(
&self,
pvexisting: *const c_void,
pvnew: *mut c_void,
) -> Result<()>;
fn GetGuid(&self) -> Result<GUID>;
fn GetName(&self) -> Result<BSTR>;
fn GetSize(&self) -> Result<u32>;
fn GetTypeInfo(&self) -> Result<ITypeInfo>;
fn GetField(
&self,
pvdata: *const c_void,
szfieldname: &PCWSTR,
) -> Result<VARIANT>;
fn GetFieldNoCopy(
&self,
pvdata: *const c_void,
szfieldname: &PCWSTR,
pvarfield: *mut VARIANT,
ppvdatacarray: *mut *mut c_void,
) -> Result<()>;
fn PutField(
&self,
wflags: u32,
pvdata: *mut c_void,
szfieldname: &PCWSTR,
pvarfield: *const VARIANT,
) -> Result<()>;
fn PutFieldNoCopy(
&self,
wflags: u32,
pvdata: *mut c_void,
szfieldname: &PCWSTR,
pvarfield: *const VARIANT,
) -> Result<()>;
fn GetFieldNames(
&self,
pcnames: *mut u32,
rgbstrnames: *mut BSTR,
) -> Result<()>;
fn IsMatchingType(&self, precordinfo: Ref<'_, IRecordInfo>) -> BOOL;
fn RecordCreate(&self) -> *mut c_void;
fn RecordCreateCopy(
&self,
pvsource: *const c_void,
ppvdest: *mut *mut c_void,
) -> Result<()>;
fn RecordDestroy(&self, pvrecord: *const c_void) -> Result<()>;
}
Required Methods§
fn RecordInit(&self, pvnew: *mut c_void) -> Result<()>
fn RecordClear(&self, pvexisting: *const c_void) -> Result<()>
fn RecordCopy( &self, pvexisting: *const c_void, pvnew: *mut c_void, ) -> Result<()>
fn GetGuid(&self) -> Result<GUID>
fn GetName(&self) -> Result<BSTR>
fn GetSize(&self) -> Result<u32>
fn GetTypeInfo(&self) -> Result<ITypeInfo>
fn GetField( &self, pvdata: *const c_void, szfieldname: &PCWSTR, ) -> Result<VARIANT>
fn GetFieldNoCopy( &self, pvdata: *const c_void, szfieldname: &PCWSTR, pvarfield: *mut VARIANT, ppvdatacarray: *mut *mut c_void, ) -> Result<()>
fn PutField( &self, wflags: u32, pvdata: *mut c_void, szfieldname: &PCWSTR, pvarfield: *const VARIANT, ) -> Result<()>
fn PutFieldNoCopy( &self, wflags: u32, pvdata: *mut c_void, szfieldname: &PCWSTR, pvarfield: *const VARIANT, ) -> Result<()>
fn GetFieldNames(&self, pcnames: *mut u32, rgbstrnames: *mut BSTR) -> Result<()>
fn IsMatchingType(&self, precordinfo: Ref<'_, IRecordInfo>) -> BOOL
fn RecordCreate(&self) -> *mut c_void
fn RecordCreateCopy( &self, pvsource: *const c_void, ppvdest: *mut *mut c_void, ) -> Result<()>
fn RecordDestroy(&self, pvrecord: *const c_void) -> 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.