199 lines
4.8 KiB
C++
199 lines
4.8 KiB
C++
|
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */
|
|
|
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
/* File created by MIDL compiler version 6.00.0347 */
|
|
/* Compiler settings for ctxtcall.idl:
|
|
Oicf, W1, Zp8, env=Win32 (32b run)
|
|
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( )
|
|
|
|
|
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
|
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
|
#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 __ctxtcall_h__
|
|
#define __ctxtcall_h__
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
|
#pragma once
|
|
#endif
|
|
|
|
/* Forward Declarations */
|
|
|
|
#ifndef __IContextCallback_FWD_DEFINED__
|
|
#define __IContextCallback_FWD_DEFINED__
|
|
typedef interface IContextCallback IContextCallback;
|
|
#endif /* __IContextCallback_FWD_DEFINED__ */
|
|
|
|
|
|
/* header files for imported files */
|
|
#include "wtypes.h"
|
|
#include "objidl.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
void * __RPC_USER MIDL_user_allocate(size_t);
|
|
void __RPC_USER MIDL_user_free( void * );
|
|
|
|
/* interface __MIDL_itf_ctxtcall_0000 */
|
|
/* [local] */
|
|
|
|
//+-----------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
//------------------------------------------------------------------
|
|
typedef struct tagComCallData
|
|
{
|
|
DWORD dwDispid;
|
|
DWORD dwReserved;
|
|
void *pUserDefined;
|
|
} ComCallData;
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_ctxtcall_0000_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_ctxtcall_0000_v0_0_s_ifspec;
|
|
|
|
#ifndef __IContextCallback_INTERFACE_DEFINED__
|
|
#define __IContextCallback_INTERFACE_DEFINED__
|
|
|
|
/* interface IContextCallback */
|
|
/* [unique][uuid][object][local] */
|
|
|
|
typedef /* [ref] */ HRESULT ( __stdcall *PFNCONTEXTCALL )(
|
|
ComCallData *pParam);
|
|
|
|
|
|
EXTERN_C const IID IID_IContextCallback;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("000001da-0000-0000-C000-000000000046")
|
|
IContextCallback : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE ContextCallback(
|
|
/* [in] */ PFNCONTEXTCALL pfnCallback,
|
|
/* [in] */ ComCallData *pParam,
|
|
/* [in] */ REFIID riid,
|
|
/* [in] */ int iMethod,
|
|
/* [in] */ IUnknown *pUnk) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IContextCallbackVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
IContextCallback * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
IContextCallback * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
IContextCallback * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *ContextCallback )(
|
|
IContextCallback * This,
|
|
/* [in] */ PFNCONTEXTCALL pfnCallback,
|
|
/* [in] */ ComCallData *pParam,
|
|
/* [in] */ REFIID riid,
|
|
/* [in] */ int iMethod,
|
|
/* [in] */ IUnknown *pUnk);
|
|
|
|
END_INTERFACE
|
|
} IContextCallbackVtbl;
|
|
|
|
interface IContextCallback
|
|
{
|
|
CONST_VTBL struct IContextCallbackVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IContextCallback_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define IContextCallback_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define IContextCallback_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define IContextCallback_ContextCallback(This,pfnCallback,pParam,riid,iMethod,pUnk) \
|
|
(This)->lpVtbl -> ContextCallback(This,pfnCallback,pParam,riid,iMethod,pUnk)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IContextCallback_ContextCallback_Proxy(
|
|
IContextCallback * This,
|
|
/* [in] */ PFNCONTEXTCALL pfnCallback,
|
|
/* [in] */ ComCallData *pParam,
|
|
/* [in] */ REFIID riid,
|
|
/* [in] */ int iMethod,
|
|
/* [in] */ IUnknown *pUnk);
|
|
|
|
|
|
void __RPC_STUB IContextCallback_ContextCallback_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IContextCallback_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|