00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00048 #ifndef WINSTL_INCL_WINSTL_CONVERSION_HPP_WINDOWS_TYPE_CONVERSIONS
00049 #define WINSTL_INCL_WINSTL_CONVERSION_HPP_WINDOWS_TYPE_CONVERSIONS
00050
00051 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
00052 # define WINSTL_VER_WINSTL_CONVERSION_HPP_WINDOWS_TYPE_CONVERSIONS_MAJOR 4
00053 # define WINSTL_VER_WINSTL_CONVERSION_HPP_WINDOWS_TYPE_CONVERSIONS_MINOR 1
00054 # define WINSTL_VER_WINSTL_CONVERSION_HPP_WINDOWS_TYPE_CONVERSIONS_REVISION 1
00055 # define WINSTL_VER_WINSTL_CONVERSION_HPP_WINDOWS_TYPE_CONVERSIONS_EDIT 37
00056 #endif
00057
00058
00059
00060
00061
00062 #ifndef WINSTL_INCL_WINSTL_H_WINSTL
00063 # include <winstl/winstl.h>
00064 #endif
00065 #ifndef STLSOFT_INCL_STLSOFT_CONVERSION_HPP_UNION_CAST
00066 # include <stlsoft/conversion/union_cast.hpp>
00067 #endif
00068
00069
00070
00071 #ifndef _WINSTL_NO_NAMESPACE
00072 # if defined(_STLSOFT_NO_NAMESPACE) || \
00073 defined(STLSOFT_DOCUMENTATION_SKIP_SECTION)
00074
00075 namespace winstl
00076 {
00077 # else
00078
00079 namespace stlsoft
00080 {
00081 namespace winstl_project
00082 {
00083 # endif
00084 #endif
00085
00086
00087
00091 typedef stlsoft_ns_qual(union_caster)<LPARAM, char const*, true> StrA2LPARAM;
00095 typedef stlsoft_ns_qual(union_caster)<LPARAM, wchar_t const*, true> StrW2LPARAM;
00099 typedef stlsoft_ns_qual(union_caster)<LPARAM, TCHAR const*, true> StrT2LPARAM;
00100
00104 typedef stlsoft_ns_qual(union_caster)<HWND, WPARAM, false> WPARAM2HWND;
00108 typedef stlsoft_ns_qual(union_caster)<HWND, LPARAM, false> LPARAM2HWND;
00109
00113 typedef stlsoft_ns_qual(union_caster)<WPARAM, HWND, false> HWND2WPARAM;
00117 typedef stlsoft_ns_qual(union_caster)<LPARAM, HWND, false> HWND2LPARAM;
00121 typedef stlsoft_ns_qual(union_caster)<UINT, HWND, false> HWND2UINT;
00122
00126 typedef stlsoft_ns_qual(union_caster)<int, WPARAM, false> WPARAM2int;
00130 typedef stlsoft_ns_qual(union_caster)<WPARAM, int, false> int2WPARAM;
00131
00132 #if defined(DragQueryFile) || \
00133 defined(HDROP_DEFINED) || \
00134 defined(WINSHELLAPI) || \
00135 defined(_INC_SHELLAPI)
00136
00139 typedef stlsoft_ns_qual(union_caster)<HDROP, WPARAM, false> WPARAM2HDROP;
00140 #endif
00141
00145 typedef stlsoft_ns_qual(union_caster)<WPARAM, void*, true> Ptr2WPARAM;
00149 typedef stlsoft_ns_qual(union_caster)<LPARAM, void*, true> Ptr2LPARAM;
00153 typedef stlsoft_ns_qual(union_caster)<UINT, void*, true> Ptr2UINT;
00154
00158 typedef stlsoft_ns_qual(union_caster)<char const*, int, true> Id2StrA;
00162 typedef stlsoft_ns_qual(union_caster)<wchar_t const*, int, true> Id2StrW;
00166 typedef stlsoft_ns_qual(union_caster)<TCHAR const*, int, true> Id2StrT;
00167
00171 typedef stlsoft_ns_qual(union_caster)<LPARAM, HICON, false> HICON2LPARAM;
00175 typedef stlsoft_ns_qual(union_caster)<HICON, LONG, false> LONG2HICON;
00176
00180 typedef stlsoft_ns_qual(union_caster)<LRESULT, HICON, false> HICON2LRESULT;
00184 typedef stlsoft_ns_qual(union_caster)<HICON, LRESULT, false> LRESULT2HICON;
00185
00186 #if defined(_INC_COMMCTRL) || \
00187 defined(_COMMCTRL_H)
00188
00191 typedef union_caster<LPNMHDR, LPARAM, true> LPARAM2LPNMHDR;
00195 typedef union_caster<HTREEITEM, LONG, false> LONG2HTREEITEM;
00196 #endif
00197
00198
00199
00200 #ifndef _WINSTL_NO_NAMESPACE
00201 # if defined(_STLSOFT_NO_NAMESPACE) || \
00202 defined(STLSOFT_DOCUMENTATION_SKIP_SECTION)
00203 }
00204 # else
00205 }
00206 }
00207 # endif
00208 #endif
00209
00210
00211
00212 #endif
00213
00214