windows::Win32::System::Contacts

Trait IContactProperties_Impl

pub trait IContactProperties_Impl: IUnknownImpl {
Show 13 methods // Required methods fn GetString( &self, pszpropertyname: &PCWSTR, dwflags: u32, pszvalue: PWSTR, cchvalue: u32, pdwcchpropertyvaluerequired: *mut u32, ) -> Result<()>; fn GetDate( &self, pszpropertyname: &PCWSTR, dwflags: u32, pftdatetime: *mut FILETIME, ) -> Result<()>; fn GetBinary( &self, pszpropertyname: &PCWSTR, dwflags: u32, pszcontenttype: PWSTR, cchcontenttype: u32, pdwcchcontenttyperequired: *mut u32, ppstream: OutRef<'_, IStream>, ) -> Result<()>; fn GetLabels( &self, pszarrayelementname: &PCWSTR, dwflags: u32, pszlabels: PWSTR, cchlabels: u32, pdwcchlabelsrequired: *mut u32, ) -> Result<()>; fn SetString( &self, pszpropertyname: &PCWSTR, dwflags: u32, pszvalue: &PCWSTR, ) -> Result<()>; fn SetDate( &self, pszpropertyname: &PCWSTR, dwflags: u32, ftdatetime: &FILETIME, ) -> Result<()>; fn SetBinary( &self, pszpropertyname: &PCWSTR, dwflags: u32, pszcontenttype: &PCWSTR, pstream: Ref<'_, IStream>, ) -> Result<()>; fn SetLabels( &self, pszarrayelementname: &PCWSTR, dwflags: u32, dwlabelcount: u32, ppszlabels: *const PCWSTR, ) -> Result<()>; fn CreateArrayNode( &self, pszarrayname: &PCWSTR, dwflags: u32, fappend: BOOL, psznewarrayelementname: PWSTR, cchnewarrayelementname: u32, pdwcchnewarrayelementnamerequired: *mut u32, ) -> Result<()>; fn DeleteProperty( &self, pszpropertyname: &PCWSTR, dwflags: u32, ) -> Result<()>; fn DeleteArrayNode( &self, pszarrayelementname: &PCWSTR, dwflags: u32, ) -> Result<()>; fn DeleteLabels( &self, pszarrayelementname: &PCWSTR, dwflags: u32, ) -> Result<()>; fn GetPropertyCollection( &self, pppropertycollection: OutRef<'_, IContactPropertyCollection>, dwflags: u32, pszmultivaluename: &PCWSTR, dwlabelcount: u32, ppszlabels: *const PCWSTR, fanylabelmatches: BOOL, ) -> Result<()>;
}

Required Methods§

fn GetString( &self, pszpropertyname: &PCWSTR, dwflags: u32, pszvalue: PWSTR, cchvalue: u32, pdwcchpropertyvaluerequired: *mut u32, ) -> Result<()>

fn GetDate( &self, pszpropertyname: &PCWSTR, dwflags: u32, pftdatetime: *mut FILETIME, ) -> Result<()>

fn GetBinary( &self, pszpropertyname: &PCWSTR, dwflags: u32, pszcontenttype: PWSTR, cchcontenttype: u32, pdwcchcontenttyperequired: *mut u32, ppstream: OutRef<'_, IStream>, ) -> Result<()>

fn GetLabels( &self, pszarrayelementname: &PCWSTR, dwflags: u32, pszlabels: PWSTR, cchlabels: u32, pdwcchlabelsrequired: *mut u32, ) -> Result<()>

fn SetString( &self, pszpropertyname: &PCWSTR, dwflags: u32, pszvalue: &PCWSTR, ) -> Result<()>

fn SetDate( &self, pszpropertyname: &PCWSTR, dwflags: u32, ftdatetime: &FILETIME, ) -> Result<()>

fn SetBinary( &self, pszpropertyname: &PCWSTR, dwflags: u32, pszcontenttype: &PCWSTR, pstream: Ref<'_, IStream>, ) -> Result<()>

fn SetLabels( &self, pszarrayelementname: &PCWSTR, dwflags: u32, dwlabelcount: u32, ppszlabels: *const PCWSTR, ) -> Result<()>

fn CreateArrayNode( &self, pszarrayname: &PCWSTR, dwflags: u32, fappend: BOOL, psznewarrayelementname: PWSTR, cchnewarrayelementname: u32, pdwcchnewarrayelementnamerequired: *mut u32, ) -> Result<()>

fn DeleteProperty(&self, pszpropertyname: &PCWSTR, dwflags: u32) -> Result<()>

fn DeleteArrayNode( &self, pszarrayelementname: &PCWSTR, dwflags: u32, ) -> Result<()>

fn DeleteLabels(&self, pszarrayelementname: &PCWSTR, dwflags: u32) -> Result<()>

fn GetPropertyCollection( &self, pppropertycollection: OutRef<'_, IContactPropertyCollection>, dwflags: u32, pszmultivaluename: &PCWSTR, dwlabelcount: u32, ppszlabels: *const PCWSTR, fanylabelmatches: BOOL, ) -> 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§