Trait windows::Win32::UI::Shell::IAssocHandler_Impl
pub trait IAssocHandler_Impl: Sized {
// Required methods
fn GetName(&self) -> Result<PWSTR>;
fn GetUIName(&self) -> Result<PWSTR>;
fn GetIconLocation(
&self,
ppszpath: *mut PWSTR,
pindex: *mut i32,
) -> Result<()>;
fn IsRecommended(&self) -> HRESULT;
fn MakeDefault(&self, pszdescription: &PCWSTR) -> Result<()>;
fn Invoke(&self, pdo: Option<&IDataObject>) -> Result<()>;
fn CreateInvoker(
&self,
pdo: Option<&IDataObject>,
) -> Result<IAssocHandlerInvoker>;
}
Required Methods§
fn GetName(&self) -> Result<PWSTR>
fn GetUIName(&self) -> Result<PWSTR>
fn GetIconLocation(&self, ppszpath: *mut PWSTR, pindex: *mut i32) -> Result<()>
fn IsRecommended(&self) -> HRESULT
fn MakeDefault(&self, pszdescription: &PCWSTR) -> Result<()>
fn Invoke(&self, pdo: Option<&IDataObject>) -> Result<()>
fn CreateInvoker( &self, pdo: Option<&IDataObject>, ) -> Result<IAssocHandlerInvoker>
Object Safety§
This trait is not object safe.