source: trunk/DirectShowSpy/DirectShowSpy_p.c @ 106

Last change on this file since 106 was 98, checked in by roman, 12 years ago
  • logs IMediaEvent, IMediaEventEx, IMediaEventSink calls
  • logs call stack for IMediaEventSink::Notify with EC_ERRORABORT
File size: 9.1 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 Wed Aug 22 01:07:15 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
100
101#if !defined(__RPC_WIN32__)
102#error  Invalid build platform for this stub.
103#endif
104
105#if !(TARGET_IS_NT50_OR_LATER)
106#error You need a Windows 2000 or later to run this stub because it uses these features:
107#error   /robust command line switch.
108#error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
109#error This app will fail with the RPC_X_WRONG_STUB_VERSION error.
110#endif
111
112
113static const DirectShowSpy_MIDL_PROC_FORMAT_STRING DirectShowSpy__MIDL_ProcFormatString =
114    {
115        0,
116        {
117
118                        0x0
119        }
120    };
121
122static const DirectShowSpy_MIDL_TYPE_FORMAT_STRING DirectShowSpy__MIDL_TypeFormatString =
123    {
124        0,
125        {
126                        NdrFcShort( 0x0 ),      /* 0 */
127
128                        0x0
129        }
130    };
131
132
133/* Object interface: IUnknown, ver. 0.0,
134   GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
135
136
137/* Object interface: IDispatch, ver. 0.0,
138   GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
139
140
141/* Object interface: ISpy, ver. 0.0,
142   GUID={0x6945711B,0xFE0F,0x4C54,{0x96,0x5F,0x5B,0x67,0x96,0x9C,0x28,0xB7}} */
143
144#pragma code_seg(".orpc")
145static const unsigned short ISpy_FormatStringOffsetTable[] =
146    {
147    (unsigned short) -1,
148    (unsigned short) -1,
149    (unsigned short) -1,
150    (unsigned short) -1,
151    0
152    };
153
154static const MIDL_STUBLESS_PROXY_INFO ISpy_ProxyInfo =
155    {
156    &Object_StubDesc,
157    DirectShowSpy__MIDL_ProcFormatString.Format,
158    &ISpy_FormatStringOffsetTable[-3],
159    0,
160    0,
161    0
162    };
163
164
165static const MIDL_SERVER_INFO ISpy_ServerInfo = 
166    {
167    &Object_StubDesc,
168    0,
169    DirectShowSpy__MIDL_ProcFormatString.Format,
170    &ISpy_FormatStringOffsetTable[-3],
171    0,
172    0,
173    0,
174    0};
175CINTERFACE_PROXY_VTABLE(7) _ISpyProxyVtbl = 
176{
177    0,
178    &IID_ISpy,
179    IUnknown_QueryInterface_Proxy,
180    IUnknown_AddRef_Proxy,
181    IUnknown_Release_Proxy ,
182    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfoCount */ ,
183    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfo */ ,
184    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetIDsOfNames */ ,
185    0 /* IDispatch_Invoke_Proxy */
186};
187
188
189static const PRPC_STUB_FUNCTION ISpy_table[] =
190{
191    STUB_FORWARDING_FUNCTION,
192    STUB_FORWARDING_FUNCTION,
193    STUB_FORWARDING_FUNCTION,
194    STUB_FORWARDING_FUNCTION
195};
196
197CInterfaceStubVtbl _ISpyStubVtbl =
198{
199    &IID_ISpy,
200    &ISpy_ServerInfo,
201    7,
202    &ISpy_table[-3],
203    CStdStubBuffer_DELEGATING_METHODS
204};
205
206
207/* Object interface: IFilterMapperSpy, ver. 0.0,
208   GUID={0x34B280D7,0xA144,0x4a64,{0xBC,0xB9,0x36,0x16,0x89,0x6F,0x68,0x77}} */
209
210#pragma code_seg(".orpc")
211static const unsigned short IFilterMapperSpy_FormatStringOffsetTable[] =
212    {
213    (unsigned short) -1,
214    (unsigned short) -1,
215    (unsigned short) -1,
216    (unsigned short) -1,
217    0
218    };
219
220static const MIDL_STUBLESS_PROXY_INFO IFilterMapperSpy_ProxyInfo =
221    {
222    &Object_StubDesc,
223    DirectShowSpy__MIDL_ProcFormatString.Format,
224    &IFilterMapperSpy_FormatStringOffsetTable[-3],
225    0,
226    0,
227    0
228    };
229
230
231static const MIDL_SERVER_INFO IFilterMapperSpy_ServerInfo = 
232    {
233    &Object_StubDesc,
234    0,
235    DirectShowSpy__MIDL_ProcFormatString.Format,
236    &IFilterMapperSpy_FormatStringOffsetTable[-3],
237    0,
238    0,
239    0,
240    0};
241CINTERFACE_PROXY_VTABLE(7) _IFilterMapperSpyProxyVtbl = 
242{
243    0,
244    &IID_IFilterMapperSpy,
245    IUnknown_QueryInterface_Proxy,
246    IUnknown_AddRef_Proxy,
247    IUnknown_Release_Proxy ,
248    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfoCount */ ,
249    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfo */ ,
250    0 /* (void *) (INT_PTR) -1 /* IDispatch::GetIDsOfNames */ ,
251    0 /* IDispatch_Invoke_Proxy */
252};
253
254
255static const PRPC_STUB_FUNCTION IFilterMapperSpy_table[] =
256{
257    STUB_FORWARDING_FUNCTION,
258    STUB_FORWARDING_FUNCTION,
259    STUB_FORWARDING_FUNCTION,
260    STUB_FORWARDING_FUNCTION
261};
262
263CInterfaceStubVtbl _IFilterMapperSpyStubVtbl =
264{
265    &IID_IFilterMapperSpy,
266    &IFilterMapperSpy_ServerInfo,
267    7,
268    &IFilterMapperSpy_table[-3],
269    CStdStubBuffer_DELEGATING_METHODS
270};
271
272static const MIDL_STUB_DESC Object_StubDesc = 
273    {
274    0,
275    NdrOleAllocate,
276    NdrOleFree,
277    0,
278    0,
279    0,
280    0,
281    0,
282    DirectShowSpy__MIDL_TypeFormatString.Format,
283    0, /* -error bounds_check flag */
284    0x50002, /* Ndr library version */
285    0,
286    0x70001f4, /* MIDL Version 7.0.500 */
287    0,
288    0,
289    0,  /* notify & notify_flag routine table */
290    0x1, /* MIDL flag */
291    0, /* cs routines */
292    0,   /* proxy/server info */
293    0
294    };
295
296const CInterfaceProxyVtbl * _DirectShowSpy_ProxyVtblList[] = 
297{
298    ( CInterfaceProxyVtbl *) &_ISpyProxyVtbl,
299    ( CInterfaceProxyVtbl *) &_IFilterMapperSpyProxyVtbl,
300    0
301};
302
303const CInterfaceStubVtbl * _DirectShowSpy_StubVtblList[] = 
304{
305    ( CInterfaceStubVtbl *) &_ISpyStubVtbl,
306    ( CInterfaceStubVtbl *) &_IFilterMapperSpyStubVtbl,
307    0
308};
309
310PCInterfaceName const _DirectShowSpy_InterfaceNamesList[] = 
311{
312    "ISpy",
313    "IFilterMapperSpy",
314    0
315};
316
317const IID *  _DirectShowSpy_BaseIIDList[] = 
318{
319    &IID_IDispatch,
320    &IID_IDispatch,
321    0
322};
323
324
325#define _DirectShowSpy_CHECK_IID(n)     IID_GENERIC_CHECK_IID( _DirectShowSpy, pIID, n)
326
327int __stdcall _DirectShowSpy_IID_Lookup( const IID * pIID, int * pIndex )
328{
329    IID_BS_LOOKUP_SETUP
330
331    IID_BS_LOOKUP_INITIAL_TEST( _DirectShowSpy, 2, 1 )
332    IID_BS_LOOKUP_RETURN_RESULT( _DirectShowSpy, 2, *pIndex )
333   
334}
335
336const ExtendedProxyFileInfo DirectShowSpy_ProxyFileInfo = 
337{
338    (PCInterfaceProxyVtblList *) & _DirectShowSpy_ProxyVtblList,
339    (PCInterfaceStubVtblList *) & _DirectShowSpy_StubVtblList,
340    (const PCInterfaceName * ) & _DirectShowSpy_InterfaceNamesList,
341    (const IID ** ) & _DirectShowSpy_BaseIIDList,
342    & _DirectShowSpy_IID_Lookup, 
343    2,
344    2,
345    0, /* table of [async_uuid] interfaces */
346    0, /* Filler1 */
347    0, /* Filler2 */
348    0  /* Filler3 */
349};
350#pragma optimize("", on )
351#if _MSC_VER >= 1200
352#pragma warning(pop)
353#endif
354
355
356#endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/
357
Note: See TracBrowser for help on using the repository browser.