pub struct IStorage(/* private fields */);Implementations§
Source§impl IStorage
impl IStorage
pub unsafe fn CreateStream<'a, T0__: IntoParam<'a, PWSTR>>( &self, pwcsname: T0__, grfmode: u32, reserved1: u32, reserved2: u32, ppstm: *mut Option<IStream>, ) -> ErrorCode
pub unsafe fn OpenStream<'a, T0__: IntoParam<'a, PWSTR>>( &self, pwcsname: T0__, reserved1: *mut c_void, grfmode: u32, reserved2: u32, ppstm: *mut Option<IStream>, ) -> ErrorCode
pub unsafe fn CreateStorage<'a, T0__: IntoParam<'a, PWSTR>>( &self, pwcsname: T0__, grfmode: u32, reserved1: u32, reserved2: u32, ppstg: *mut Option<IStorage>, ) -> ErrorCode
pub unsafe fn OpenStorage<'a, T0__: IntoParam<'a, PWSTR>, T1__: IntoParam<'a, IStorage>>( &self, pwcsname: T0__, pstgpriority: T1__, grfmode: u32, snbexclude: *mut *mut u16, reserved: u32, ppstg: *mut Option<IStorage>, ) -> ErrorCode
pub unsafe fn CopyTo<'a, T3__: IntoParam<'a, IStorage>>( &self, ciidexclude: u32, rgiidexclude: *const Guid, snbexclude: *mut *mut u16, pstgdest: T3__, ) -> ErrorCode
pub unsafe fn MoveElementTo<'a, T0__: IntoParam<'a, PWSTR>, T1__: IntoParam<'a, IStorage>, T2__: IntoParam<'a, PWSTR>>( &self, pwcsname: T0__, pstgdest: T1__, pwcsnewname: T2__, grfflags: u32, ) -> ErrorCode
pub unsafe fn Commit(&self, grfcommitflags: u32) -> ErrorCode
pub unsafe fn Revert(&self) -> ErrorCode
pub unsafe fn DestroyElement<'a, T0__: IntoParam<'a, PWSTR>>( &self, pwcsname: T0__, ) -> ErrorCode
pub unsafe fn RenameElement<'a, T0__: IntoParam<'a, PWSTR>, T1__: IntoParam<'a, PWSTR>>( &self, pwcsoldname: T0__, pwcsnewname: T1__, ) -> ErrorCode
pub unsafe fn SetElementTimes<'a, T0__: IntoParam<'a, PWSTR>>( &self, pwcsname: T0__, pctime: *const FILETIME, patime: *const FILETIME, pmtime: *const FILETIME, ) -> ErrorCode
pub unsafe fn SetClass(&self, clsid: *const Guid) -> ErrorCode
pub unsafe fn SetStateBits(&self, grfstatebits: u32, grfmask: u32) -> ErrorCode
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