pub struct FolderItem2(/* private fields */);
Implementations§
Source§impl FolderItem2
impl FolderItem2
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<()>
pub unsafe fn InvokeVerbEx<'a>( &self, vverb: impl IntoParam<'a, VARIANT>, vargs: impl IntoParam<'a, VARIANT>, ) -> Result<()>
pub unsafe fn ExtendedProperty<'a>( &self, bstrpropname: impl IntoParam<'a, BSTR>, ) -> Result<VARIANT>
Trait Implementations§
Source§impl Clone for FolderItem2
impl Clone for FolderItem2
Source§fn clone(&self) -> FolderItem2
fn clone(&self) -> FolderItem2
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 FolderItem2
impl Debug for FolderItem2
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<&FolderItem2> for IDispatch
impl From<&FolderItem2> for IDispatch
Source§fn from(value: &FolderItem2) -> Self
fn from(value: &FolderItem2) -> Self
Converts to this type from the input type.
Source§impl From<&FolderItem2> for IUnknown
impl From<&FolderItem2> for IUnknown
Source§fn from(value: &FolderItem2) -> Self
fn from(value: &FolderItem2) -> 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<FolderItem2> for IDispatch
impl From<FolderItem2> for IDispatch
Source§fn from(value: FolderItem2) -> Self
fn from(value: FolderItem2) -> Self
Converts to this type from the input type.
Source§impl From<FolderItem2> for IUnknown
impl From<FolderItem2> for IUnknown
Source§fn from(value: FolderItem2) -> Self
fn from(value: FolderItem2) -> Self
Converts to this type from the input type.
Source§impl Interface for FolderItem2
impl Interface for FolderItem2
const IID: Guid
type Vtable = FolderItem2_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 FolderItem2
impl PartialEq for FolderItem2
impl Eq for FolderItem2
impl StructuralPartialEq for FolderItem2
Auto Trait Implementations§
impl Freeze for FolderItem2
impl RefUnwindSafe for FolderItem2
impl !Send for FolderItem2
impl !Sync for FolderItem2
impl Unpin for FolderItem2
impl UnwindSafe for FolderItem2
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