Struct IFileDialogCustomize
pub struct IFileDialogCustomize(/* private fields */);
Implementations§
§impl IFileDialogCustomize
impl IFileDialogCustomize
pub unsafe fn EnableOpenDropDown(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddMenu<P1>(&self, dwidctl: u32, pszlabel: P1) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn AddPushButton<P1>(&self, dwidctl: u32, pszlabel: P1) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn AddComboBox(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddRadioButtonList(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddCheckButton<P1>(
&self,
dwidctl: u32,
pszlabel: P1,
bchecked: bool,
) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn AddEditBox<P1>(&self, dwidctl: u32, psztext: P1) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn AddSeparator(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddText<P1>(&self, dwidctl: u32, psztext: P1) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn SetControlLabel<P1>(
&self,
dwidctl: u32,
pszlabel: P1,
) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn GetControlState(&self, dwidctl: u32) -> Result<CDCONTROLSTATEF>
pub unsafe fn SetControlState( &self, dwidctl: u32, dwstate: CDCONTROLSTATEF, ) -> Result<()>
pub unsafe fn GetEditBoxText(&self, dwidctl: u32) -> Result<*mut u16>
pub unsafe fn SetEditBoxText<P1>(&self, dwidctl: u32, psztext: P1) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn GetCheckButtonState(&self, dwidctl: u32) -> Result<BOOL>
pub unsafe fn SetCheckButtonState( &self, dwidctl: u32, bchecked: bool, ) -> Result<()>
pub unsafe fn AddControlItem<P2>(
&self,
dwidctl: u32,
dwiditem: u32,
pszlabel: P2,
) -> Result<()>where
P2: Param<PCWSTR>,
pub unsafe fn RemoveControlItem( &self, dwidctl: u32, dwiditem: u32, ) -> Result<()>
pub unsafe fn RemoveAllControlItems(&self, dwidctl: u32) -> Result<()>
pub unsafe fn GetControlItemState( &self, dwidctl: u32, dwiditem: u32, ) -> Result<CDCONTROLSTATEF>
pub unsafe fn SetControlItemState( &self, dwidctl: u32, dwiditem: u32, dwstate: CDCONTROLSTATEF, ) -> Result<()>
pub unsafe fn GetSelectedControlItem(&self, dwidctl: u32) -> Result<u32>
pub unsafe fn SetSelectedControlItem( &self, dwidctl: u32, dwiditem: u32, ) -> Result<()>
pub unsafe fn StartVisualGroup<P1>(
&self,
dwidctl: u32,
pszlabel: P1,
) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn EndVisualGroup(&self) -> Result<()>
pub unsafe fn MakeProminent(&self, dwidctl: u32) -> Result<()>
pub unsafe fn SetControlItemText<P2>(
&self,
dwidctl: u32,
dwiditem: u32,
pszlabel: P2,
) -> Result<()>where
P2: Param<PCWSTR>,
Trait Implementations§
§impl CanInto<IUnknown> for IFileDialogCustomize
impl CanInto<IUnknown> for IFileDialogCustomize
§impl Clone for IFileDialogCustomize
impl Clone for IFileDialogCustomize
§fn clone(&self) -> IFileDialogCustomize
fn clone(&self) -> IFileDialogCustomize
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 more§impl Debug for IFileDialogCustomize
impl Debug for IFileDialogCustomize
§impl From<&IFileDialogCustomize> for &IUnknown
impl From<&IFileDialogCustomize> for &IUnknown
§fn from(value: &IFileDialogCustomize) -> Self
fn from(value: &IFileDialogCustomize) -> Self
Converts to this type from the input type.
§impl From<IFileDialogCustomize> for IUnknown
impl From<IFileDialogCustomize> for IUnknown
§fn from(value: IFileDialogCustomize) -> Self
fn from(value: IFileDialogCustomize) -> Self
Converts to this type from the input type.
§impl Interface for IFileDialogCustomize
impl Interface for IFileDialogCustomize
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IFileDialogCustomize
impl PartialEq for IFileDialogCustomize
impl Eq for IFileDialogCustomize
impl StructuralPartialEq for IFileDialogCustomize
Auto Trait Implementations§
impl Freeze for IFileDialogCustomize
impl RefUnwindSafe for IFileDialogCustomize
impl !Send for IFileDialogCustomize
impl !Sync for IFileDialogCustomize
impl Unpin for IFileDialogCustomize
impl UnwindSafe for IFileDialogCustomize
Blanket Implementations§
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