pub trait IWMMutualExclusion2_Impl: Sized + IWMMutualExclusion_Impl {
// Required methods
fn GetName(&self, pwszname: PWSTR, pcchname: *mut u16) -> Result<()>;
fn SetName(&self, pwszname: &PCWSTR) -> Result<()>;
fn GetRecordCount(&self) -> Result<u16>;
fn AddRecord(&self) -> Result<()>;
fn RemoveRecord(&self, wrecordnumber: u16) -> Result<()>;
fn GetRecordName(
&self,
wrecordnumber: u16,
pwszrecordname: PWSTR,
pcchrecordname: *mut u16,
) -> Result<()>;
fn SetRecordName(
&self,
wrecordnumber: u16,
pwszrecordname: &PCWSTR,
) -> Result<()>;
fn GetStreamsForRecord(
&self,
wrecordnumber: u16,
pwstreamnumarray: *mut u16,
pcstreams: *mut u16,
) -> Result<()>;
fn AddStreamForRecord(
&self,
wrecordnumber: u16,
wstreamnumber: u16,
) -> Result<()>;
fn RemoveStreamForRecord(
&self,
wrecordnumber: u16,
wstreamnumber: u16,
) -> Result<()>;
}
Required Methods§
fn GetName(&self, pwszname: PWSTR, pcchname: *mut u16) -> Result<()>
fn SetName(&self, pwszname: &PCWSTR) -> Result<()>
fn GetRecordCount(&self) -> Result<u16>
fn AddRecord(&self) -> Result<()>
fn RemoveRecord(&self, wrecordnumber: u16) -> Result<()>
fn GetRecordName( &self, wrecordnumber: u16, pwszrecordname: PWSTR, pcchrecordname: *mut u16, ) -> Result<()>
fn SetRecordName( &self, wrecordnumber: u16, pwszrecordname: &PCWSTR, ) -> Result<()>
fn GetStreamsForRecord( &self, wrecordnumber: u16, pwstreamnumarray: *mut u16, pcstreams: *mut u16, ) -> Result<()>
fn AddStreamForRecord( &self, wrecordnumber: u16, wstreamnumber: u16, ) -> Result<()>
fn RemoveStreamForRecord( &self, wrecordnumber: u16, wstreamnumber: u16, ) -> Result<()>
Object Safety§
This trait is not object safe.