Casey Dahlin | 3dfdc95 | 2016-07-19 13:54:29 -0700 | [diff] [blame] | 1 | /* -*- Mode: C; tab-width: 4 -*- |
| 2 | * |
| 3 | * Copyright (c) 2003-2004 Apple Computer, Inc. All rights reserved. |
| 4 | * |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | * |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | * |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
| 18 | |
| 19 | |
| 20 | #ifdef _MERGE_PROXYSTUB // merge proxy stub DLL |
| 21 | |
| 22 | |
| 23 | |
| 24 | #define REGISTER_PROXY_DLL //DllRegisterServer, etc. |
| 25 | |
| 26 | |
| 27 | |
| 28 | #define _WIN32_WINNT 0x0500 //for WinNT 4.0 or Win95 with DCOM |
| 29 | |
| 30 | #define USE_STUBLESS_PROXY //defined only with MIDL switch /Oicf |
| 31 | |
| 32 | |
| 33 | |
| 34 | #pragma comment(lib, "rpcns4.lib") |
| 35 | |
| 36 | #pragma comment(lib, "rpcrt4.lib") |
| 37 | |
| 38 | |
| 39 | |
| 40 | #define ENTRY_PREFIX Prx |
| 41 | |
| 42 | |
| 43 | |
| 44 | #include "dlldata.c" |
| 45 | |
| 46 | #include "DLLX_p.c" |
| 47 | |
| 48 | |
| 49 | |
| 50 | #endif //_MERGE_PROXYSTUB |
| 51 | |