#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif
#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 __unknwnbase_h__
#define __unknwnbase_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#ifndef __IUnknown_FWD_DEFINED__
#define __IUnknown_FWD_DEFINED__
typedef interface IUnknown IUnknown;
typedef
struct
IUnknown
;
#endif /* __IUnknown_FWD_DEFINED__ */
#ifndef __AsyncIUnknown_FWD_DEFINED__
#define __AsyncIUnknown_FWD_DEFINED__
typedef interface AsyncIUnknown AsyncIUnknown;
typedef
struct
AsyncIUnknown
;
#endif /* __AsyncIUnknown_FWD_DEFINED__ */
#ifndef __IClassFactory_FWD_DEFINED__
#define __IClassFactory_FWD_DEFINED__
typedef interface IClassFactory IClassFactory;
typedef
struct
IClassFactory
;
#endif /* __IClassFactory_FWD_DEFINED__ */
#include "wtypesbase.h"
#ifdef __cplusplus
extern
"C"
{
#endif
#include <winapifamily.h>
#if ( _MSC_VER >= 1020 )
#pragma once
#endif
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
extern
__MIDL_itf_unknwnbase_0000_0000_v0_0_c_ifspec
;
extern
__MIDL_itf_unknwnbase_0000_0000_v0_0_s_ifspec
;
#ifndef __IUnknown_INTERFACE_DEFINED__
#define __IUnknown_INTERFACE_DEFINED__
typedef
*
;
#if (_MSC_VER >= 1100) && defined(__cplusplus) && !defined(CINTERFACE)
EXTERN_C const IID IID_IUnknown;
extern
"C++"
{
MIDL_INTERFACE("00000000-0000-0000-C000-000000000046")
struct
__declspec
(uuid(
"00000000-0000-0000-C000-000000000046"
))
__declspec
(novtable)
{
public
:
BEGIN_INTERFACE
virtual HRESULT STDMETHODCALLTYPE QueryInterface(
/* [iid_is][out] */ _COM_Outptr_ void __RPC_FAR *__RPC_FAR *ppvObject) = 0;
virtual ULONG STDMETHODCALLTYPE AddRef( void) = 0;
virtual
__stdcall
(
void
) =
0
;
virtual ULONG STDMETHODCALLTYPE Release( void) = 0;
virtual
__stdcall
(
void
) =
0
;
template
<
class
>
#ifdef _M_CEE_PURE
__clrcall
#else
QueryInterface(_COM_Outptr_ Q** pp)
{
return
(__uuidof(
), (
void
**)
);
}
END_INTERFACE
};
}
HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(
__stdcall
IUnknown_QueryInterface_Proxy
(
IUnknown __RPC_FAR * This,
/* [iid_is][out] */ __RPC__deref_out void __RPC_FAR *__RPC_FAR *ppvObject);
void __RPC_STUB IUnknown_QueryInterface_Stub(
void
__stdcall
IUnknown_QueryInterface_Stub
(
*
,
*
,
,
*
);
ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(
IUnknown __RPC_FAR * This);
void __RPC_STUB IUnknown_AddRef_Stub(
*
,
*
,
,
*
);
ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(
IUnknown __RPC_FAR * This);
void __RPC_STUB IUnknown_Release_Stub(
*
,
*
,
,
*
);
#else
EXTERN_C const IID IID_IUnknown;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("00000000-0000-0000-C000-000000000046")
IUnknown
{
public:
BEGIN_INTERFACE
virtual HRESULT STDMETHODCALLTYPE QueryInterface(
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject) = 0;
virtual ULONG STDMETHODCALLTYPE AddRef( void) = 0;
virtual ULONG STDMETHODCALLTYPE Release( void) = 0;
END_INTERFACE
};
#else /* C style interface */
typedef struct IUnknownVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IUnknown * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IUnknown * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IUnknown * This);
END_INTERFACE
} IUnknownVtbl;
interface IUnknown
{
CONST_VTBL struct IUnknownVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IUnknown_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IUnknown_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IUnknown_Release(This) \
( (This)->lpVtbl -> Release(This) )
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(
IUnknown * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
void __RPC_STUB IUnknown_QueryInterface_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(
IUnknown * This);
void __RPC_STUB IUnknown_AddRef_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(
IUnknown * This);
void __RPC_STUB IUnknown_Release_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IUnknown_INTERFACE_DEFINED__ */
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
extern
__MIDL_itf_unknwnbase_0000_0001_v0_0_c_ifspec
;
extern
__MIDL_itf_unknwnbase_0000_0001_v0_0_s_ifspec
;
#ifndef __AsyncIUnknown_INTERFACE_DEFINED__
#define __AsyncIUnknown_INTERFACE_DEFINED__
EXTERN_C const IID IID_AsyncIUnknown;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("000e0000-0000-0000-C000-000000000046")
struct
__declspec
(uuid(
"000e0000-0000-0000-C000-000000000046"
))
__declspec
(novtable)
:
public
{
public
:
virtual HRESULT STDMETHODCALLTYPE Begin_QueryInterface(
/* [in] */ REFIID riid) = 0;
virtual HRESULT STDMETHODCALLTYPE Finish_QueryInterface(
__RPC__deref_out void **ppvObject) = 0;
virtual HRESULT STDMETHODCALLTYPE Begin_AddRef( void) = 0;
virtual
__stdcall
(
void
) =
0
;
virtual ULONG STDMETHODCALLTYPE Finish_AddRef( void) = 0;
virtual
__stdcall
(
void
) =
0
;
virtual HRESULT STDMETHODCALLTYPE Begin_Release( void) = 0;
virtual
__stdcall
(
void
) =
0
;
virtual ULONG STDMETHODCALLTYPE Finish_Release( void) = 0;
virtual
__stdcall
(
void
) =
0
;
};
#else /* C style interface */
typedef struct AsyncIUnknownVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
AsyncIUnknown * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
AsyncIUnknown * This);
ULONG ( STDMETHODCALLTYPE *Release )(
AsyncIUnknown * This);
HRESULT ( STDMETHODCALLTYPE *Begin_QueryInterface )(
AsyncIUnknown * This,
/* [in] */ REFIID riid);
HRESULT ( STDMETHODCALLTYPE *Finish_QueryInterface )(
AsyncIUnknown * This,
/* [annotation][out] */
__RPC__deref_out void **ppvObject);
HRESULT ( STDMETHODCALLTYPE *Begin_AddRef )(
AsyncIUnknown * This);
ULONG ( STDMETHODCALLTYPE *Finish_AddRef )(
AsyncIUnknown * This);
HRESULT ( STDMETHODCALLTYPE *Begin_Release )(
AsyncIUnknown * This);
ULONG ( STDMETHODCALLTYPE *Finish_Release )(
AsyncIUnknown * This);
END_INTERFACE
} AsyncIUnknownVtbl;
interface AsyncIUnknown
{
CONST_VTBL struct AsyncIUnknownVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define AsyncIUnknown_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define AsyncIUnknown_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define AsyncIUnknown_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define AsyncIUnknown_Begin_QueryInterface(This,riid) \
( (This)->lpVtbl -> Begin_QueryInterface(This,riid) )
#define AsyncIUnknown_Finish_QueryInterface(This,ppvObject) \
( (This)->lpVtbl -> Finish_QueryInterface(This,ppvObject) )
#define AsyncIUnknown_Begin_AddRef(This) \
( (This)->lpVtbl -> Begin_AddRef(This) )
#define AsyncIUnknown_Finish_AddRef(This) \
( (This)->lpVtbl -> Finish_AddRef(This) )
#define AsyncIUnknown_Begin_Release(This) \
( (This)->lpVtbl -> Begin_Release(This) )
#define AsyncIUnknown_Finish_Release(This) \
( (This)->lpVtbl -> Finish_Release(This) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __AsyncIUnknown_INTERFACE_DEFINED__ */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
extern
__MIDL_itf_unknwnbase_0000_0002_v0_0_c_ifspec
;
extern
__MIDL_itf_unknwnbase_0000_0002_v0_0_s_ifspec
;
#ifndef __IClassFactory_INTERFACE_DEFINED__
#define __IClassFactory_INTERFACE_DEFINED__
typedef /* [unique] */ __RPC_unique_pointer IClassFactory *LPCLASSFACTORY;
EXTERN_C const IID IID_IClassFactory;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("00000001-0000-0000-C000-000000000046")
struct
__declspec
(uuid(
"00000001-0000-0000-C000-000000000046"
))
__declspec
(novtable)
:
public
{
public
:
virtual /* [local] */ HRESULT STDMETHODCALLTYPE CreateInstance(
_In_opt_ IUnknown *pUnkOuter,
_COM_Outptr_ void **ppvObject) = 0;
virtual /* [local] */ HRESULT STDMETHODCALLTYPE LockServer(
) =
0
;
};
#else /* C style interface */
typedef struct IClassFactoryVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
__RPC__in IClassFactory * This,
/* [in] */ __RPC__in REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
__RPC__in IClassFactory * This);
ULONG ( STDMETHODCALLTYPE *Release )(
__RPC__in IClassFactory * This);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *CreateInstance )(
IClassFactory * This,
/* [annotation][unique][in] */
_In_opt_ IUnknown *pUnkOuter,
/* [annotation][in] */
_In_ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *LockServer )(
IClassFactory * This,
/* [in] */ BOOL fLock);
END_INTERFACE
} IClassFactoryVtbl;
interface IClassFactory
{
CONST_VTBL struct IClassFactoryVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IClassFactory_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IClassFactory_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IClassFactory_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IClassFactory_CreateInstance(This,pUnkOuter,riid,ppvObject) \
( (This)->lpVtbl -> CreateInstance(This,pUnkOuter,riid,ppvObject) )
#define IClassFactory_LockServer(This,fLock) \
( (This)->lpVtbl -> LockServer(This,fLock) )
#endif /* COBJMACROS */
#endif /* C style interface */
/* [call_as] */ HRESULT STDMETHODCALLTYPE IClassFactory_RemoteCreateInstance_Proxy(
__stdcall
IClassFactory_RemoteCreateInstance_Proxy
(
__RPC__in IClassFactory * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */ __RPC__deref_out_opt IUnknown **ppvObject);
void __RPC_STUB IClassFactory_RemoteCreateInstance_Stub(
void
__stdcall
IClassFactory_RemoteCreateInstance_Stub
(
*
,
*
,
,
*
);
__stdcall
IClassFactory_RemoteLockServer_Proxy
(
__RPC__in IClassFactory * This,
);
void __RPC_STUB IClassFactory_RemoteLockServer_Stub(
void
__stdcall
IClassFactory_RemoteLockServer_Stub
(
*
,
*
,
,
*
);
#endif /* __IClassFactory_INTERFACE_DEFINED__ */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
extern
__MIDL_itf_unknwnbase_0000_0003_v0_0_c_ifspec
;
extern
__MIDL_itf_unknwnbase_0000_0003_v0_0_s_ifspec
;
/* [local] */ HRESULT STDMETHODCALLTYPE IClassFactory_CreateInstance_Proxy(
__stdcall
IClassFactory_CreateInstance_Proxy
(
*
,
_In_opt_ IUnknown *pUnkOuter,
_COM_Outptr_ void **ppvObject);
/* [call_as] */ HRESULT STDMETHODCALLTYPE IClassFactory_CreateInstance_Stub(
__stdcall
IClassFactory_CreateInstance_Stub
(
__RPC__in IClassFactory * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */ __RPC__deref_out_opt IUnknown **ppvObject);
/* [local] */ HRESULT STDMETHODCALLTYPE IClassFactory_LockServer_Proxy(
__stdcall
IClassFactory_LockServer_Proxy
(
*
,
);
__stdcall
IClassFactory_LockServer_Stub
(
__RPC__in IClassFactory * This,
);
#ifdef __cplusplus
}
#endif
#endif