1*74f1be36SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*74f1be36SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*74f1be36SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*74f1be36SAndrew Rist  * distributed with this work for additional information
6*74f1be36SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*74f1be36SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*74f1be36SAndrew Rist  * "License"); you may not use this file except in compliance
9*74f1be36SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*74f1be36SAndrew Rist  *
11*74f1be36SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*74f1be36SAndrew Rist  *
13*74f1be36SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*74f1be36SAndrew Rist  * software distributed under the License is distributed on an
15*74f1be36SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*74f1be36SAndrew Rist  * KIND, either express or implied.  See the License for the
17*74f1be36SAndrew Rist  * specific language governing permissions and limitations
18*74f1be36SAndrew Rist  * under the License.
19*74f1be36SAndrew Rist  *
20*74f1be36SAndrew Rist  *************************************************************/
21*74f1be36SAndrew Rist 
22*74f1be36SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #pragma warning(push, 1)
25cdf0e10cSrcweir #include <windows.h>
26cdf0e10cSrcweir #pragma warning(pop)
27cdf0e10cSrcweir 
28cdf0e10cSrcweir #include "rtl/ustring.hxx"
29cdf0e10cSrcweir 
30cdf0e10cSrcweir 
31cdf0e10cSrcweir class type_info;
32cdf0e10cSrcweir typedef struct _uno_Any uno_Any;
33cdf0e10cSrcweir typedef struct _uno_Mapping uno_Mapping;
34cdf0e10cSrcweir 
35cdf0e10cSrcweir namespace CPPU_CURRENT_NAMESPACE
36cdf0e10cSrcweir {
37cdf0e10cSrcweir 
38cdf0e10cSrcweir const DWORD MSVC_ExceptionCode = 0xe06d7363;
39cdf0e10cSrcweir const long MSVC_magic_number = 0x19930520L;
40cdf0e10cSrcweir 
41cdf0e10cSrcweir //==============================================================================
42cdf0e10cSrcweir type_info * msci_getRTTI( ::rtl::OUString const & rUNOname );
43cdf0e10cSrcweir 
44cdf0e10cSrcweir //==============================================================================
45cdf0e10cSrcweir int msci_filterCppException(
46cdf0e10cSrcweir 	EXCEPTION_POINTERS * pPointers, uno_Any * pUnoExc, uno_Mapping * pCpp2Uno );
47cdf0e10cSrcweir 
48cdf0e10cSrcweir //==============================================================================
49cdf0e10cSrcweir void msci_raiseException(
50cdf0e10cSrcweir 	uno_Any * pUnoExc, uno_Mapping * pUno2Cpp );
51cdf0e10cSrcweir 
52cdf0e10cSrcweir }
53cdf0e10cSrcweir 
54