Struct windows::Win32::UI::Shell::IFileDialogCustomize
pub struct IFileDialogCustomize(/* private fields */);
Implementations§
§impl IFileDialogCustomize
impl IFileDialogCustomize
pub unsafe fn EnableOpenDropDown(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddMenu<P0>(&self, dwidctl: u32, pszlabel: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn AddPushButton<P0>(&self, dwidctl: u32, pszlabel: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn AddComboBox(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddRadioButtonList(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddCheckButton<P0, P1>( &self, dwidctl: u32, pszlabel: P0, bchecked: P1 ) -> Result<()>
pub unsafe fn AddEditBox<P0>(&self, dwidctl: u32, psztext: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn AddSeparator(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddText<P0>(&self, dwidctl: u32, psztext: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetControlLabel<P0>(
&self,
dwidctl: u32,
pszlabel: P0
) -> Result<()>where
P0: IntoParam<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<P0>(&self, dwidctl: u32, psztext: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetCheckButtonState(&self, dwidctl: u32) -> Result<BOOL>
pub unsafe fn SetCheckButtonState<P0>(
&self,
dwidctl: u32,
bchecked: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn AddControlItem<P0>(
&self,
dwidctl: u32,
dwiditem: u32,
pszlabel: P0
) -> Result<()>where
P0: IntoParam<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<P0>(
&self,
dwidctl: u32,
pszlabel: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn EndVisualGroup(&self) -> Result<()>
pub unsafe fn MakeProminent(&self, dwidctl: u32) -> Result<()>
pub unsafe fn SetControlItemText<P0>(
&self,
dwidctl: u32,
dwiditem: u32,
pszlabel: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
Trait Implementations§
§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.
§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§impl PartialEq for IFileDialogCustomize
impl PartialEq for IFileDialogCustomize
§fn eq(&self, other: &IFileDialogCustomize) -> bool
fn eq(&self, other: &IFileDialogCustomize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IFileDialogCustomize
impl StructuralPartialEq for IFileDialogCustomize
Auto Trait Implementations§
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