pub struct IStorage(/* private fields */);Implementations§
Source§impl IStorage
impl IStorage
pub unsafe fn CreateStream<'a>( &self, pwcsname: impl IntoParam<'a, PWSTR>, grfmode: u32, reserved1: u32, reserved2: u32, ppstm: *mut Option<IStream>, ) -> HRESULT
pub unsafe fn OpenStream<'a>( &self, pwcsname: impl IntoParam<'a, PWSTR>, reserved1: *mut c_void, grfmode: u32, reserved2: u32, ppstm: *mut Option<IStream>, ) -> HRESULT
pub unsafe fn CreateStorage<'a>( &self, pwcsname: impl IntoParam<'a, PWSTR>, grfmode: u32, reserved1: u32, reserved2: u32, ppstg: *mut Option<IStorage>, ) -> HRESULT
pub unsafe fn OpenStorage<'a>( &self, pwcsname: impl IntoParam<'a, PWSTR>, pstgpriority: impl IntoParam<'a, IStorage>, grfmode: u32, snbexclude: *mut *mut u16, reserved: u32, ppstg: *mut Option<IStorage>, ) -> HRESULT
pub unsafe fn CopyTo<'a>( &self, ciidexclude: u32, rgiidexclude: *const Guid, snbexclude: *mut *mut u16, pstgdest: impl IntoParam<'a, IStorage>, ) -> HRESULT
pub unsafe fn MoveElementTo<'a>( &self, pwcsname: impl IntoParam<'a, PWSTR>, pstgdest: impl IntoParam<'a, IStorage>, pwcsnewname: impl IntoParam<'a, PWSTR>, grfflags: u32, ) -> HRESULT
pub unsafe fn Commit(&self, grfcommitflags: u32) -> HRESULT
pub unsafe fn Revert(&self) -> HRESULT
pub unsafe fn DestroyElement<'a>( &self, pwcsname: impl IntoParam<'a, PWSTR>, ) -> HRESULT
pub unsafe fn RenameElement<'a>( &self, pwcsoldname: impl IntoParam<'a, PWSTR>, pwcsnewname: impl IntoParam<'a, PWSTR>, ) -> HRESULT
pub unsafe fn SetElementTimes<'a>( &self, pwcsname: impl IntoParam<'a, PWSTR>, pctime: *const FILETIME, patime: *const FILETIME, pmtime: *const FILETIME, ) -> HRESULT
pub unsafe fn SetClass(&self, clsid: *const Guid) -> HRESULT
pub unsafe fn SetStateBits(&self, grfstatebits: u32, grfmask: u32) -> HRESULT
Trait Implementations§
Source§impl Interface for IStorage
impl Interface for IStorage
const IID: Guid
type Vtable = IStorage_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IStorage
impl<'a> IntoParam<'a, IUnknown> for &'a IStorage
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IStorage
impl<'a> IntoParam<'a, IUnknown> for IStorage
fn into_param(self) -> Param<'a, IUnknown>
impl Eq for IStorage
impl StructuralPartialEq for IStorage
Auto Trait Implementations§
impl Freeze for IStorage
impl RefUnwindSafe for IStorage
impl !Send for IStorage
impl !Sync for IStorage
impl Unpin for IStorage
impl UnwindSafe for IStorage
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more