3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
6 /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for proffserv.idl:
8 Oicf, W0, Zp8, env=Win32 (32b run)
9 protocol : dce , ms_ext, c_ext, robust
10 error checks: allocation ref bounds_check enum stub_data
11 VC __declspec() decoration level:
12 __declspec(uuid()), __declspec(selectany), __declspec(novtable)
13 DECLSPEC_UUID(), MIDL_INTERFACE()
15 //@@MIDL_FILE_HEADING( )
17 #pragma warning( disable: 4049 ) /* more than 64k source lines */
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 475
25 /* verify that the <rpcsal.h> version is high enough to compile this file*/
26 #ifndef __REQUIRED_RPCSAL_H_VERSION__
27 #define __REQUIRED_RPCSAL_H_VERSION__ 100
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
37 #ifndef COM_NO_WINDOWS_H
40 #endif /*COM_NO_WINDOWS_H*/
42 #ifndef __proffserv_h__
43 #define __proffserv_h__
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
49 /* Forward Declarations */
51 #ifndef __IProfferService_FWD_DEFINED__
52 #define __IProfferService_FWD_DEFINED__
53 typedef interface IProfferService IProfferService
;
54 #endif /* __IProfferService_FWD_DEFINED__ */
57 /* header files for imported files */
65 /* interface __MIDL_itf_proffserv_0000_0000 */
68 //+-------------------------------------------------------------------------
71 // Copyright 1995 - 1997 Microsoft Corporation. All Rights Reserved.
75 //--------------------------------------------------------------------------
80 extern RPC_IF_HANDLE __MIDL_itf_proffserv_0000_0000_v0_0_c_ifspec
;
81 extern RPC_IF_HANDLE __MIDL_itf_proffserv_0000_0000_v0_0_s_ifspec
;
83 #ifndef __IProfferService_INTERFACE_DEFINED__
84 #define __IProfferService_INTERFACE_DEFINED__
86 /* interface IProfferService */
87 /* [unique][uuid][local][object] */
90 EXTERN_C
const IID IID_IProfferService
;
92 #if defined(__cplusplus) && !defined(CINTERFACE)
94 MIDL_INTERFACE("CB728B20-F786-11ce-92AD-00AA00A74CD0")
95 IProfferService
: public IUnknown
98 virtual HRESULT STDMETHODCALLTYPE
ProfferService(
99 /* [in] */ REFGUID rguidService
,
100 /* [in] */ IServiceProvider
*psp
,
101 /* [out] */ DWORD
*pdwCookie
) = 0;
103 virtual HRESULT STDMETHODCALLTYPE
RevokeService(
104 /* [in] */ DWORD dwCookie
) = 0;
108 #else /* C style interface */
110 typedef struct IProfferServiceVtbl
114 HRESULT ( STDMETHODCALLTYPE
*QueryInterface
)(
115 IProfferService
* This
,
116 /* [in] */ REFIID riid
,
118 __RPC__deref_out
void **ppvObject
);
120 ULONG ( STDMETHODCALLTYPE
*AddRef
)(
121 IProfferService
* This
);
123 ULONG ( STDMETHODCALLTYPE
*Release
)(
124 IProfferService
* This
);
126 HRESULT ( STDMETHODCALLTYPE
*ProfferService
)(
127 IProfferService
* This
,
128 /* [in] */ REFGUID rguidService
,
129 /* [in] */ IServiceProvider
*psp
,
130 /* [out] */ DWORD
*pdwCookie
);
132 HRESULT ( STDMETHODCALLTYPE
*RevokeService
)(
133 IProfferService
* This
,
134 /* [in] */ DWORD dwCookie
);
137 } IProfferServiceVtbl
;
139 interface IProfferService
141 CONST_VTBL
struct IProfferServiceVtbl
*lpVtbl
;
149 #define IProfferService_QueryInterface(This,riid,ppvObject) \
150 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
152 #define IProfferService_AddRef(This) \
153 ( (This)->lpVtbl -> AddRef(This) )
155 #define IProfferService_Release(This) \
156 ( (This)->lpVtbl -> Release(This) )
159 #define IProfferService_ProfferService(This,rguidService,psp,pdwCookie) \
160 ( (This)->lpVtbl -> ProfferService(This,rguidService,psp,pdwCookie) )
162 #define IProfferService_RevokeService(This,dwCookie) \
163 ( (This)->lpVtbl -> RevokeService(This,dwCookie) )
165 #endif /* COBJMACROS */
168 #endif /* C style interface */
173 #endif /* __IProfferService_INTERFACE_DEFINED__ */
176 /* interface __MIDL_itf_proffserv_0000_0001 */
179 #define SID_SProfferService IID_IProfferService
183 extern RPC_IF_HANDLE __MIDL_itf_proffserv_0000_0001_v0_0_c_ifspec
;
184 extern RPC_IF_HANDLE __MIDL_itf_proffserv_0000_0001_v0_0_s_ifspec
;
186 /* Additional Prototypes for ALL interfaces */
188 /* end of Additional Prototypes */