pub struct IFileDialogCustomize(/* private fields */);
Implementations§
Source§impl IFileDialogCustomize
impl IFileDialogCustomize
pub unsafe fn EnableOpenDropDown(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddMenu<'a>( &self, dwidctl: u32, pszlabel: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn AddPushButton<'a>( &self, dwidctl: u32, pszlabel: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn AddComboBox(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddRadioButtonList(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddCheckButton<'a>( &self, dwidctl: u32, pszlabel: impl IntoParam<'a, PWSTR>, bchecked: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn AddEditBox<'a>( &self, dwidctl: u32, psztext: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn AddSeparator(&self, dwidctl: u32) -> Result<()>
pub unsafe fn AddText<'a>( &self, dwidctl: u32, psztext: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetControlLabel<'a>( &self, dwidctl: u32, pszlabel: impl IntoParam<'a, PWSTR>, ) -> Result<()>
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<'a>( &self, dwidctl: u32, psztext: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetCheckButtonState(&self, dwidctl: u32) -> Result<BOOL>
pub unsafe fn SetCheckButtonState<'a>( &self, dwidctl: u32, bchecked: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn AddControlItem<'a>( &self, dwidctl: u32, dwiditem: u32, pszlabel: impl IntoParam<'a, PWSTR>, ) -> Result<()>
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<'a>( &self, dwidctl: u32, pszlabel: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn EndVisualGroup(&self) -> Result<()>
pub unsafe fn MakeProminent(&self, dwidctl: u32) -> Result<()>
pub unsafe fn SetControlItemText<'a>( &self, dwidctl: u32, dwiditem: u32, pszlabel: impl IntoParam<'a, PWSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IFileDialogCustomize
impl Clone for IFileDialogCustomize
Source§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 moreSource§impl Debug for IFileDialogCustomize
impl Debug for IFileDialogCustomize
Source§impl From<&IFileDialogCustomize> for IUnknown
impl From<&IFileDialogCustomize> for IUnknown
Source§fn from(value: &IFileDialogCustomize) -> Self
fn from(value: &IFileDialogCustomize) -> Self
Converts to this type from the input type.
Source§impl From<IFileDialogCustomize> for IUnknown
impl From<IFileDialogCustomize> for IUnknown
Source§fn from(value: IFileDialogCustomize) -> Self
fn from(value: IFileDialogCustomize) -> Self
Converts to this type from the input type.
Source§impl Interface for IFileDialogCustomize
impl Interface for IFileDialogCustomize
const IID: Guid
type Vtable = IFileDialogCustomize_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 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> 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