OLD | NEW |
| (Empty) |
1 // Copyright 2009 Google Inc. | |
2 // | |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | |
4 // you may not use this file except in compliance with the License. | |
5 // You may obtain a copy of the License at | |
6 // | |
7 // http://www.apache.org/licenses/LICENSE-2.0 | |
8 // | |
9 // Unless required by applicable law or agreed to in writing, software | |
10 // distributed under the License is distributed on an "AS IS" BASIS, | |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
12 // See the License for the specific language governing permissions and | |
13 // limitations under the License. | |
14 // ======================================================================== | |
15 | |
16 // | |
17 // Wrapper for the MIDL-generated proxy/stub. | |
18 | |
19 #pragma warning(push) | |
20 // C4152: nonstandard extension, function/data pointer conversion in expression | |
21 #pragma warning(disable : 4152) | |
22 | |
23 #define REGISTER_PROXY_DLL | |
24 #define USE_STUBLESS_PROXY | |
25 #define PROXY_DELEGATION | |
26 #define ENTRY_PREFIX Prx | |
27 | |
28 // PROXY_CLSID_IS_MACHINE/USER is defined in main.scons. | |
29 #undef PROXY_CLSID_IS | |
30 #if IS_MACHINE_HANDLER | |
31 #define PROXY_CLSID_IS PROXY_CLSID_IS_MACHINE | |
32 #else | |
33 #define PROXY_CLSID_IS PROXY_CLSID_IS_USER | |
34 #endif | |
35 | |
36 // Undefine the __purecall provided by rpcproxy.h so that it does not conflict | |
37 // with the libc definition. | |
38 #include <rpcproxy.h> | |
39 #ifdef DLLDUMMYPURECALL | |
40 #undef DLLDUMMYPURECALL | |
41 #define DLLDUMMYPURECALL | |
42 #endif | |
43 | |
44 #include "goopdate/omaha3_idl_data.c" | |
45 #include "goopdate/omaha3_idl_p.c" | |
46 | |
47 #undef PROXY_CLSID_IS | |
48 | |
49 #pragma warning(pop) | |
50 | |
OLD | NEW |