pub struct ICategoryProvider(/* private fields */);Implementations§
Source§impl ICategoryProvider
impl ICategoryProvider
pub unsafe fn CanCategorizeOnSCID( &self, pscid: *const PROPERTYKEY, ) -> Result<()>
pub unsafe fn GetDefaultCategory( &self, pguid: *mut Guid, pscid: *mut PROPERTYKEY, ) -> Result<()>
pub unsafe fn GetCategoryForSCID( &self, pscid: *const PROPERTYKEY, ) -> Result<Guid>
pub unsafe fn EnumCategories(&self) -> Result<IEnumGUID>
pub unsafe fn GetCategoryName( &self, pguid: *const Guid, pszname: PWSTR, cch: u32, ) -> Result<()>
pub unsafe fn CreateCategory<T: Interface>( &self, pguid: *const Guid, ) -> Result<T>
Trait Implementations§
Source§impl Clone for ICategoryProvider
impl Clone for ICategoryProvider
Source§fn clone(&self) -> ICategoryProvider
fn clone(&self) -> ICategoryProvider
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 ICategoryProvider
impl Debug for ICategoryProvider
Source§impl From<&ICategoryProvider> for IUnknown
impl From<&ICategoryProvider> for IUnknown
Source§fn from(value: &ICategoryProvider) -> Self
fn from(value: &ICategoryProvider) -> Self
Converts to this type from the input type.
Source§impl From<ICategoryProvider> for IUnknown
impl From<ICategoryProvider> for IUnknown
Source§fn from(value: ICategoryProvider) -> Self
fn from(value: ICategoryProvider) -> Self
Converts to this type from the input type.
Source§impl Interface for ICategoryProvider
impl Interface for ICategoryProvider
const IID: Guid
type Vtable = ICategoryProvider_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 ICategoryProvider
impl PartialEq for ICategoryProvider
impl Eq for ICategoryProvider
impl StructuralPartialEq for ICategoryProvider
Auto Trait Implementations§
impl Freeze for ICategoryProvider
impl RefUnwindSafe for ICategoryProvider
impl !Send for ICategoryProvider
impl !Sync for ICategoryProvider
impl Unpin for ICategoryProvider
impl UnwindSafe for ICategoryProvider
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