1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_BRIDGES_SOURCE_CPP_UNO_MSVC_WIN32_X86_64_MSCX_HXX
20 #define INCLUDED_BRIDGES_SOURCE_CPP_UNO_MSVC_WIN32_X86_64_MSCX_HXX
22 #define WIN32_LEAN_AND_MEAN
25 #include <rtl/ustring.hxx>
29 typedef struct _uno_Any uno_Any
;
30 typedef struct _uno_Mapping uno_Mapping
;
32 namespace CPPU_CURRENT_NAMESPACE
35 const DWORD MSVC_ExceptionCode
= 0xe06d7363;
36 const long MSVC_magic_number
= 0x19930520L
;
38 typedef enum { REGPARAM_INT
, REGPARAM_FLT
} RegParamKind
;
40 type_info
* mscx_getRTTI( OUString
const & rUNOname
);
42 int mscx_filterCppException(
43 EXCEPTION_POINTERS
* pPointers
, uno_Any
* pUnoExc
, uno_Mapping
* pCpp2Uno
);
45 void mscx_raiseException(
46 uno_Any
* pUnoExc
, uno_Mapping
* pUno2Cpp
);
51 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */