mirror of https://github.com/UMSKT/xpmgr.git
1108 lines
40 KiB
C++
1108 lines
40 KiB
C++
|
|
|
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
/* File created by MIDL compiler version 7.00.0555 */
|
|
/* Compiler settings for functiondiscoveryapi.idl:
|
|
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
|
|
protocol : dce , ms_ext, c_ext, robust
|
|
error checks: allocation ref bounds_check enum stub_data
|
|
VC __declspec() decoration level:
|
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
|
|
DECLSPEC_UUID(), MIDL_INTERFACE()
|
|
*/
|
|
/* @@MIDL_FILE_HEADING( ) */
|
|
|
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */
|
|
|
|
|
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
|
#define __REQUIRED_RPCNDR_H_VERSION__ 500
|
|
#endif
|
|
|
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__
|
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100
|
|
#endif
|
|
|
|
#include "rpc.h"
|
|
#include "rpcndr.h"
|
|
|
|
#ifndef __RPCNDR_H_VERSION__
|
|
#error this stub requires an updated version of <rpcndr.h>
|
|
#endif // __RPCNDR_H_VERSION__
|
|
|
|
#ifndef COM_NO_WINDOWS_H
|
|
#include "windows.h"
|
|
#include "ole2.h"
|
|
#endif /*COM_NO_WINDOWS_H*/
|
|
|
|
#ifndef __functiondiscoveryapi_h__
|
|
#define __functiondiscoveryapi_h__
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
|
#pragma once
|
|
#endif
|
|
|
|
/* Forward Declarations */
|
|
|
|
#ifndef __IFunctionDiscoveryNotification_FWD_DEFINED__
|
|
#define __IFunctionDiscoveryNotification_FWD_DEFINED__
|
|
typedef interface IFunctionDiscoveryNotification IFunctionDiscoveryNotification;
|
|
#endif /* __IFunctionDiscoveryNotification_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionDiscovery_FWD_DEFINED__
|
|
#define __IFunctionDiscovery_FWD_DEFINED__
|
|
typedef interface IFunctionDiscovery IFunctionDiscovery;
|
|
#endif /* __IFunctionDiscovery_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstance_FWD_DEFINED__
|
|
#define __IFunctionInstance_FWD_DEFINED__
|
|
typedef interface IFunctionInstance IFunctionInstance;
|
|
#endif /* __IFunctionInstance_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstanceCollection_FWD_DEFINED__
|
|
#define __IFunctionInstanceCollection_FWD_DEFINED__
|
|
typedef interface IFunctionInstanceCollection IFunctionInstanceCollection;
|
|
#endif /* __IFunctionInstanceCollection_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IPropertyStoreCollection_FWD_DEFINED__
|
|
#define __IPropertyStoreCollection_FWD_DEFINED__
|
|
typedef interface IPropertyStoreCollection IPropertyStoreCollection;
|
|
#endif /* __IPropertyStoreCollection_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstanceQuery_FWD_DEFINED__
|
|
#define __IFunctionInstanceQuery_FWD_DEFINED__
|
|
typedef interface IFunctionInstanceQuery IFunctionInstanceQuery;
|
|
#endif /* __IFunctionInstanceQuery_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstanceCollectionQuery_FWD_DEFINED__
|
|
#define __IFunctionInstanceCollectionQuery_FWD_DEFINED__
|
|
typedef interface IFunctionInstanceCollectionQuery IFunctionInstanceCollectionQuery;
|
|
#endif /* __IFunctionInstanceCollectionQuery_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstanceQuery2_FWD_DEFINED__
|
|
#define __IFunctionInstanceQuery2_FWD_DEFINED__
|
|
typedef interface IFunctionInstanceQuery2 IFunctionInstanceQuery2;
|
|
#endif /* __IFunctionInstanceQuery2_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstanceCollectionQuery2_FWD_DEFINED__
|
|
#define __IFunctionInstanceCollectionQuery2_FWD_DEFINED__
|
|
typedef interface IFunctionInstanceCollectionQuery2 IFunctionInstanceCollectionQuery2;
|
|
#endif /* __IFunctionInstanceCollectionQuery2_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstanceCollectionQueryCollection_FWD_DEFINED__
|
|
#define __IFunctionInstanceCollectionQueryCollection_FWD_DEFINED__
|
|
typedef interface IFunctionInstanceCollectionQueryCollection IFunctionInstanceCollectionQueryCollection;
|
|
#endif /* __IFunctionInstanceCollectionQueryCollection_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionDiscoveryProviderRefresh_FWD_DEFINED__
|
|
#define __IFunctionDiscoveryProviderRefresh_FWD_DEFINED__
|
|
typedef interface IFunctionDiscoveryProviderRefresh IFunctionDiscoveryProviderRefresh;
|
|
#endif /* __IFunctionDiscoveryProviderRefresh_FWD_DEFINED__ */
|
|
|
|
|
|
/* header files for imported files */
|
|
#include "oaidl.h"
|
|
#include "ocidl.h"
|
|
#include "propsys.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
|
|
/* interface __MIDL_itf_functiondiscoveryapi_0000_0000 */
|
|
/* [local] */
|
|
|
|
#pragma once
|
|
typedef
|
|
enum tagPropertyConstraint
|
|
{ QC_EQUALS = 0,
|
|
QC_NOTEQUAL = 1,
|
|
QC_LESSTHAN = 2,
|
|
QC_LESSTHANOREQUAL = 3,
|
|
QC_GREATERTHAN = 4,
|
|
QC_GREATERTHANOREQUAL = 5,
|
|
QC_STARTSWITH = 6,
|
|
QC_EXISTS = 7,
|
|
QC_DOESNOTEXIST = 8,
|
|
QC_CONTAINS = 9
|
|
} PropertyConstraint;
|
|
|
|
//#if ( WINVER >= 0x0600 )
|
|
#ifndef FD_LONGHORN
|
|
#define FD_LONGHORN 1
|
|
#endif
|
|
#ifndef FDPropertyConstraint
|
|
#define FDPropertyConstraint
|
|
#endif
|
|
#include "FunctionDiscoveryCategories.h"
|
|
#include "FunctionDiscoveryError.h"
|
|
#include "FunctionDiscoveryKeys.h"
|
|
#include "FunctionDiscoveryServiceIDs.h"
|
|
#include "FunctionDiscoveryConstraints.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef DWORDLONG FDQUERYCONTEXT;
|
|
|
|
typedef
|
|
enum tagSystemVisibilityFlags
|
|
{ SVF_SYSTEM = 0,
|
|
SVF_USER = 1
|
|
} SystemVisibilityFlags;
|
|
|
|
typedef
|
|
enum tagQueryUpdateAction
|
|
{ QUA_ADD = 0,
|
|
QUA_REMOVE = 1,
|
|
QUA_CHANGE = 2
|
|
} QueryUpdateAction;
|
|
|
|
typedef
|
|
enum tagQueryCategoryType
|
|
{ QCT_PROVIDER = 0,
|
|
QCT_LAYERED = 1
|
|
} QueryCategoryType;
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_functiondiscoveryapi_0000_0000_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_functiondiscoveryapi_0000_0000_v0_0_s_ifspec;
|
|
|
|
#ifndef __IFunctionDiscoveryNotification_INTERFACE_DEFINED__
|
|
#define __IFunctionDiscoveryNotification_INTERFACE_DEFINED__
|
|
|
|
/* interface IFunctionDiscoveryNotification */
|
|
/* [unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IFunctionDiscoveryNotification;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("5f6c1ba8-5330-422e-a368-572b244d3f87")
|
|
IFunctionDiscoveryNotification : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE OnUpdate(
|
|
/* [in] */ QueryUpdateAction enumQueryUpdateAction,
|
|
/* [in] */ FDQUERYCONTEXT fdqcQueryContext,
|
|
/* [in] */ __RPC__in_opt IFunctionInstance *pIFunctionInstance) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE OnError(
|
|
/* [in] */ HRESULT hr,
|
|
/* [in] */ FDQUERYCONTEXT fdqcQueryContext,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszProvider) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE OnEvent(
|
|
/* [in] */ DWORD dwEventID,
|
|
/* [in] */ FDQUERYCONTEXT fdqcQueryContext,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszProvider) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IFunctionDiscoveryNotificationVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IFunctionDiscoveryNotification * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IFunctionDiscoveryNotification * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IFunctionDiscoveryNotification * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnUpdate )(
|
|
__RPC__in IFunctionDiscoveryNotification * This,
|
|
/* [in] */ QueryUpdateAction enumQueryUpdateAction,
|
|
/* [in] */ FDQUERYCONTEXT fdqcQueryContext,
|
|
/* [in] */ __RPC__in_opt IFunctionInstance *pIFunctionInstance);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnError )(
|
|
__RPC__in IFunctionDiscoveryNotification * This,
|
|
/* [in] */ HRESULT hr,
|
|
/* [in] */ FDQUERYCONTEXT fdqcQueryContext,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszProvider);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnEvent )(
|
|
__RPC__in IFunctionDiscoveryNotification * This,
|
|
/* [in] */ DWORD dwEventID,
|
|
/* [in] */ FDQUERYCONTEXT fdqcQueryContext,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszProvider);
|
|
|
|
END_INTERFACE
|
|
} IFunctionDiscoveryNotificationVtbl;
|
|
|
|
interface IFunctionDiscoveryNotification
|
|
{
|
|
CONST_VTBL struct IFunctionDiscoveryNotificationVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IFunctionDiscoveryNotification_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IFunctionDiscoveryNotification_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IFunctionDiscoveryNotification_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IFunctionDiscoveryNotification_OnUpdate(This,enumQueryUpdateAction,fdqcQueryContext,pIFunctionInstance) \
|
|
( (This)->lpVtbl -> OnUpdate(This,enumQueryUpdateAction,fdqcQueryContext,pIFunctionInstance) )
|
|
|
|
#define IFunctionDiscoveryNotification_OnError(This,hr,fdqcQueryContext,pszProvider) \
|
|
( (This)->lpVtbl -> OnError(This,hr,fdqcQueryContext,pszProvider) )
|
|
|
|
#define IFunctionDiscoveryNotification_OnEvent(This,dwEventID,fdqcQueryContext,pszProvider) \
|
|
( (This)->lpVtbl -> OnEvent(This,dwEventID,fdqcQueryContext,pszProvider) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IFunctionDiscoveryNotification_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionDiscovery_INTERFACE_DEFINED__
|
|
#define __IFunctionDiscovery_INTERFACE_DEFINED__
|
|
|
|
/* interface IFunctionDiscovery */
|
|
/* [restricted][unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IFunctionDiscovery;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("4df99b70-e148-4432-b004-4c9eeb535a5e")
|
|
IFunctionDiscovery : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE GetInstanceCollection(
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategory,
|
|
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory,
|
|
/* [in] */ BOOL fIncludeAllSubCategories,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceCollection **ppIFunctionInstanceCollection) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetInstance(
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszFunctionInstanceIdentity,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE CreateInstanceCollectionQuery(
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategory,
|
|
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory,
|
|
/* [in] */ BOOL fIncludeAllSubCategories,
|
|
/* [in] */ __RPC__in_opt IFunctionDiscoveryNotification *pIFunctionDiscoveryNotification,
|
|
/* [unique][out][in] */ __RPC__inout_opt FDQUERYCONTEXT *pfdqcQueryContext,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceCollectionQuery **ppIFunctionInstanceCollectionQuery) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE CreateInstanceQuery(
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszFunctionInstanceIdentity,
|
|
/* [in] */ __RPC__in_opt IFunctionDiscoveryNotification *pIFunctionDiscoveryNotification,
|
|
/* [unique][out][in] */ __RPC__inout_opt FDQUERYCONTEXT *pfdqcQueryContext,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceQuery **ppIFunctionInstanceQuery) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE AddInstance(
|
|
/* [in] */ SystemVisibilityFlags enumSystemVisibility,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategory,
|
|
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategoryIdentity,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE RemoveInstance(
|
|
/* [in] */ SystemVisibilityFlags enumSystemVisibility,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategory,
|
|
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategoryIdentity) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IFunctionDiscoveryVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IFunctionDiscovery * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IFunctionDiscovery * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IFunctionDiscovery * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetInstanceCollection )(
|
|
__RPC__in IFunctionDiscovery * This,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategory,
|
|
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory,
|
|
/* [in] */ BOOL fIncludeAllSubCategories,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceCollection **ppIFunctionInstanceCollection);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetInstance )(
|
|
__RPC__in IFunctionDiscovery * This,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszFunctionInstanceIdentity,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *CreateInstanceCollectionQuery )(
|
|
__RPC__in IFunctionDiscovery * This,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategory,
|
|
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory,
|
|
/* [in] */ BOOL fIncludeAllSubCategories,
|
|
/* [in] */ __RPC__in_opt IFunctionDiscoveryNotification *pIFunctionDiscoveryNotification,
|
|
/* [unique][out][in] */ __RPC__inout_opt FDQUERYCONTEXT *pfdqcQueryContext,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceCollectionQuery **ppIFunctionInstanceCollectionQuery);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *CreateInstanceQuery )(
|
|
__RPC__in IFunctionDiscovery * This,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszFunctionInstanceIdentity,
|
|
/* [in] */ __RPC__in_opt IFunctionDiscoveryNotification *pIFunctionDiscoveryNotification,
|
|
/* [unique][out][in] */ __RPC__inout_opt FDQUERYCONTEXT *pfdqcQueryContext,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceQuery **ppIFunctionInstanceQuery);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddInstance )(
|
|
__RPC__in IFunctionDiscovery * This,
|
|
/* [in] */ SystemVisibilityFlags enumSystemVisibility,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategory,
|
|
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategoryIdentity,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RemoveInstance )(
|
|
__RPC__in IFunctionDiscovery * This,
|
|
/* [in] */ SystemVisibilityFlags enumSystemVisibility,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategory,
|
|
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszCategoryIdentity);
|
|
|
|
END_INTERFACE
|
|
} IFunctionDiscoveryVtbl;
|
|
|
|
interface IFunctionDiscovery
|
|
{
|
|
CONST_VTBL struct IFunctionDiscoveryVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IFunctionDiscovery_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IFunctionDiscovery_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IFunctionDiscovery_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IFunctionDiscovery_GetInstanceCollection(This,pszCategory,pszSubCategory,fIncludeAllSubCategories,ppIFunctionInstanceCollection) \
|
|
( (This)->lpVtbl -> GetInstanceCollection(This,pszCategory,pszSubCategory,fIncludeAllSubCategories,ppIFunctionInstanceCollection) )
|
|
|
|
#define IFunctionDiscovery_GetInstance(This,pszFunctionInstanceIdentity,ppIFunctionInstance) \
|
|
( (This)->lpVtbl -> GetInstance(This,pszFunctionInstanceIdentity,ppIFunctionInstance) )
|
|
|
|
#define IFunctionDiscovery_CreateInstanceCollectionQuery(This,pszCategory,pszSubCategory,fIncludeAllSubCategories,pIFunctionDiscoveryNotification,pfdqcQueryContext,ppIFunctionInstanceCollectionQuery) \
|
|
( (This)->lpVtbl -> CreateInstanceCollectionQuery(This,pszCategory,pszSubCategory,fIncludeAllSubCategories,pIFunctionDiscoveryNotification,pfdqcQueryContext,ppIFunctionInstanceCollectionQuery) )
|
|
|
|
#define IFunctionDiscovery_CreateInstanceQuery(This,pszFunctionInstanceIdentity,pIFunctionDiscoveryNotification,pfdqcQueryContext,ppIFunctionInstanceQuery) \
|
|
( (This)->lpVtbl -> CreateInstanceQuery(This,pszFunctionInstanceIdentity,pIFunctionDiscoveryNotification,pfdqcQueryContext,ppIFunctionInstanceQuery) )
|
|
|
|
#define IFunctionDiscovery_AddInstance(This,enumSystemVisibility,pszCategory,pszSubCategory,pszCategoryIdentity,ppIFunctionInstance) \
|
|
( (This)->lpVtbl -> AddInstance(This,enumSystemVisibility,pszCategory,pszSubCategory,pszCategoryIdentity,ppIFunctionInstance) )
|
|
|
|
#define IFunctionDiscovery_RemoveInstance(This,enumSystemVisibility,pszCategory,pszSubCategory,pszCategoryIdentity) \
|
|
( (This)->lpVtbl -> RemoveInstance(This,enumSystemVisibility,pszCategory,pszSubCategory,pszCategoryIdentity) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IFunctionDiscovery_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstance_INTERFACE_DEFINED__
|
|
#define __IFunctionInstance_INTERFACE_DEFINED__
|
|
|
|
/* interface IFunctionInstance */
|
|
/* [unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IFunctionInstance;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("33591c10-0bed-4f02-b0ab-1530d5533ee9")
|
|
IFunctionInstance : public IServiceProvider
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE GetID(
|
|
/* [retval][string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemIdentity) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetProviderInstanceID(
|
|
/* [retval][string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemProviderInstanceIdentity) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE OpenPropertyStore(
|
|
/* [in] */ DWORD dwStgAccess,
|
|
/* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetCategory(
|
|
/* [string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemCategory,
|
|
/* [string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemSubCategory) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IFunctionInstanceVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IFunctionInstance * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IFunctionInstance * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IFunctionInstance * This);
|
|
|
|
/* [local] */ HRESULT ( STDMETHODCALLTYPE *QueryService )(
|
|
IFunctionInstance * This,
|
|
/* [annotation][in] */
|
|
__in REFGUID guidService,
|
|
/* [annotation][in] */
|
|
__in REFIID riid,
|
|
/* [annotation][out] */
|
|
__deref_out void **ppvObject);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetID )(
|
|
__RPC__in IFunctionInstance * This,
|
|
/* [retval][string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemIdentity);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetProviderInstanceID )(
|
|
__RPC__in IFunctionInstance * This,
|
|
/* [retval][string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemProviderInstanceIdentity);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OpenPropertyStore )(
|
|
__RPC__in IFunctionInstance * This,
|
|
/* [in] */ DWORD dwStgAccess,
|
|
/* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCategory )(
|
|
__RPC__in IFunctionInstance * This,
|
|
/* [string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemCategory,
|
|
/* [string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemSubCategory);
|
|
|
|
END_INTERFACE
|
|
} IFunctionInstanceVtbl;
|
|
|
|
interface IFunctionInstance
|
|
{
|
|
CONST_VTBL struct IFunctionInstanceVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IFunctionInstance_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IFunctionInstance_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IFunctionInstance_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IFunctionInstance_QueryService(This,guidService,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryService(This,guidService,riid,ppvObject) )
|
|
|
|
|
|
#define IFunctionInstance_GetID(This,ppszCoMemIdentity) \
|
|
( (This)->lpVtbl -> GetID(This,ppszCoMemIdentity) )
|
|
|
|
#define IFunctionInstance_GetProviderInstanceID(This,ppszCoMemProviderInstanceIdentity) \
|
|
( (This)->lpVtbl -> GetProviderInstanceID(This,ppszCoMemProviderInstanceIdentity) )
|
|
|
|
#define IFunctionInstance_OpenPropertyStore(This,dwStgAccess,ppIPropertyStore) \
|
|
( (This)->lpVtbl -> OpenPropertyStore(This,dwStgAccess,ppIPropertyStore) )
|
|
|
|
#define IFunctionInstance_GetCategory(This,ppszCoMemCategory,ppszCoMemSubCategory) \
|
|
( (This)->lpVtbl -> GetCategory(This,ppszCoMemCategory,ppszCoMemSubCategory) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IFunctionInstance_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstanceCollection_INTERFACE_DEFINED__
|
|
#define __IFunctionInstanceCollection_INTERFACE_DEFINED__
|
|
|
|
/* interface IFunctionInstanceCollection */
|
|
/* [restricted][unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IFunctionInstanceCollection;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("f0a3d895-855c-42a2-948d-2f97d450ecb1")
|
|
IFunctionInstanceCollection : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE GetCount(
|
|
/* [retval][out] */ __RPC__out DWORD *pdwCount) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Get(
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszInstanceIdentity,
|
|
/* [out] */ __RPC__out DWORD *pdwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Item(
|
|
/* [in] */ DWORD dwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Add(
|
|
/* [in] */ __RPC__in_opt IFunctionInstance *pIFunctionInstance) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Remove(
|
|
/* [in] */ DWORD dwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Delete(
|
|
/* [in] */ DWORD dwIndex) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IFunctionInstanceCollectionVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IFunctionInstanceCollection * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IFunctionInstanceCollection * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IFunctionInstanceCollection * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCount )(
|
|
__RPC__in IFunctionInstanceCollection * This,
|
|
/* [retval][out] */ __RPC__out DWORD *pdwCount);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Get )(
|
|
__RPC__in IFunctionInstanceCollection * This,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszInstanceIdentity,
|
|
/* [out] */ __RPC__out DWORD *pdwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Item )(
|
|
__RPC__in IFunctionInstanceCollection * This,
|
|
/* [in] */ DWORD dwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Add )(
|
|
__RPC__in IFunctionInstanceCollection * This,
|
|
/* [in] */ __RPC__in_opt IFunctionInstance *pIFunctionInstance);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Remove )(
|
|
__RPC__in IFunctionInstanceCollection * This,
|
|
/* [in] */ DWORD dwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Delete )(
|
|
__RPC__in IFunctionInstanceCollection * This,
|
|
/* [in] */ DWORD dwIndex);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *DeleteAll )(
|
|
__RPC__in IFunctionInstanceCollection * This);
|
|
|
|
END_INTERFACE
|
|
} IFunctionInstanceCollectionVtbl;
|
|
|
|
interface IFunctionInstanceCollection
|
|
{
|
|
CONST_VTBL struct IFunctionInstanceCollectionVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IFunctionInstanceCollection_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IFunctionInstanceCollection_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IFunctionInstanceCollection_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IFunctionInstanceCollection_GetCount(This,pdwCount) \
|
|
( (This)->lpVtbl -> GetCount(This,pdwCount) )
|
|
|
|
#define IFunctionInstanceCollection_Get(This,pszInstanceIdentity,pdwIndex,ppIFunctionInstance) \
|
|
( (This)->lpVtbl -> Get(This,pszInstanceIdentity,pdwIndex,ppIFunctionInstance) )
|
|
|
|
#define IFunctionInstanceCollection_Item(This,dwIndex,ppIFunctionInstance) \
|
|
( (This)->lpVtbl -> Item(This,dwIndex,ppIFunctionInstance) )
|
|
|
|
#define IFunctionInstanceCollection_Add(This,pIFunctionInstance) \
|
|
( (This)->lpVtbl -> Add(This,pIFunctionInstance) )
|
|
|
|
#define IFunctionInstanceCollection_Remove(This,dwIndex,ppIFunctionInstance) \
|
|
( (This)->lpVtbl -> Remove(This,dwIndex,ppIFunctionInstance) )
|
|
|
|
#define IFunctionInstanceCollection_Delete(This,dwIndex) \
|
|
( (This)->lpVtbl -> Delete(This,dwIndex) )
|
|
|
|
#define IFunctionInstanceCollection_DeleteAll(This) \
|
|
( (This)->lpVtbl -> DeleteAll(This) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IFunctionInstanceCollection_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IPropertyStoreCollection_INTERFACE_DEFINED__
|
|
#define __IPropertyStoreCollection_INTERFACE_DEFINED__
|
|
|
|
/* interface IPropertyStoreCollection */
|
|
/* [unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IPropertyStoreCollection;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("D14D9C30-12D2-42d8-BCE4-C60C2BB226FA")
|
|
IPropertyStoreCollection : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE GetCount(
|
|
/* [retval][out] */ __RPC__out LPDWORD pdwCount) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Get(
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszInstanceIdentity,
|
|
/* [out] */ __RPC__out LPDWORD pdwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Item(
|
|
/* [in] */ DWORD dwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Add(
|
|
/* [in] */ __RPC__in_opt IPropertyStore *pIPropertyStore) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Remove(
|
|
/* [in] */ DWORD dwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IPropertyStore **pIPropertyStore) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Delete(
|
|
/* [in] */ DWORD dwIndex) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IPropertyStoreCollectionVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IPropertyStoreCollection * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IPropertyStoreCollection * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IPropertyStoreCollection * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCount )(
|
|
__RPC__in IPropertyStoreCollection * This,
|
|
/* [retval][out] */ __RPC__out LPDWORD pdwCount);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Get )(
|
|
__RPC__in IPropertyStoreCollection * This,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszInstanceIdentity,
|
|
/* [out] */ __RPC__out LPDWORD pdwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Item )(
|
|
__RPC__in IPropertyStoreCollection * This,
|
|
/* [in] */ DWORD dwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Add )(
|
|
__RPC__in IPropertyStoreCollection * This,
|
|
/* [in] */ __RPC__in_opt IPropertyStore *pIPropertyStore);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Remove )(
|
|
__RPC__in IPropertyStoreCollection * This,
|
|
/* [in] */ DWORD dwIndex,
|
|
/* [retval][out] */ __RPC__deref_out_opt IPropertyStore **pIPropertyStore);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Delete )(
|
|
__RPC__in IPropertyStoreCollection * This,
|
|
/* [in] */ DWORD dwIndex);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *DeleteAll )(
|
|
__RPC__in IPropertyStoreCollection * This);
|
|
|
|
END_INTERFACE
|
|
} IPropertyStoreCollectionVtbl;
|
|
|
|
interface IPropertyStoreCollection
|
|
{
|
|
CONST_VTBL struct IPropertyStoreCollectionVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IPropertyStoreCollection_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IPropertyStoreCollection_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IPropertyStoreCollection_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IPropertyStoreCollection_GetCount(This,pdwCount) \
|
|
( (This)->lpVtbl -> GetCount(This,pdwCount) )
|
|
|
|
#define IPropertyStoreCollection_Get(This,pszInstanceIdentity,pdwIndex,ppIPropertyStore) \
|
|
( (This)->lpVtbl -> Get(This,pszInstanceIdentity,pdwIndex,ppIPropertyStore) )
|
|
|
|
#define IPropertyStoreCollection_Item(This,dwIndex,ppIPropertyStore) \
|
|
( (This)->lpVtbl -> Item(This,dwIndex,ppIPropertyStore) )
|
|
|
|
#define IPropertyStoreCollection_Add(This,pIPropertyStore) \
|
|
( (This)->lpVtbl -> Add(This,pIPropertyStore) )
|
|
|
|
#define IPropertyStoreCollection_Remove(This,dwIndex,pIPropertyStore) \
|
|
( (This)->lpVtbl -> Remove(This,dwIndex,pIPropertyStore) )
|
|
|
|
#define IPropertyStoreCollection_Delete(This,dwIndex) \
|
|
( (This)->lpVtbl -> Delete(This,dwIndex) )
|
|
|
|
#define IPropertyStoreCollection_DeleteAll(This) \
|
|
( (This)->lpVtbl -> DeleteAll(This) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IPropertyStoreCollection_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstanceQuery_INTERFACE_DEFINED__
|
|
#define __IFunctionInstanceQuery_INTERFACE_DEFINED__
|
|
|
|
/* interface IFunctionInstanceQuery */
|
|
/* [restricted][unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IFunctionInstanceQuery;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("6242bc6b-90ec-4b37-bb46-e229fd84ed95")
|
|
IFunctionInstanceQuery : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE Execute(
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IFunctionInstanceQueryVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IFunctionInstanceQuery * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IFunctionInstanceQuery * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IFunctionInstanceQuery * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Execute )(
|
|
__RPC__in IFunctionInstanceQuery * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance);
|
|
|
|
END_INTERFACE
|
|
} IFunctionInstanceQueryVtbl;
|
|
|
|
interface IFunctionInstanceQuery
|
|
{
|
|
CONST_VTBL struct IFunctionInstanceQueryVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IFunctionInstanceQuery_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IFunctionInstanceQuery_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IFunctionInstanceQuery_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IFunctionInstanceQuery_Execute(This,ppIFunctionInstance) \
|
|
( (This)->lpVtbl -> Execute(This,ppIFunctionInstance) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IFunctionInstanceQuery_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IFunctionInstanceCollectionQuery_INTERFACE_DEFINED__
|
|
#define __IFunctionInstanceCollectionQuery_INTERFACE_DEFINED__
|
|
|
|
/* interface IFunctionInstanceCollectionQuery */
|
|
/* [restricted][unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IFunctionInstanceCollectionQuery;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("57cc6fd2-c09a-4289-bb72-25f04142058e")
|
|
IFunctionInstanceCollectionQuery : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE AddQueryConstraint(
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszConstraintName,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszConstraintValue) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE AddPropertyConstraint(
|
|
/* [in] */ __RPC__in REFPROPERTYKEY Key,
|
|
/* [in] */ __RPC__in const PROPVARIANT *pv,
|
|
/* [in] */ PropertyConstraint enumPropertyConstraint) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Execute(
|
|
/* [out] */ __RPC__deref_out_opt IFunctionInstanceCollection **ppIFunctionInstanceCollection) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IFunctionInstanceCollectionQueryVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IFunctionInstanceCollectionQuery * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IFunctionInstanceCollectionQuery * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IFunctionInstanceCollectionQuery * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddQueryConstraint )(
|
|
__RPC__in IFunctionInstanceCollectionQuery * This,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszConstraintName,
|
|
/* [string][in] */ __RPC__in_string const WCHAR *pszConstraintValue);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddPropertyConstraint )(
|
|
__RPC__in IFunctionInstanceCollectionQuery * This,
|
|
/* [in] */ __RPC__in REFPROPERTYKEY Key,
|
|
/* [in] */ __RPC__in const PROPVARIANT *pv,
|
|
/* [in] */ PropertyConstraint enumPropertyConstraint);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Execute )(
|
|
__RPC__in IFunctionInstanceCollectionQuery * This,
|
|
/* [out] */ __RPC__deref_out_opt IFunctionInstanceCollection **ppIFunctionInstanceCollection);
|
|
|
|
END_INTERFACE
|
|
} IFunctionInstanceCollectionQueryVtbl;
|
|
|
|
interface IFunctionInstanceCollectionQuery
|
|
{
|
|
CONST_VTBL struct IFunctionInstanceCollectionQueryVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IFunctionInstanceCollectionQuery_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IFunctionInstanceCollectionQuery_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IFunctionInstanceCollectionQuery_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IFunctionInstanceCollectionQuery_AddQueryConstraint(This,pszConstraintName,pszConstraintValue) \
|
|
( (This)->lpVtbl -> AddQueryConstraint(This,pszConstraintName,pszConstraintValue) )
|
|
|
|
#define IFunctionInstanceCollectionQuery_AddPropertyConstraint(This,Key,pv,enumPropertyConstraint) \
|
|
( (This)->lpVtbl -> AddPropertyConstraint(This,Key,pv,enumPropertyConstraint) )
|
|
|
|
#define IFunctionInstanceCollectionQuery_Execute(This,ppIFunctionInstanceCollection) \
|
|
( (This)->lpVtbl -> Execute(This,ppIFunctionInstanceCollection) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IFunctionInstanceCollectionQuery_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_functiondiscoveryapi_0000_0007 */
|
|
/* [local] */
|
|
|
|
#include "FunctionDiscoveryNotification.h"
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_functiondiscoveryapi_0000_0011_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_functiondiscoveryapi_0000_0011_v0_0_s_ifspec;
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * );
|
|
void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * );
|
|
|
|
unsigned long __RPC_USER LPSAFEARRAY_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * );
|
|
unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * );
|
|
unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * );
|
|
void __RPC_USER LPSAFEARRAY_UserFree( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * );
|
|
|
|
unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * );
|
|
void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * );
|
|
|
|
unsigned long __RPC_USER LPSAFEARRAY_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * );
|
|
unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * );
|
|
unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * );
|
|
void __RPC_USER LPSAFEARRAY_UserFree64( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * );
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|