source: trunk/Utilities/Miscellaneous/OutOfProcessComServer/Module_p.c @ 309

Last change on this file since 309 was 309, checked in by roman, 10 years ago
File size: 6.9 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.0555 */
7/* at Fri Aug 29 08:40:57 2014
8 */
9/* Compiler settings for Module.idl:
10    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
11    protocol : dce , ms_ext, c_ext, robust
12    error checks: allocation ref bounds_check enum 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 "Module_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 _Module_MIDL_TYPE_FORMAT_STRING
59    {
60    short          Pad;
61    unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
62    } Module_MIDL_TYPE_FORMAT_STRING;
63
64typedef struct _Module_MIDL_PROC_FORMAT_STRING
65    {
66    short          Pad;
67    unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
68    } Module_MIDL_PROC_FORMAT_STRING;
69
70typedef struct _Module_MIDL_EXPR_FORMAT_STRING
71    {
72    long          Pad;
73    unsigned char  Format[ EXPR_FORMAT_STRING_SIZE ];
74    } Module_MIDL_EXPR_FORMAT_STRING;
75
76
77static const RPC_SYNTAX_IDENTIFIER  _RpcTransferSyntax = 
78{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
79
80
81extern const Module_MIDL_TYPE_FORMAT_STRING Module__MIDL_TypeFormatString;
82extern const Module_MIDL_PROC_FORMAT_STRING Module__MIDL_ProcFormatString;
83extern const Module_MIDL_EXPR_FORMAT_STRING Module__MIDL_ExprFormatString;
84
85
86extern const MIDL_STUB_DESC Object_StubDesc;
87
88
89extern const MIDL_SERVER_INFO IFoo_ServerInfo;
90extern const MIDL_STUBLESS_PROXY_INFO IFoo_ProxyInfo;
91
92
93
94#if !defined(__RPC_WIN32__)
95#error  Invalid build platform for this stub.
96#endif
97
98#if !(TARGET_IS_NT50_OR_LATER)
99#error You need Windows 2000 or later to run this stub because it uses these features:
100#error   /robust command line switch.
101#error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
102#error This app will fail with the RPC_X_WRONG_STUB_VERSION error.
103#endif
104
105
106static const Module_MIDL_PROC_FORMAT_STRING Module__MIDL_ProcFormatString =
107    {
108        0,
109        {
110
111                        0x0
112        }
113    };
114
115static const Module_MIDL_TYPE_FORMAT_STRING Module__MIDL_TypeFormatString =
116    {
117        0,
118        {
119                        NdrFcShort( 0x0 ),      /* 0 */
120
121                        0x0
122        }
123    };
124
125
126/* Object interface: IUnknown, ver. 0.0,
127   GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
128
129
130/* Object interface: IDispatch, ver. 0.0,
131   GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
132
133
134/* Object interface: IFoo, ver. 0.0,
135   GUID={0x69AD79FA,0xE694,0x47C8,{0x80,0x1F,0x97,0x42,0xB3,0xED,0xE4,0x66}} */
136
137#pragma code_seg(".orpc")
138static const unsigned short IFoo_FormatStringOffsetTable[] =
139    {
140    (unsigned short) -1,
141    (unsigned short) -1,
142    (unsigned short) -1,
143    (unsigned short) -1,
144    0
145    };
146
147static const MIDL_STUBLESS_PROXY_INFO IFoo_ProxyInfo =
148    {
149    &Object_StubDesc,
150    Module__MIDL_ProcFormatString.Format,
151    &IFoo_FormatStringOffsetTable[-3],
152    0,
153    0,
154    0
155    };
156
157
158static const MIDL_SERVER_INFO IFoo_ServerInfo = 
159    {
160    &Object_StubDesc,
161    0,
162    Module__MIDL_ProcFormatString.Format,
163    &IFoo_FormatStringOffsetTable[-3],
164    0,
165    0,
166    0,
167    0};
168CINTERFACE_PROXY_VTABLE(7) _IFooProxyVtbl = 
169{
170    0,
171    &IID_IFoo,
172    IUnknown_QueryInterface_Proxy,
173    IUnknown_AddRef_Proxy,
174    IUnknown_Release_Proxy ,
175    0 /* IDispatch::GetTypeInfoCount */ ,
176    0 /* IDispatch::GetTypeInfo */ ,
177    0 /* IDispatch::GetIDsOfNames */ ,
178    0 /* IDispatch_Invoke_Proxy */
179};
180
181
182static const PRPC_STUB_FUNCTION IFoo_table[] =
183{
184    STUB_FORWARDING_FUNCTION,
185    STUB_FORWARDING_FUNCTION,
186    STUB_FORWARDING_FUNCTION,
187    STUB_FORWARDING_FUNCTION
188};
189
190CInterfaceStubVtbl _IFooStubVtbl =
191{
192    &IID_IFoo,
193    &IFoo_ServerInfo,
194    7,
195    &IFoo_table[-3],
196    CStdStubBuffer_DELEGATING_METHODS
197};
198
199static const MIDL_STUB_DESC Object_StubDesc = 
200    {
201    0,
202    NdrOleAllocate,
203    NdrOleFree,
204    0,
205    0,
206    0,
207    0,
208    0,
209    Module__MIDL_TypeFormatString.Format,
210    1, /* -error bounds_check flag */
211    0x50002, /* Ndr library version */
212    0,
213    0x700022b, /* MIDL Version 7.0.555 */
214    0,
215    0,
216    0,  /* notify & notify_flag routine table */
217    0x1, /* MIDL flag */
218    0, /* cs routines */
219    0,   /* proxy/server info */
220    0
221    };
222
223const CInterfaceProxyVtbl * const _Module_ProxyVtblList[] = 
224{
225    ( CInterfaceProxyVtbl *) &_IFooProxyVtbl,
226    0
227};
228
229const CInterfaceStubVtbl * const _Module_StubVtblList[] = 
230{
231    ( CInterfaceStubVtbl *) &_IFooStubVtbl,
232    0
233};
234
235PCInterfaceName const _Module_InterfaceNamesList[] = 
236{
237    "IFoo",
238    0
239};
240
241const IID *  const _Module_BaseIIDList[] = 
242{
243    &IID_IDispatch,
244    0
245};
246
247
248#define _Module_CHECK_IID(n)    IID_GENERIC_CHECK_IID( _Module, pIID, n)
249
250int __stdcall _Module_IID_Lookup( const IID * pIID, int * pIndex )
251{
252   
253    if(!_Module_CHECK_IID(0))
254        {
255        *pIndex = 0;
256        return 1;
257        }
258
259    return 0;
260}
261
262const ExtendedProxyFileInfo Module_ProxyFileInfo = 
263{
264    (PCInterfaceProxyVtblList *) & _Module_ProxyVtblList,
265    (PCInterfaceStubVtblList *) & _Module_StubVtblList,
266    (const PCInterfaceName * ) & _Module_InterfaceNamesList,
267    (const IID ** ) & _Module_BaseIIDList,
268    & _Module_IID_Lookup, 
269    1,
270    2,
271    0, /* table of [async_uuid] interfaces */
272    0, /* Filler1 */
273    0, /* Filler2 */
274    0  /* Filler3 */
275};
276#pragma optimize("", on )
277#if _MSC_VER >= 1200
278#pragma warning(pop)
279#endif
280
281
282#endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/
283
Note: See TracBrowser for help on using the repository browser.