Trait windows::Win32::System::Com::StructuredStorage::IStorage_Impl

pub trait IStorage_Impl: Sized {
Show 15 methods // Required methods fn CreateStream( &self, pwcsname: &PCWSTR, grfmode: STGM, reserved1: u32, reserved2: u32 ) -> Result<IStream>; fn OpenStream( &self, pwcsname: &PCWSTR, reserved1: *const c_void, grfmode: STGM, reserved2: u32 ) -> Result<IStream>; fn CreateStorage( &self, pwcsname: &PCWSTR, grfmode: STGM, reserved1: u32, reserved2: u32 ) -> Result<IStorage>; fn OpenStorage( &self, pwcsname: &PCWSTR, pstgpriority: Option<&IStorage>, grfmode: STGM, snbexclude: *const *const u16, reserved: u32 ) -> Result<IStorage>; fn CopyTo( &self, ciidexclude: u32, rgiidexclude: *const GUID, snbexclude: *const *const u16, pstgdest: Option<&IStorage> ) -> Result<()>; fn MoveElementTo( &self, pwcsname: &PCWSTR, pstgdest: Option<&IStorage>, pwcsnewname: &PCWSTR, grfflags: &STGMOVE ) -> Result<()>; fn Commit(&self, grfcommitflags: u32) -> Result<()>; fn Revert(&self) -> Result<()>; fn EnumElements( &self, reserved1: u32, reserved2: *const c_void, reserved3: u32 ) -> Result<IEnumSTATSTG>; fn DestroyElement(&self, pwcsname: &PCWSTR) -> Result<()>; fn RenameElement( &self, pwcsoldname: &PCWSTR, pwcsnewname: &PCWSTR ) -> Result<()>; fn SetElementTimes( &self, pwcsname: &PCWSTR, pctime: *const FILETIME, patime: *const FILETIME, pmtime: *const FILETIME ) -> Result<()>; fn SetClass(&self, clsid: *const GUID) -> Result<()>; fn SetStateBits(&self, grfstatebits: u32, grfmask: u32) -> Result<()>; fn Stat(&self, pstatstg: *mut STATSTG, grfstatflag: u32) -> Result<()>;
}

Required Methods§

fn CreateStream( &self, pwcsname: &PCWSTR, grfmode: STGM, reserved1: u32, reserved2: u32 ) -> Result<IStream>

fn OpenStream( &self, pwcsname: &PCWSTR, reserved1: *const c_void, grfmode: STGM, reserved2: u32 ) -> Result<IStream>

fn CreateStorage( &self, pwcsname: &PCWSTR, grfmode: STGM, reserved1: u32, reserved2: u32 ) -> Result<IStorage>

fn OpenStorage( &self, pwcsname: &PCWSTR, pstgpriority: Option<&IStorage>, grfmode: STGM, snbexclude: *const *const u16, reserved: u32 ) -> Result<IStorage>

fn CopyTo( &self, ciidexclude: u32, rgiidexclude: *const GUID, snbexclude: *const *const u16, pstgdest: Option<&IStorage> ) -> Result<()>

fn MoveElementTo( &self, pwcsname: &PCWSTR, pstgdest: Option<&IStorage>, pwcsnewname: &PCWSTR, grfflags: &STGMOVE ) -> Result<()>

fn Commit(&self, grfcommitflags: u32) -> Result<()>

fn Revert(&self) -> Result<()>

fn EnumElements( &self, reserved1: u32, reserved2: *const c_void, reserved3: u32 ) -> Result<IEnumSTATSTG>

fn DestroyElement(&self, pwcsname: &PCWSTR) -> Result<()>

fn RenameElement( &self, pwcsoldname: &PCWSTR, pwcsnewname: &PCWSTR ) -> Result<()>

fn SetElementTimes( &self, pwcsname: &PCWSTR, pctime: *const FILETIME, patime: *const FILETIME, pmtime: *const FILETIME ) -> Result<()>

fn SetClass(&self, clsid: *const GUID) -> Result<()>

fn SetStateBits(&self, grfstatebits: u32, grfmask: u32) -> Result<()>

fn Stat(&self, pstatstg: *mut STATSTG, grfstatflag: u32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§