source: trunk/DirectShowSpy/DirectShowSpy_p.c @ 150

Last change on this file since 150 was 150, checked in by roman, 10 years ago
File size: 11.3 KB
Line 
1
2
3/* this ALWAYS GENERATED file contains the proxy stub code */
4
5
6 /* File created by MIDL compiler version 7.00.0500 */
7/* at Fri Nov 23 16:43:33 2012
8 */
9/* Compiler settings for .\DirectShowSpy.idl:
10    Oicf, W1, Zp8, env=Win32 (32b run)
11    protocol : dce , ms_ext, c_ext, robust
12    error checks: stub_data
13    VC __declspec() decoration level:
14         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
15         DECLSPEC_UUID(), MIDL_INTERFACE()
16*/
17//@@MIDL_FILE_HEADING(  )
18
19#if !defined(_M_IA64) && !defined(_M_AMD64)
20
21
22#pragma warning( disable: 4049 )  /* more than 64k source lines */
23#if _MSC_VER >= 1200
24#pragma warning(push)
25#endif
26
27#pragma warning( disable: 4211 )  /* redefine extern to static */
28#pragma warning( disable: 4232 )  /* dllimport identity*/
29#pragma warning( disable: 4024 )  /* array to pointer mapping*/
30#pragma warning( disable: 4152 )  /* function/data pointer conversion in expression */
31#pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
32
33#pragma optimize("", off )
34
35#define USE_STUBLESS_PROXY
36
37
38/* verify that the <rpcproxy.h> version is high enough to compile this file*/
39#ifndef __REDQ_RPCPROXY_H_VERSION__
40#define __REQUIRED_RPCPROXY_H_VERSION__ 475
41#endif
42
43
44#include "rpcproxy.h"
45#ifndef __RPCPROXY_H_VERSION__
46#error this stub requires an updated version of <rpcproxy.h>
47#endif // __RPCPROXY_H_VERSION__
48
49
50#include "DirectShowSpy_i.h"
51
52#define TYPE_FORMAT_STRING_SIZE   3                                 
53#define PROC_FORMAT_STRING_SIZE   1                                 
54#define EXPR_FORMAT_STRING_SIZE   1                                 
55#define TRANSMIT_AS_TABLE_SIZE    0           
56#define WIRE_MARSHAL_TABLE_SIZE   0           
57
58typedef struct _DirectShowSpy_MIDL_TYPE_FORMAT_STRING
59    {
60    short          Pad;
61    unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
62    } DirectShowSpy_MIDL_TYPE_FORMAT_STRING;
63
64typedef struct _DirectShowSpy_MIDL_PROC_FORMAT_STRING
65    {
66    short          Pad;
67    unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
68    } DirectShowSpy_MIDL_PROC_FORMAT_STRING;
69
70typedef struct _DirectShowSpy_MIDL_EXPR_FORMAT_STRING
71    {
72    long          Pad;
73    unsigned char  Format[ EXPR_FORMAT_STRING_SIZE ];
74    } DirectShowSpy_MIDL_EXPR_FORMAT_STRING;
75
76
77static RPC_SYNTAX_IDENTIFIER  _RpcTransferSyntax = 
78{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
79
80
81extern const DirectShowSpy_MIDL_TYPE_FORMAT_STRING DirectShowSpy__MIDL_TypeFormatString;
82extern const DirectShowSpy_MIDL_PROC_FORMAT_STRING DirectShowSpy__MIDL_ProcFormatString;
83extern const DirectShowSpy_MIDL_EXPR_FORMAT_STRING DirectShowSpy__MIDL_ExprFormatString;
84
85
86extern const MIDL_STUB_DESC Object_StubDesc;
87
88
89extern const MIDL_SERVER_INFO ISpy_ServerInfo;
90extern const MIDL_STUBLESS_PROXY_INFO ISpy_ProxyInfo;
91
92
93extern const MIDL_STUB_DESC Object_StubDesc;
94
95
96extern const MIDL_SERVER_INFO IFilterMapperSpy_ServerInfo;
97extern const MIDL_STUBLESS_PROXY_INFO IFilterMapperSpy_ProxyInfo;
98
99
100extern const MIDL_STUB_DESC Object_StubDesc;
101
102
103extern const MIDL_SERVER_INFO ISystemDeviceEnumeratorSpy_ServerInfo;
104extern const MIDL_STUBLESS_PROXY_INFO ISystemDeviceEnumeratorSpy_ProxyInfo;
105
106
107
108#if !defined(__RPC_WIN32__)
109#error  Invalid build platform for this stub.
110#endif
111
112#if !(TARGET_IS_NT50_OR_LATER)
113#error You need a Windows 2000 or later to run this stub because it uses these features:
114#error   /robust command line switch.
115#error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
116#error This app will fail with the RPC_X_WRONG_STUB_VERSION error.
117#endif
118
119
120static const DirectShowSpy_MIDL_PROC_FORMAT_STRING DirectShowSpy__MIDL_ProcFormatString =
121    {
122        0,
123        {
124
125                        0x0
126        }
127    };
128
129static const DirectShowSpy_MIDL_TYPE_FORMAT_STRING DirectShowSpy__MIDL_TypeFormatString =
130    {
131        0,
132        {
133                        NdrFcShort( 0x0 ),      /* 0 */
134
135                        0x0
136        }
137    };
138
139
140/* Object interface: IUnknown, ver. 0.0,
141   GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
142
143
144/* Object interface: IDispatch, ver. 0.0,
145   GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
146
147
148/* Object interface: ISpy, ver. 0.0,
149   GUID={0x6945711B,0xFE0F,0x4C54,{0x96,0x5F,0x5B,0x67,0x96,0x9C,0x28,0xB7}} */
150
151#pragma code_seg(".orpc")
152static const unsigned short ISpy_FormatStringOffsetTable[] =
153    {
154    (unsigned short) -1,
155    (unsigned short) -1,
156    (unsigned short) -1,
157    (unsigned short) -1,
158    0
159    };
160
161static const MIDL_STUBLESS_PROXY_INFO ISpy_ProxyInfo =
162    {
163    &Object_StubDesc,
164    DirectShowSpy__MIDL_ProcFormatString.Format,
165    &ISpy_FormatStringOffsetTable[-3],
166    0,
167    0,
168    0
169    };
170
171
172static const MIDL_SERVER_INFO ISpy_ServerInfo = 
173    {
174    &Object_StubDesc,
175    0,
176    DirectShowSpy__MIDL_ProcFormatString.Format,
177    &ISpy_FormatStringOffsetTable[-3],
178    0,
179    0,
180    0,
181    0};
182CINTERFACE_PROXY_VTABLE(7) _ISpyProxyVtbl = 
183{
184    0,
185    &IID_ISpy,
186    IUnknown_QueryInterface_Proxy,
187    IUnknown_AddRef_Proxy,
188    IUnknown_Release_Proxy ,
189    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfoCount */ ,
190    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfo */ ,
191    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetIDsOfNames */ ,
192    0 /* IDispatch_Invoke_Proxy */
193};
194
195
196static const PRPC_STUB_FUNCTION ISpy_table[] =
197{
198    STUB_FORWARDING_FUNCTION,
199    STUB_FORWARDING_FUNCTION,
200    STUB_FORWARDING_FUNCTION,
201    STUB_FORWARDING_FUNCTION
202};
203
204CInterfaceStubVtbl _ISpyStubVtbl =
205{
206    &IID_ISpy,
207    &ISpy_ServerInfo,
208    7,
209    &ISpy_table[-3],
210    CStdStubBuffer_DELEGATING_METHODS
211};
212
213
214/* Object interface: IFilterMapperSpy, ver. 0.0,
215   GUID={0x34B280D7,0xA144,0x4a64,{0xBC,0xB9,0x36,0x16,0x89,0x6F,0x68,0x77}} */
216
217#pragma code_seg(".orpc")
218static const unsigned short IFilterMapperSpy_FormatStringOffsetTable[] =
219    {
220    (unsigned short) -1,
221    (unsigned short) -1,
222    (unsigned short) -1,
223    (unsigned short) -1,
224    0
225    };
226
227static const MIDL_STUBLESS_PROXY_INFO IFilterMapperSpy_ProxyInfo =
228    {
229    &Object_StubDesc,
230    DirectShowSpy__MIDL_ProcFormatString.Format,
231    &IFilterMapperSpy_FormatStringOffsetTable[-3],
232    0,
233    0,
234    0
235    };
236
237
238static const MIDL_SERVER_INFO IFilterMapperSpy_ServerInfo = 
239    {
240    &Object_StubDesc,
241    0,
242    DirectShowSpy__MIDL_ProcFormatString.Format,
243    &IFilterMapperSpy_FormatStringOffsetTable[-3],
244    0,
245    0,
246    0,
247    0};
248CINTERFACE_PROXY_VTABLE(7) _IFilterMapperSpyProxyVtbl = 
249{
250    0,
251    &IID_IFilterMapperSpy,
252    IUnknown_QueryInterface_Proxy,
253    IUnknown_AddRef_Proxy,
254    IUnknown_Release_Proxy ,
255    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfoCount */ ,
256    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfo */ ,
257    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetIDsOfNames */ ,
258    0 /* IDispatch_Invoke_Proxy */
259};
260
261
262static const PRPC_STUB_FUNCTION IFilterMapperSpy_table[] =
263{
264    STUB_FORWARDING_FUNCTION,
265    STUB_FORWARDING_FUNCTION,
266    STUB_FORWARDING_FUNCTION,
267    STUB_FORWARDING_FUNCTION
268};
269
270CInterfaceStubVtbl _IFilterMapperSpyStubVtbl =
271{
272    &IID_IFilterMapperSpy,
273    &IFilterMapperSpy_ServerInfo,
274    7,
275    &IFilterMapperSpy_table[-3],
276    CStdStubBuffer_DELEGATING_METHODS
277};
278
279
280/* Object interface: ISystemDeviceEnumeratorSpy, ver. 0.0,
281   GUID={0x14EB119F,0x25CE,0x4654,{0xAB,0xE1,0xE6,0x74,0x2A,0xF0,0x3F,0x2D}} */
282
283#pragma code_seg(".orpc")
284static const unsigned short ISystemDeviceEnumeratorSpy_FormatStringOffsetTable[] =
285    {
286    (unsigned short) -1,
287    (unsigned short) -1,
288    (unsigned short) -1,
289    (unsigned short) -1,
290    0
291    };
292
293static const MIDL_STUBLESS_PROXY_INFO ISystemDeviceEnumeratorSpy_ProxyInfo =
294    {
295    &Object_StubDesc,
296    DirectShowSpy__MIDL_ProcFormatString.Format,
297    &ISystemDeviceEnumeratorSpy_FormatStringOffsetTable[-3],
298    0,
299    0,
300    0
301    };
302
303
304static const MIDL_SERVER_INFO ISystemDeviceEnumeratorSpy_ServerInfo = 
305    {
306    &Object_StubDesc,
307    0,
308    DirectShowSpy__MIDL_ProcFormatString.Format,
309    &ISystemDeviceEnumeratorSpy_FormatStringOffsetTable[-3],
310    0,
311    0,
312    0,
313    0};
314CINTERFACE_PROXY_VTABLE(7) _ISystemDeviceEnumeratorSpyProxyVtbl = 
315{
316    0,
317    &IID_ISystemDeviceEnumeratorSpy,
318    IUnknown_QueryInterface_Proxy,
319    IUnknown_AddRef_Proxy,
320    IUnknown_Release_Proxy ,
321    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfoCount */ ,
322    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfo */ ,
323    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetIDsOfNames */ ,
324    0 /* IDispatch_Invoke_Proxy */
325};
326
327
328static const PRPC_STUB_FUNCTION ISystemDeviceEnumeratorSpy_table[] =
329{
330    STUB_FORWARDING_FUNCTION,
331    STUB_FORWARDING_FUNCTION,
332    STUB_FORWARDING_FUNCTION,
333    STUB_FORWARDING_FUNCTION
334};
335
336CInterfaceStubVtbl _ISystemDeviceEnumeratorSpyStubVtbl =
337{
338    &IID_ISystemDeviceEnumeratorSpy,
339    &ISystemDeviceEnumeratorSpy_ServerInfo,
340    7,
341    &ISystemDeviceEnumeratorSpy_table[-3],
342    CStdStubBuffer_DELEGATING_METHODS
343};
344
345static const MIDL_STUB_DESC Object_StubDesc = 
346    {
347    0,
348    NdrOleAllocate,
349    NdrOleFree,
350    0,
351    0,
352    0,
353    0,
354    0,
355    DirectShowSpy__MIDL_TypeFormatString.Format,
356    0, /* -error bounds_check flag */
357    0x50002, /* Ndr library version */
358    0,
359    0x70001f4, /* MIDL Version 7.0.500 */
360    0,
361    0,
362    0,  /* notify & notify_flag routine table */
363    0x1, /* MIDL flag */
364    0, /* cs routines */
365    0,   /* proxy/server info */
366    0
367    };
368
369const CInterfaceProxyVtbl * _DirectShowSpy_ProxyVtblList[] = 
370{
371    ( CInterfaceProxyVtbl *) &_ISpyProxyVtbl,
372    ( CInterfaceProxyVtbl *) &_ISystemDeviceEnumeratorSpyProxyVtbl,
373    ( CInterfaceProxyVtbl *) &_IFilterMapperSpyProxyVtbl,
374    0
375};
376
377const CInterfaceStubVtbl * _DirectShowSpy_StubVtblList[] = 
378{
379    ( CInterfaceStubVtbl *) &_ISpyStubVtbl,
380    ( CInterfaceStubVtbl *) &_ISystemDeviceEnumeratorSpyStubVtbl,
381    ( CInterfaceStubVtbl *) &_IFilterMapperSpyStubVtbl,
382    0
383};
384
385PCInterfaceName const _DirectShowSpy_InterfaceNamesList[] = 
386{
387    "ISpy",
388    "ISystemDeviceEnumeratorSpy",
389    "IFilterMapperSpy",
390    0
391};
392
393const IID *  _DirectShowSpy_BaseIIDList[] = 
394{
395    &IID_IDispatch,
396    &IID_IDispatch,
397    &IID_IDispatch,
398    0
399};
400
401
402#define _DirectShowSpy_CHECK_IID(n)     IID_GENERIC_CHECK_IID( _DirectShowSpy, pIID, n)
403
404int __stdcall _DirectShowSpy_IID_Lookup( const IID * pIID, int * pIndex )
405{
406    IID_BS_LOOKUP_SETUP
407
408    IID_BS_LOOKUP_INITIAL_TEST( _DirectShowSpy, 3, 2 )
409    IID_BS_LOOKUP_NEXT_TEST( _DirectShowSpy, 1 )
410    IID_BS_LOOKUP_RETURN_RESULT( _DirectShowSpy, 3, *pIndex )
411   
412}
413
414const ExtendedProxyFileInfo DirectShowSpy_ProxyFileInfo = 
415{
416    (PCInterfaceProxyVtblList *) & _DirectShowSpy_ProxyVtblList,
417    (PCInterfaceStubVtblList *) & _DirectShowSpy_StubVtblList,
418    (const PCInterfaceName * ) & _DirectShowSpy_InterfaceNamesList,
419    (const IID ** ) & _DirectShowSpy_BaseIIDList,
420    & _DirectShowSpy_IID_Lookup, 
421    3,
422    2,
423    0, /* table of [async_uuid] interfaces */
424    0, /* Filler1 */
425    0, /* Filler2 */
426    0  /* Filler3 */
427};
428#pragma optimize("", on )
429#if _MSC_VER >= 1200
430#pragma warning(pop)
431#endif
432
433
434#endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/
435
Note: See TracBrowser for help on using the repository browser.