1 // This is a part of the Active Template Library.
2 // Copyright (C) Microsoft Corporation
3 // All rights reserved.
4 //
5 // This source code is only intended as a supplement to the
6 // Active Template Library Reference and related
7 // electronic documentation provided with the library.
8 // See these sources for detailed information regarding the    
9 // Active Template Library product.
10
11
12 #pragma warning( disable: 4049 )  /* more than 64k source lines */
13
14 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
15
16
17  /* File created by MIDL compiler version 5.03.0280 */
18 /* at Wed Mar 08 12:46:13 2000
19  */
20 /* Compiler settings for dbgautoattach.idl:
21     Os (OptLev=s), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
22     error checks: allocation ref bounds_check enum stub_data 
23     VC __declspec() decoration level: 
24          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
25          DECLSPEC_UUID(), MIDL_INTERFACE()
26 */
27 //@@MIDL_FILE_HEADING(  )
28
29
30 /* verify that the <rpcndr.h> version is high enough to compile this file*/
31 #ifndef __REQUIRED_RPCNDR_H_VERSION__
32 #define __REQUIRED_RPCNDR_H_VERSION__ 440
33 #endif
34
35 #include "rpc.h"
36 #include "rpcndr.h"
37
38 #ifndef __RPCNDR_H_VERSION__
39 #error this stub requires an updated version of <rpcndr.h>
40 #endif // __RPCNDR_H_VERSION__
41
42 #ifndef COM_NO_WINDOWS_H
43 #include "windows.h"
44 #include "ole2.h"
45 #endif /*COM_NO_WINDOWS_H*/
46
47 #ifndef __dbgautoattach_h__
48 #define __dbgautoattach_h__
49
50 /* Forward Declarations */ 
51
52 #ifndef __IDebugAutoAttach_FWD_DEFINED__
53 #define __IDebugAutoAttach_FWD_DEFINED__
54 typedef interface IDebugAutoAttach IDebugAutoAttach;
55 #endif     /* __IDebugAutoAttach_FWD_DEFINED__ */
56
57
58 /* header files for imported files */
59 #include "ocidl.h"
60
61 #ifdef __cplusplus
62 extern "C"{
63 #endif 
64
65 void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
66 void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
67
68 /* interface __MIDL_itf_dbgautoattach_0000 */
69 /* [local] */ 
70
71 DEFINE_GUID(CLSID_DebugAutoAttach, 0x70f65411, 0xfe8c, 0x4248, 0xbc, 0xff, 0x70, 0x1c, 0x8b, 0x2f, 0x45, 0x29);
72
73
74 extern RPC_IF_HANDLE __MIDL_itf_dbgautoattach_0000_v0_0_c_ifspec;
75 extern RPC_IF_HANDLE __MIDL_itf_dbgautoattach_0000_v0_0_s_ifspec;
76
77 #ifndef __IDebugAutoAttach_INTERFACE_DEFINED__
78 #define __IDebugAutoAttach_INTERFACE_DEFINED__
79
80 /* interface IDebugAutoAttach */
81 /* [unique][uuid][object] */ 
82
83
84 enum __MIDL_IDebugAutoAttach_0001
85     {    AUTOATTACH_PROGRAM_WIN32    = 0x1,
86     AUTOATTACH_PROGRAM_COMPLUS    = 0x2
87     };
88 typedef DWORD AUTOATTACH_PROGRAM_TYPE;
89
90
91 EXTERN_C const IID IID_IDebugAutoAttach;
92
93 #if defined(__cplusplus) && !defined(CINTERFACE)
94
95     MIDL_INTERFACE("E9958F1F-0A56-424a-A300-530EBB2E9865")
96     IDebugAutoAttach : public IUnknown
97     {
98     public:
99         virtual HRESULT STDMETHODCALLTYPE AutoAttach( 
100             /* [in] */ REFGUID guidPort,
101             /* [in] */ DWORD dwPid,
102             /* [in] */ AUTOATTACH_PROGRAM_TYPE dwProgramType,
103             /* [in] */ DWORD dwProgramId,
104             /* [in] */ LPCWSTR pszSessionId) = 0;
105
106     };
107
108 #else     /* C style interface */
109
110     typedef struct IDebugAutoAttachVtbl
111     {
112         BEGIN_INTERFACE
Lines 113 ... 122 are skipped.
123             IDebugAutoAttach __RPC_FAR * This);
124
125         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AutoAttach )( 
126             IDebugAutoAttach __RPC_FAR * This,
127             /* [in] */ REFGUID guidPort,
128             /* [in] */ DWORD dwPid,
129             /* [in] */ AUTOATTACH_PROGRAM_TYPE dwProgramType,
130             /* [in] */ DWORD dwProgramId,
131             /* [in] */ LPCWSTR pszSessionId);
132
133         END_INTERFACE
134     } IDebugAutoAttachVtbl;
135
136     interface IDebugAutoAttach
137     {
138         CONST_VTBL struct IDebugAutoAttachVtbl __RPC_FAR *lpVtbl;
139     };
140
141
142
143 #ifdef COBJMACROS
144
145
146 #define IDebugAutoAttach_QueryInterface(This,riid,ppvObject)    \
147     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
148
149 #define IDebugAutoAttach_AddRef(This)    \
150     (This)->lpVtbl -> AddRef(This)
151
152 #define IDebugAutoAttach_Release(This)    \
153     (This)->lpVtbl -> Release(This)
154
155
156 #define IDebugAutoAttach_AutoAttach(This,guidPort,dwPid,dwProgramType,dwProgramId,pszSessionId)    \
157     (This)->lpVtbl -> AutoAttach(This,guidPort,dwPid,dwProgramType,dwProgramId,pszSessionId)
158
159 #endif /* COBJMACROS */
160
161
162 #endif     /* C style interface */
163
164
165
166 HRESULT STDMETHODCALLTYPE IDebugAutoAttach_AutoAttach_Proxy( 
167     IDebugAutoAttach __RPC_FAR * This,
168     /* [in] */ REFGUID guidPort,
169     /* [in] */ DWORD dwPid,
170     /* [in] */ AUTOATTACH_PROGRAM_TYPE dwProgramType,
171     /* [in] */ DWORD dwProgramId,
172     /* [in] */ LPCWSTR pszSessionId);
173
174
175 void __RPC_STUB IDebugAutoAttach_AutoAttach_Stub(
176     IRpcStubBuffer *This,
177     IRpcChannelBuffer *_pRpcChannelBuffer,
178     PRPC_MESSAGE _pRpcMessage,
179     DWORD *_pdwStubPhase);
180
181
182
183 #endif     /* __IDebugAutoAttach_INTERFACE_DEFINED__ */
184
185
186 /* Additional Prototypes for ALL interfaces */
187
188 /* end of Additional Prototypes */
189
190 #ifdef __cplusplus
191 }
192 #endif
193
194 #endif
195
196
197