pub struct Folder(/* private fields */);
Implementations§
Source§impl Folder
impl Folder
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const Guid, rgsznames: *mut PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const Guid, lcid: u32, wflags: u16, pdispparams: *mut DISPPARAMS, pvarresult: *mut VARIANT, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32, ) -> Result<()>
pub unsafe fn get_Title(&self) -> Result<BSTR>
pub unsafe fn get_Application(&self) -> Result<IDispatch>
pub unsafe fn get_Parent(&self) -> Result<IDispatch>
pub unsafe fn get_ParentFolder(&self) -> Result<Folder>
pub unsafe fn Items(&self) -> Result<FolderItems>
pub unsafe fn ParseName<'a>( &self, bname: impl IntoParam<'a, BSTR>, ) -> Result<FolderItem>
pub unsafe fn NewFolder<'a>( &self, bname: impl IntoParam<'a, BSTR>, voptions: impl IntoParam<'a, VARIANT>, ) -> Result<()>
pub unsafe fn MoveHere<'a>( &self, vitem: impl IntoParam<'a, VARIANT>, voptions: impl IntoParam<'a, VARIANT>, ) -> Result<()>
pub unsafe fn CopyHere<'a>( &self, vitem: impl IntoParam<'a, VARIANT>, voptions: impl IntoParam<'a, VARIANT>, ) -> Result<()>
pub unsafe fn GetDetailsOf<'a>( &self, vitem: impl IntoParam<'a, VARIANT>, icolumn: i32, ) -> Result<BSTR>
Trait Implementations§
Source§impl Interface for Folder
impl Interface for Folder
const IID: Guid
type Vtable = Folder_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
impl Eq for Folder
impl StructuralPartialEq for Folder
Auto Trait Implementations§
impl Freeze for Folder
impl RefUnwindSafe for Folder
impl !Send for Folder
impl !Sync for Folder
impl Unpin for Folder
impl UnwindSafe for Folder
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.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.
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