pub struct FolderItem(/* private fields */);
Implementations§
Source§impl FolderItem
impl FolderItem
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_Application(&self) -> Result<IDispatch>
pub unsafe fn get_Parent(&self) -> Result<IDispatch>
pub unsafe fn get_Name(&self) -> Result<BSTR>
pub unsafe fn put_Name<'a>(&self, bs: impl IntoParam<'a, BSTR>) -> Result<()>
pub unsafe fn get_Path(&self) -> Result<BSTR>
pub unsafe fn get_GetLink(&self) -> Result<IDispatch>
pub unsafe fn get_GetFolder(&self) -> Result<IDispatch>
pub unsafe fn get_IsLink(&self) -> Result<i16>
pub unsafe fn get_IsFolder(&self) -> Result<i16>
pub unsafe fn get_IsFileSystem(&self) -> Result<i16>
pub unsafe fn get_IsBrowsable(&self) -> Result<i16>
pub unsafe fn get_ModifyDate(&self) -> Result<f64>
pub unsafe fn put_ModifyDate(&self, dt: f64) -> Result<()>
pub unsafe fn get_Size(&self) -> Result<i32>
pub unsafe fn get_Type(&self) -> Result<BSTR>
pub unsafe fn Verbs(&self) -> Result<FolderItemVerbs>
pub unsafe fn InvokeVerb<'a>( &self, vverb: impl IntoParam<'a, VARIANT>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for FolderItem
impl Clone for FolderItem
Source§fn clone(&self) -> FolderItem
fn clone(&self) -> FolderItem
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FolderItem
impl Debug for FolderItem
Source§impl From<&FolderItem> for IDispatch
impl From<&FolderItem> for IDispatch
Source§fn from(value: &FolderItem) -> Self
fn from(value: &FolderItem) -> Self
Converts to this type from the input type.
Source§impl From<&FolderItem> for IUnknown
impl From<&FolderItem> for IUnknown
Source§fn from(value: &FolderItem) -> Self
fn from(value: &FolderItem) -> Self
Converts to this type from the input type.
Source§impl From<&FolderItem2> for FolderItem
impl From<&FolderItem2> for FolderItem
Source§fn from(value: &FolderItem2) -> Self
fn from(value: &FolderItem2) -> Self
Converts to this type from the input type.
Source§impl From<FolderItem> for IDispatch
impl From<FolderItem> for IDispatch
Source§fn from(value: FolderItem) -> Self
fn from(value: FolderItem) -> Self
Converts to this type from the input type.
Source§impl From<FolderItem> for IUnknown
impl From<FolderItem> for IUnknown
Source§fn from(value: FolderItem) -> Self
fn from(value: FolderItem) -> Self
Converts to this type from the input type.
Source§impl From<FolderItem2> for FolderItem
impl From<FolderItem2> for FolderItem
Source§fn from(value: FolderItem2) -> Self
fn from(value: FolderItem2) -> Self
Converts to this type from the input type.
Source§impl Interface for FolderItem
impl Interface for FolderItem
const IID: Guid
type Vtable = FolderItem_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
Source§impl PartialEq for FolderItem
impl PartialEq for FolderItem
impl Eq for FolderItem
impl StructuralPartialEq for FolderItem
Auto Trait Implementations§
impl Freeze for FolderItem
impl RefUnwindSafe for FolderItem
impl !Send for FolderItem
impl !Sync for FolderItem
impl Unpin for FolderItem
impl UnwindSafe for FolderItem
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