2 [momiji music component library]
3 ---------------------------------------------------------------------
6 ---------------------------------------------------------------------
7 Copyright (C) 2011 tyiki badwell {miria@users.sourceforge.jp}.
9 This program is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/gpl-3.0.html>.
21 ---------------------------------------------------------------------
23 // stdafx.h : 標準のシステム インクルード ファイルのインクルード ファイル、または
24 // 参照回数が多く、かつあまり変更されない、プロジェクト専用のインクルード ファイル
29 #define WIN32_DLL_IMPORT_(_lib_, _charset_) [InteropServices::DllImport(_lib_, CallingConvention = InteropServices::CallingConvention::StdCall, CharSet = InteropServices::CharSet::##_charset_##, SetLastError = true)]
30 #define WIN32_DLL_IMPORT(_lib_) WIN32_DLL_IMPORT_(_lib_, Unicode)
31 #define WIN32_DLL_IMPORT_ANSI(_lib_) WIN32_DLL_IMPORT_(_lib_, Ansi)
33 #define WIN32_DLL_STRUCTLAYOUT_(_charset_) [InteropServices::StructLayout(InteropServices::LayoutKind::Sequential, Pack=1, CharSet=InteropServices::CharSet::##_charset_##)]
34 #define WIN32_DLL_STRUCTLAYOUT WIN32_DLL_STRUCTLAYOUT_(Unicode)
35 #define WIN32_DLL_STRUCTLAYOUT_ANSI WIN32_DLL_STRUCTLAYOUT_(Ansi)
37 //#define WIN32_DLL_STRUCTLAYOUT_UNION_(_size_, _charset_) [InteropServices::StructLayout(InteropServices::LayoutKind::Explicit, Size=##_size_##, CharSet=InteropServices::CharSet::##_charset_##)]
38 //#define WIN32_DLL_STRUCTLAYOUT_UNION_ANSI(_size_) WIN32_DLL_STRUCTLAYOUT_UNION_(_size_, Ansi)
39 #define WIN32_DLL_STRUCTLAYOUT_UNION_(_charset_) [InteropServices::StructLayout(InteropServices::LayoutKind::Explicit, Pack=1, CharSet=InteropServices::CharSet::##_charset_##)]
40 #define WIN32_DLL_STRUCTLAYOUT_UNION_ANSI WIN32_DLL_STRUCTLAYOUT_UNION_(Ansi)