pub trait IFunctionDiscovery_Impl: Sized {
    // Required methods
    fn GetInstanceCollection(
        &self,
        pszcategory: &PCWSTR,
        pszsubcategory: &PCWSTR,
        fincludeallsubcategories: BOOL,
    ) -> Result<IFunctionInstanceCollection>;
    fn GetInstance(
        &self,
        pszfunctioninstanceidentity: &PCWSTR,
    ) -> Result<IFunctionInstance>;
    fn CreateInstanceCollectionQuery(
        &self,
        pszcategory: &PCWSTR,
        pszsubcategory: &PCWSTR,
        fincludeallsubcategories: BOOL,
        pifunctiondiscoverynotification: Option<&IFunctionDiscoveryNotification>,
        pfdqcquerycontext: *mut u64,
    ) -> Result<IFunctionInstanceCollectionQuery>;
    fn CreateInstanceQuery(
        &self,
        pszfunctioninstanceidentity: &PCWSTR,
        pifunctiondiscoverynotification: Option<&IFunctionDiscoveryNotification>,
        pfdqcquerycontext: *mut u64,
    ) -> Result<IFunctionInstanceQuery>;
    fn AddInstance(
        &self,
        enumsystemvisibility: SystemVisibilityFlags,
        pszcategory: &PCWSTR,
        pszsubcategory: &PCWSTR,
        pszcategoryidentity: &PCWSTR,
    ) -> Result<IFunctionInstance>;
    fn RemoveInstance(
        &self,
        enumsystemvisibility: SystemVisibilityFlags,
        pszcategory: &PCWSTR,
        pszsubcategory: &PCWSTR,
        pszcategoryidentity: &PCWSTR,
    ) -> Result<()>;
}

Required Methods§

fn GetInstanceCollection( &self, pszcategory: &PCWSTR, pszsubcategory: &PCWSTR, fincludeallsubcategories: BOOL, ) -> Result<IFunctionInstanceCollection>

fn GetInstance( &self, pszfunctioninstanceidentity: &PCWSTR, ) -> Result<IFunctionInstance>

fn CreateInstanceCollectionQuery( &self, pszcategory: &PCWSTR, pszsubcategory: &PCWSTR, fincludeallsubcategories: BOOL, pifunctiondiscoverynotification: Option<&IFunctionDiscoveryNotification>, pfdqcquerycontext: *mut u64, ) -> Result<IFunctionInstanceCollectionQuery>

fn CreateInstanceQuery( &self, pszfunctioninstanceidentity: &PCWSTR, pifunctiondiscoverynotification: Option<&IFunctionDiscoveryNotification>, pfdqcquerycontext: *mut u64, ) -> Result<IFunctionInstanceQuery>

fn AddInstance( &self, enumsystemvisibility: SystemVisibilityFlags, pszcategory: &PCWSTR, pszsubcategory: &PCWSTR, pszcategoryidentity: &PCWSTR, ) -> Result<IFunctionInstance>

fn RemoveInstance( &self, enumsystemvisibility: SystemVisibilityFlags, pszcategory: &PCWSTR, pszsubcategory: &PCWSTR, pszcategoryidentity: &PCWSTR, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§