summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2007-06-29 19:28:28 +0000
committerFelipe Heidrich <fheidric>2007-06-29 19:28:28 +0000
commit613593df840e56449f6f8204612cf696478ba510 (patch)
treeb8e198a27433d10f5107362db77d91de7137a119
parentf6eb283d9f51cb65d57551174be05c7411264a81 (diff)
downloadeclipse.platform.swt-613593df840e56449f6f8204612cf696478ba510.tar.gz
eclipse.platform.swt-613593df840e56449f6f8204612cf696478ba510.tar.xz
eclipse.platform.swt-613593df840e56449f6f8204612cf696478ba510.zip
Add Win32 package
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties2
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.Win32.properties178
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.COM.properties3343
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.OS.properties168
-rw-r--r--bundles/org.eclipse.swt/.classpath_wpf1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com.c39
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_stats.c44
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_stats.h30
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_structs.c14
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_structs.h13
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/make_wpf.mak22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp398
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.h3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_custom.cpp11
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.cpp28
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.h24
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_structs.cpp275
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_structs.h60
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/COM.java24
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/OS.java48
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.c413
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.h (renamed from bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com.h)8
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_stats.c68
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_stats.h54
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_structs.c286
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_structs.h73
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/ICONINFO.java (renamed from bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/ICONINFO.java)2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/POINT.java (renamed from bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/POINT.java)2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/PROCESS_INFORMATION.java (renamed from bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/PROCESS_INFORMATION.java)4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFOW.java (renamed from bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/SHELLEXECUTEINFOW.java)4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/STARTUPINFOW.java (renamed from bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/STARTUPINFOW.java)4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/Win32.java71
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Program/wpf/org/eclipse/swt/program/Program.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Cursor.java34
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Device.java32
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Display.java25
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Shell.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/TrayItem.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Widget.java7
39 files changed, 1264 insertions, 4575 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties
index ae14b0d737..3a80a27e78 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties
@@ -48,5 +48,5 @@ org.eclipse.swt.internal.opengl.win32.WGL,../org.eclipse.swt/Eclipse SWT OpenGL/
org.eclipse.swt.internal.opengl.carbon.AGL,../org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/,\
org.eclipse.swt.internal.C,../org.eclipse.swt/Eclipse SWT PI/common/library/,\
org.eclipse.swt.internal.wpf.OS,../org.eclipse.swt/Eclipse SWT PI/wpf/library/,\
-org.eclipse.swt.internal.wpf.COM,../org.eclipse.swt/Eclipse SWT PI/wpf/library/,\
+org.eclipse.swt.internal.win32.Win32,../org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/,\
org.eclipse.swt.internal.cocoa.Cocoa,../org.eclipse.swt/Eclipse SWT PI/carbon/library/
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.Win32.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.Win32.properties
new file mode 100644
index 0000000000..b17e15bf56
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.Win32.properties
@@ -0,0 +1,178 @@
+###############################################################################
+# Copyright (c) 2000, 2007 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+org_eclipse_swt_internal_win32_ICONINFO=
+ICONINFO_fIcon=
+ICONINFO_xHotspot=
+ICONINFO_yHotspot=
+ICONINFO_hbmMask=cast=HBITMAP
+ICONINFO_hbmColor=cast=HBITMAP
+
+org_eclipse_swt_internal_win32_POINT=
+POINT_x=
+POINT_y=
+
+org_eclipse_swt_internal_win32_PROCESS_1INFORMATION=
+PROCESS_INFORMATION_hProcess=cast=HANDLE
+PROCESS_INFORMATION_hThread=cast=HANDLE
+PROCESS_INFORMATION_dwProcessId=
+PROCESS_INFORMATION_dwThreadId=
+
+org_eclipse_swt_internal_win32_SHELLEXECUTEINFOW=
+SHELLEXECUTEINFOW_cbSize=
+SHELLEXECUTEINFOW_fMask=
+SHELLEXECUTEINFOW_hwnd=cast=HWND
+SHELLEXECUTEINFOW_lpVerb=cast=(LPWSTR)
+SHELLEXECUTEINFOW_lpFile=cast=(LPWSTR)
+SHELLEXECUTEINFOW_lpParameters=cast=(LPWSTR)
+SHELLEXECUTEINFOW_lpDirectory=cast=(LPWSTR)
+SHELLEXECUTEINFOW_nShow=
+SHELLEXECUTEINFOW_hInstApp=cast=(HINSTANCE)
+SHELLEXECUTEINFOW_lpIDList=cast=(LPVOID)
+SHELLEXECUTEINFOW_lpClass=cast=(LPWSTR)
+SHELLEXECUTEINFOW_hkeyClass=cast=HKEY
+SHELLEXECUTEINFOW_dwHotKey=
+SHELLEXECUTEINFOW_hIcon=cast=HANDLE
+SHELLEXECUTEINFOW_hProcess=cast=HANDLE
+
+org_eclipse_swt_internal_win32_STARTUPINFOW=
+STARTUPINFOW_cb=
+STARTUPINFOW_lpReserved=cast=LPWSTR
+STARTUPINFOW_lpDesktop=cast=LPWSTR
+STARTUPINFOW_lpTitle=cast=LPWSTR
+STARTUPINFOW_dwX=
+STARTUPINFOW_dwY=
+STARTUPINFOW_dwXSize=
+STARTUPINFOW_dwYSize=
+STARTUPINFOW_dwXCountChars=
+STARTUPINFOW_dwYCountChars=
+STARTUPINFOW_dwFillAttribute=
+STARTUPINFOW_dwFlags=
+STARTUPINFOW_wShowWindow=
+STARTUPINFOW_cbReserved2=
+STARTUPINFOW_lpReserved2=cast=LPBYTE
+STARTUPINFOW_hStdInput=cast=(HANDLE)
+STARTUPINFOW_hStdOutput=cast=(HANDLE)
+STARTUPINFOW_hStdError=cast=(HANDLE)
+
+org_eclipse_swt_internal_win32_Win32=
+Win32_CloseHandle=
+Win32_CloseHandle_0=cast=HANDLE
+
+Win32_CreateCursor=
+Win32_CreateCursor_0=cast=(HINSTANCE)
+Win32_CreateCursor_1=
+Win32_CreateCursor_2=
+Win32_CreateCursor_3=
+Win32_CreateCursor_4=
+Win32_CreateCursor_5=cast=(CONST VOID *),flags=no_out critical
+Win32_CreateCursor_6=cast=(CONST VOID *),flags=no_out critical
+
+Win32_CreateIconIndirect=
+Win32_CreateIconIndirect_0=
+
+Win32_CreateProcessW=
+Win32_CreateProcessW_0=cast=LPCWSTR
+Win32_CreateProcessW_1=cast=LPWSTR
+Win32_CreateProcessW_2=cast=LPSECURITY_ATTRIBUTES
+Win32_CreateProcessW_3=cast=LPSECURITY_ATTRIBUTES
+Win32_CreateProcessW_4=
+Win32_CreateProcessW_5=cast=DWORD
+Win32_CreateProcessW_6=cast=LPVOID
+Win32_CreateProcessW_7=cast=LPCWSTR
+Win32_CreateProcessW_8=cast=LPSTARTUPINFOW
+Win32_CreateProcessW_9=cast=LPPROCESS_INFORMATION
+
+Win32_DeleteObject=
+Win32_DeleteObject_0=cast=(HGDIOBJ)
+
+Win32_DestroyIcon=
+Win32_DestroyIcon_0=cast=HICON
+
+Win32_EnableWindow=
+Win32_EnableWindow_0=cast=HWND
+Win32_EnableWindow_1=
+
+Win32_ExtractIconExW=
+Win32_ExtractIconExW_0=cast=LPCWSTR
+Win32_ExtractIconExW_1=
+Win32_ExtractIconExW_2=cast=(HICON*)
+Win32_ExtractIconExW_3=cast=(HICON*)
+Win32_ExtractIconExW_4=cast=UINT
+
+Win32_GetCursorPos=
+Win32_GetCursorPos_0=cast=LPPOINT
+
+Win32_GetIconInfo=
+Win32_GetIconInfo_0=cast=HICON
+Win32_GetIconInfo_1=
+
+Win32_GetKeyboardState=
+Win32_GetKeyboardState_0=cast=(PBYTE)
+
+Win32_GetModuleHandleW=
+Win32_GetModuleHandleW_0=cast=LPCWSTR
+
+Win32_GetProcessHeap=
+
+Win32_HeapAlloc=
+Win32_HeapAlloc_0=cast=(HANDLE)
+Win32_HeapAlloc_1=
+Win32_HeapAlloc_2=
+
+Win32_HeapFree=
+Win32_HeapFree_0=cast=(HANDLE)
+Win32_HeapFree_1=
+Win32_HeapFree_2=cast=(LPVOID)
+
+Win32_LoadImage=
+Win32_LoadImage_0=cast=HINSTANCE
+Win32_LoadImage_1=cast=LPCTSTR
+Win32_LoadImage_2=cast=UINT
+Win32_LoadImage_3=
+Win32_LoadImage_4=
+Win32_LoadImage_5=cast=UINT
+
+Win32_MapVirtualKeyW=
+Win32_MapVirtualKeyW_0=
+Win32_MapVirtualKeyW_1=
+
+Win32_MoveMemory=
+Win32_MoveMemory_0=cast=PVOID
+Win32_MoveMemory_1=cast=CONST VOID *,flags=no_out critical
+Win32_MoveMemory_2=
+
+Win32_OleInitialize=
+Win32_OleInitialize_0=cast=LPVOID
+
+Win32_OleUninitialize=
+
+Win32_PROCESS_INFORMATION_sizeof=
+
+Win32_SHELLEXECUTEINFOW_sizeof=
+
+Win32_STARTUPINFOW_sizeof=
+
+Win32_SetCursorPos=
+Win32_SetCursorPos_0=
+Win32_SetCursorPos_1=
+
+Win32_ShellExecuteExW=
+Win32_ShellExecuteExW_0=cast=(LPSHELLEXECUTEINFOW)
+
+Win32_ToUnicode=
+Win32_ToUnicode_0=
+Win32_ToUnicode_1=
+Win32_ToUnicode_2=cast=(PBYTE)
+Win32_ToUnicode_3=cast=(LPWSTR)
+Win32_ToUnicode_4=
+Win32_ToUnicode_5=
+
+
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.COM.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.COM.properties
deleted file mode 100644
index a6d28d1378..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.COM.properties
+++ /dev/null
@@ -1,3343 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2007 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-org_eclipse_swt_internal_wpf_COM=
-COM_OleInitialize=
-COM_OleInitialize_0=cast=LPVOID
-
-COM_OleUninitialize=
-
-
-org_eclipse_swt_internal_wpf_ICONINFO=flags=no_gen
-ICONINFO_fIcon=
-ICONINFO_xHotspot=
-ICONINFO_yHotspot=
-ICONINFO_hbmMask=
-ICONINFO_hbmColor=
-
-org_eclipse_swt_internal_wpf_OS=flags=no_gen
-OS_AccessText_AccessKey=
-OS_AccessText_AccessKey_0=
-
-OS_AccessText_Text=
-OS_AccessText_Text_0=
-OS_AccessText_Text_1=
-
-OS_ApplicationCommands_Cut=
-
-OS_ApplicationCommands_Paste=
-
-OS_ApplicationCommands_Redo=
-
-OS_ApplicationCommands_Undo=
-
-OS_Application_Dispatcher=
-OS_Application_Dispatcher_0=
-
-OS_Application_Run=
-OS_Application_Run_0=
-
-OS_Application_Shutdown=
-OS_Application_Shutdown_0=
-
-OS_Application_ShutdownMode=
-OS_Application_ShutdownMode_0=
-OS_Application_ShutdownMode_1=
-
-OS_Application_Windows=
-OS_Application_Windows_0=
-
-OS_BindingExpression_UpdateTarget=
-OS_BindingExpression_UpdateTarget_0=
-
-OS_Binding_Converter=
-OS_Binding_Converter_0=
-OS_Binding_Converter_1=
-
-OS_Binding_ConverterParameter=
-OS_Binding_ConverterParameter_0=
-OS_Binding_ConverterParameter_1=
-
-OS_BitmapImage_BeginInit=
-OS_BitmapImage_BeginInit_0=
-
-OS_BitmapImage_CreateOptions=
-OS_BitmapImage_CreateOptions_0=
-OS_BitmapImage_CreateOptions_1=
-
-OS_BitmapImage_EndInit=
-OS_BitmapImage_EndInit_0=
-
-OS_BitmapImage_UriSource=
-OS_BitmapImage_UriSource_0=
-OS_BitmapImage_UriSource_1=
-
-OS_BitmapPalette_Colors=
-OS_BitmapPalette_Colors_0=
-
-OS_BitmapSource_Clone=
-OS_BitmapSource_Clone_0=
-
-OS_BitmapSource_CopyPixels=
-OS_BitmapSource_CopyPixels_0=
-OS_BitmapSource_CopyPixels_1=
-OS_BitmapSource_CopyPixels_2=
-OS_BitmapSource_CopyPixels_3=
-OS_BitmapSource_CopyPixels_4=
-
-OS_BitmapSource_Create=
-OS_BitmapSource_Create_0=
-OS_BitmapSource_Create_1=
-OS_BitmapSource_Create_2=
-OS_BitmapSource_Create_3=
-OS_BitmapSource_Create_4=
-OS_BitmapSource_Create_5=
-OS_BitmapSource_Create_6=
-OS_BitmapSource_Create_7=
-OS_BitmapSource_Create_8=
-
-OS_BitmapSource_Format=
-OS_BitmapSource_Format_0=
-
-OS_BitmapSource_Palette=
-OS_BitmapSource_Palette_0=
-
-OS_BitmapSource_PixelHeight=
-OS_BitmapSource_PixelHeight_0=
-
-OS_BitmapSource_PixelWidth=
-OS_BitmapSource_PixelWidth_0=
-
-OS_Bitmap_GetHicon=
-OS_Bitmap_GetHicon_0=
-
-OS_Border_typeid=
-
-OS_Brush_Opacity=
-OS_Brush_Opacity_0=
-OS_Brush_Opacity_1=
-
-OS_Brushes_Black=
-
-OS_Brushes_LightSkyBlue=
-
-OS_Brushes_Navy=
-
-OS_Brushes_Transparent=
-
-OS_Brushes_White=
-
-OS_ButtonBase_Click=
-OS_ButtonBase_Click_0=
-OS_ButtonBase_Click_1=
-
-OS_Button_1IsDefault__I=
-OS_Button_1IsDefault__I_0=
-
-OS_Button_1IsDefault__IZ=
-OS_Button_1IsDefault__IZ_0=
-OS_Button_1IsDefault__IZ_1=
-
-OS_CancelEventArgs_Cancel=
-OS_CancelEventArgs_Cancel_0=
-OS_CancelEventArgs_Cancel_1=
-
-OS_Canvas_GetLeft=
-OS_Canvas_GetLeft_0=
-
-OS_Canvas_GetTop=
-OS_Canvas_GetTop_0=
-
-OS_Canvas_SetLeft=
-OS_Canvas_SetLeft_0=
-OS_Canvas_SetLeft_1=
-
-OS_Canvas_SetTop=
-OS_Canvas_SetTop_0=
-OS_Canvas_SetTop_1=
-
-OS_CharacterHit_FirstCharacterIndex=
-OS_CharacterHit_FirstCharacterIndex_0=
-
-OS_CharacterHit_TrailingLength=
-OS_CharacterHit_TrailingLength_0=
-
-OS_CheckBox_typeid=
-
-OS_Clipboard_GetText=
-
-OS_ColorDialog_AnyColor=
-OS_ColorDialog_AnyColor_0=
-OS_ColorDialog_AnyColor_1=
-
-OS_ColorDialog_1Color__I=
-OS_ColorDialog_1Color__I_0=
-
-OS_ColorDialog_1Color__II=
-OS_ColorDialog_1Color__II_0=
-OS_ColorDialog_1Color__II_1=
-
-OS_ColorDialog_1CustomColors__I=
-OS_ColorDialog_1CustomColors__I_0=
-
-OS_ColorDialog_1CustomColors__II=
-OS_ColorDialog_1CustomColors__II_0=
-OS_ColorDialog_1CustomColors__II_1=
-
-OS_ColorList_Add=
-OS_ColorList_Add_0=
-OS_ColorList_Add_1=
-
-OS_ColorList_Count=
-OS_ColorList_Count_0=
-
-OS_ColorList_Current=
-OS_ColorList_Current_0=
-
-OS_ColorList_GetEnumerator=
-OS_ColorList_GetEnumerator_0=
-
-OS_Color_A=
-OS_Color_A_0=
-
-OS_Color_B=
-OS_Color_B_0=
-
-OS_Color_FromArgb=
-OS_Color_FromArgb_0=
-OS_Color_FromArgb_1=
-OS_Color_FromArgb_2=
-OS_Color_FromArgb_3=
-
-OS_Color_G=
-OS_Color_G_0=
-
-OS_Color_R=
-OS_Color_R_0=
-
-OS_Colors_Black=
-
-OS_Colors_Blue=
-
-OS_Colors_Cyan=
-
-OS_Colors_DarkGray=
-
-OS_Colors_Green=
-
-OS_Colors_LightSkyBlue=
-
-OS_Colors_Lime=
-
-OS_Colors_Magenta=
-
-OS_Colors_Maroon=
-
-OS_Colors_Navy=
-
-OS_Colors_Olive=
-
-OS_Colors_Purple=
-
-OS_Colors_Red=
-
-OS_Colors_Silver=
-
-OS_Colors_Teal=
-
-OS_Colors_Transparent=
-
-OS_Colors_White=
-
-OS_Colors_Yellow=
-
-OS_ColumnDefinitionCollection_Add=
-OS_ColumnDefinitionCollection_Add_0=
-OS_ColumnDefinitionCollection_Add_1=
-
-OS_ColumnDefinition_Width=
-OS_ColumnDefinition_Width_0=
-OS_ColumnDefinition_Width_1=
-
-OS_ComboBox_1IsDropDownOpen__I=
-OS_ComboBox_1IsDropDownOpen__I_0=
-
-OS_ComboBox_1IsDropDownOpen__IZ=
-OS_ComboBox_1IsDropDownOpen__IZ_0=
-OS_ComboBox_1IsDropDownOpen__IZ_1=
-
-OS_ComboBox_IsEditable=
-OS_ComboBox_IsEditable_0=
-OS_ComboBox_IsEditable_1=
-
-OS_ComboBox_SelectionBoxItem=
-OS_ComboBox_SelectionBoxItem_0=
-
-OS_CommandManager_AddPreviewExecutedHandler=
-OS_CommandManager_AddPreviewExecutedHandler_0=
-OS_CommandManager_AddPreviewExecutedHandler_1=
-
-OS_CommonDialog_ShowDialog=
-OS_CommonDialog_ShowDialog_0=
-OS_CommonDialog_ShowDialog_1=
-
-OS_CompositeCollection_IndexOf=
-OS_CompositeCollection_IndexOf_0=
-OS_CompositeCollection_IndexOf_1=
-
-OS_CompositeCollection_Insert=
-OS_CompositeCollection_Insert_0=
-OS_CompositeCollection_Insert_1=
-OS_CompositeCollection_Insert_2=
-
-OS_CompositeCollection_Remove=
-OS_CompositeCollection_Remove_0=
-OS_CompositeCollection_Remove_1=
-
-OS_Console_Beep=
-
-OS_ContainerVisual_1Clip__I=
-OS_ContainerVisual_1Clip__I_0=
-
-OS_ContainerVisual_1Clip__II=
-OS_ContainerVisual_1Clip__II_0=
-OS_ContainerVisual_1Clip__II_1=
-
-OS_ContentControl_1Content__I=
-OS_ContentControl_1Content__I_0=
-
-OS_ContentControl_1Content__II=
-OS_ContentControl_1Content__II_0=
-OS_ContentControl_1Content__II_1=
-
-OS_ContentPresenter_Content=
-OS_ContentPresenter_Content_0=
-
-OS_ContentPresenter_typeid=
-
-OS_ContextMenuEventArgs_CursorLeft=
-OS_ContextMenuEventArgs_CursorLeft_0=
-
-OS_ContextMenuEventArgs_CursorTop=
-OS_ContextMenuEventArgs_CursorTop_0=
-
-OS_ContextMenu_Closed=
-OS_ContextMenu_Closed_0=
-OS_ContextMenu_Closed_1=
-
-OS_ContextMenu_HorizontalOffset=
-OS_ContextMenu_HorizontalOffset_0=
-OS_ContextMenu_HorizontalOffset_1=
-
-OS_ContextMenu_IsOpen=
-OS_ContextMenu_IsOpen_0=
-OS_ContextMenu_IsOpen_1=
-
-OS_ContextMenu_Opened=
-OS_ContextMenu_Opened_0=
-OS_ContextMenu_Opened_1=
-
-OS_ContextMenu_Placement=
-OS_ContextMenu_Placement_0=
-OS_ContextMenu_Placement_1=
-
-OS_ContextMenu_VerticalOffset=
-OS_ContextMenu_VerticalOffset_0=
-OS_ContextMenu_VerticalOffset_1=
-
-OS_Control_Background=
-OS_Control_Background_0=
-OS_Control_Background_1=
-
-OS_Control_BackgroundProperty=
-
-OS_Control_FontFamily=
-OS_Control_FontFamily_0=
-OS_Control_FontFamily_1=
-
-OS_Control_FontFamilyProperty=
-
-OS_Control_FontSize=
-OS_Control_FontSize_0=
-OS_Control_FontSize_1=
-
-OS_Control_FontSizeProperty=
-
-OS_Control_FontStretch=
-OS_Control_FontStretch_0=
-OS_Control_FontStretch_1=
-
-OS_Control_FontStretchProperty=
-
-OS_Control_FontStyle=
-OS_Control_FontStyle_0=
-OS_Control_FontStyle_1=
-
-OS_Control_FontStyleProperty=
-
-OS_Control_FontWeight=
-OS_Control_FontWeight_0=
-OS_Control_FontWeight_1=
-
-OS_Control_FontWeightProperty=
-
-OS_Control_Foreground=
-OS_Control_Foreground_0=
-OS_Control_Foreground_1=
-
-OS_Control_ForegroundProperty=
-
-OS_Control_1HorizontalContentAlignment__I=
-OS_Control_1HorizontalContentAlignment__I_0=
-
-OS_Control_1HorizontalContentAlignment__II=
-OS_Control_1HorizontalContentAlignment__II_0=
-OS_Control_1HorizontalContentAlignment__II_1=
-
-OS_Control_MouseDoubleClick=
-OS_Control_MouseDoubleClick_0=
-OS_Control_MouseDoubleClick_1=
-
-OS_Control_1Template__I=
-OS_Control_1Template__I_0=
-
-OS_Control_1Template__II=
-OS_Control_1Template__II_0=
-OS_Control_1Template__II_1=
-
-OS_CreateCursor=
-OS_CreateCursor_0=
-OS_CreateCursor_1=
-OS_CreateCursor_2=
-OS_CreateCursor_3=
-OS_CreateCursor_4=
-OS_CreateCursor_5=
-OS_CreateCursor_6=
-
-OS_CreateIconIndirect=
-OS_CreateIconIndirect_0=
-
-OS_CultureInfo_CurrentUICulture=
-
-OS_CursorInteropHelper_Create=
-OS_CursorInteropHelper_Create_0=
-
-OS_Cursors_AppStarting=
-
-OS_Cursors_Arrow=
-
-OS_Cursors_Cross=
-
-OS_Cursors_Hand=
-
-OS_Cursors_Help=
-
-OS_Cursors_IBeam=
-
-OS_Cursors_No=
-
-OS_Cursors_ScrollE=
-
-OS_Cursors_ScrollN=
-
-OS_Cursors_ScrollNE=
-
-OS_Cursors_ScrollNW=
-
-OS_Cursors_ScrollS=
-
-OS_Cursors_ScrollSE=
-
-OS_Cursors_ScrollSW=
-
-OS_Cursors_ScrollW=
-
-OS_Cursors_SizeAll=
-
-OS_Cursors_SizeNESW=
-
-OS_Cursors_SizeNS=
-
-OS_Cursors_SizeNWSE=
-
-OS_Cursors_SizeWE=
-
-OS_Cursors_UpArrow=
-
-OS_Cursors_Wait=
-
-OS_DashStyles_Dash=
-
-OS_DashStyles_DashDot=
-
-OS_DashStyles_DashDotDot=
-
-OS_DashStyles_Dot=
-
-OS_DashStyles_Solid=
-
-OS_DeleteGlobalRef=
-OS_DeleteGlobalRef_0=
-
-OS_DeleteObject=
-OS_DeleteObject_0=
-
-OS_DependencyObject_ClearValue=
-OS_DependencyObject_ClearValue_0=
-OS_DependencyObject_ClearValue_1=
-
-OS_DependencyObject_SetValue=
-OS_DependencyObject_SetValue_0=
-OS_DependencyObject_SetValue_1=
-OS_DependencyObject_SetValue_2=
-
-OS_DestroyIcon=
-OS_DestroyIcon_0=
-
-OS_DispatcherFrame_Continue=
-OS_DispatcherFrame_Continue_0=
-OS_DispatcherFrame_Continue_1=
-
-OS_DispatcherHookEventArgs_Operation=
-OS_DispatcherHookEventArgs_Operation_0=
-
-OS_DispatcherHooks_DispatcherInactive=
-OS_DispatcherHooks_DispatcherInactive_0=
-OS_DispatcherHooks_DispatcherInactive_1=
-
-OS_DispatcherHooks_OperationAborted=
-OS_DispatcherHooks_OperationAborted_0=
-OS_DispatcherHooks_OperationAborted_1=
-
-OS_DispatcherHooks_OperationCompleted=
-OS_DispatcherHooks_OperationCompleted_0=
-OS_DispatcherHooks_OperationCompleted_1=
-
-OS_DispatcherHooks_OperationPosted=
-OS_DispatcherHooks_OperationPosted_0=
-OS_DispatcherHooks_OperationPosted_1=
-
-OS_DispatcherOperation_Priority=
-OS_DispatcherOperation_Priority_0=
-
-OS_DispatcherTimer_Interval=
-OS_DispatcherTimer_Interval_0=
-OS_DispatcherTimer_Interval_1=
-
-OS_DispatcherTimer_Start=
-OS_DispatcherTimer_Start_0=
-
-OS_DispatcherTimer_Stop=
-OS_DispatcherTimer_Stop_0=
-
-OS_DispatcherTimer_1Tag__I=
-OS_DispatcherTimer_1Tag__I_0=
-
-OS_DispatcherTimer_1Tag__II=
-OS_DispatcherTimer_1Tag__II_0=
-OS_DispatcherTimer_1Tag__II_1=
-
-OS_DispatcherTimer_Tick=
-OS_DispatcherTimer_Tick_0=
-OS_DispatcherTimer_Tick_1=
-
-OS_Dispatcher_BeginInvoke=
-OS_Dispatcher_BeginInvoke_0=
-OS_Dispatcher_BeginInvoke_1=
-OS_Dispatcher_BeginInvoke_2=
-
-OS_Dispatcher_Hooks=
-OS_Dispatcher_Hooks_0=
-
-OS_Dispatcher_PushFrame=
-OS_Dispatcher_PushFrame_0=
-
-OS_DockPanel_DockProperty=
-
-OS_DockPanel_typeid=
-
-OS_DoubleAnimationUsingKeyFrames_KeyFrames=
-OS_DoubleAnimationUsingKeyFrames_KeyFrames_0=
-
-OS_DoubleCollection_Add=
-OS_DoubleCollection_Add_0=
-OS_DoubleCollection_Add_1=
-
-OS_DoubleKeyFrameCollection_Add=
-OS_DoubleKeyFrameCollection_Add_0=
-OS_DoubleKeyFrameCollection_Add_1=
-
-OS_DrawingColor_FromArgb=
-OS_DrawingColor_FromArgb_0=
-OS_DrawingColor_FromArgb_1=
-OS_DrawingColor_FromArgb_2=
-OS_DrawingColor_FromArgb_3=
-
-OS_DrawingColor_ToArgb=
-OS_DrawingColor_ToArgb_0=
-
-OS_DrawingContext_Close=
-OS_DrawingContext_Close_0=
-
-OS_DrawingContext_DrawEllipse=
-OS_DrawingContext_DrawEllipse_0=
-OS_DrawingContext_DrawEllipse_1=
-OS_DrawingContext_DrawEllipse_2=
-OS_DrawingContext_DrawEllipse_3=
-OS_DrawingContext_DrawEllipse_4=
-OS_DrawingContext_DrawEllipse_5=
-
-OS_DrawingContext_DrawGeometry=
-OS_DrawingContext_DrawGeometry_0=
-OS_DrawingContext_DrawGeometry_1=
-OS_DrawingContext_DrawGeometry_2=
-OS_DrawingContext_DrawGeometry_3=
-
-OS_DrawingContext_DrawImage=
-OS_DrawingContext_DrawImage_0=
-OS_DrawingContext_DrawImage_1=
-OS_DrawingContext_DrawImage_2=
-
-OS_DrawingContext_DrawLine=
-OS_DrawingContext_DrawLine_0=
-OS_DrawingContext_DrawLine_1=
-OS_DrawingContext_DrawLine_2=
-OS_DrawingContext_DrawLine_3=
-
-OS_DrawingContext_DrawRectangle=
-OS_DrawingContext_DrawRectangle_0=
-OS_DrawingContext_DrawRectangle_1=
-OS_DrawingContext_DrawRectangle_2=
-OS_DrawingContext_DrawRectangle_3=
-
-OS_DrawingContext_DrawRoundedRectangle=
-OS_DrawingContext_DrawRoundedRectangle_0=
-OS_DrawingContext_DrawRoundedRectangle_1=
-OS_DrawingContext_DrawRoundedRectangle_2=
-OS_DrawingContext_DrawRoundedRectangle_3=
-OS_DrawingContext_DrawRoundedRectangle_4=
-OS_DrawingContext_DrawRoundedRectangle_5=
-
-OS_DrawingContext_DrawText=
-OS_DrawingContext_DrawText_0=
-OS_DrawingContext_DrawText_1=
-OS_DrawingContext_DrawText_2=
-
-OS_DrawingContext_Pop=
-OS_DrawingContext_Pop_0=
-
-OS_DrawingContext_PushClip=
-OS_DrawingContext_PushClip_0=
-OS_DrawingContext_PushClip_1=
-
-OS_DrawingContext_PushOpacity=
-OS_DrawingContext_PushOpacity_0=
-OS_DrawingContext_PushOpacity_1=
-
-OS_DrawingContext_PushTransform=
-OS_DrawingContext_PushTransform_0=
-OS_DrawingContext_PushTransform_1=
-
-OS_DrawingVisual_RenderOpen=
-OS_DrawingVisual_RenderOpen_0=
-
-OS_DrawingVisual_typeid=
-
-OS_EditingCommands_Backspace=
-
-OS_EditingCommands_Delete=
-
-OS_EditingCommands_DeleteNextWord=
-
-OS_EditingCommands_DeletePreviousWord=
-
-OS_Environment_ExpandEnvironmentVariables=
-OS_Environment_ExpandEnvironmentVariables_0=
-
-OS_ExecutedRoutedEventArgs_Command=
-OS_ExecutedRoutedEventArgs_Command_0=
-
-OS_ExecutedRoutedEventArgs_Handled=
-OS_ExecutedRoutedEventArgs_Handled_0=
-OS_ExecutedRoutedEventArgs_Handled_1=
-
-OS_Expander_Collapsed=
-OS_Expander_Collapsed_0=
-OS_Expander_Collapsed_1=
-
-OS_Expander_Expanded=
-OS_Expander_Expanded_0=
-OS_Expander_Expanded_1=
-
-OS_Expander_1IsExpanded__I=
-OS_Expander_1IsExpanded__I_0=
-
-OS_Expander_1IsExpanded__IZ=
-OS_Expander_1IsExpanded__IZ_0=
-OS_Expander_1IsExpanded__IZ_1=
-
-OS_FileDialog_FileName=
-OS_FileDialog_FileName_0=
-OS_FileDialog_FileName_1=
-
-OS_FileDialog_FileNames=
-OS_FileDialog_FileNames_0=
-
-OS_FileDialog_Filter=
-OS_FileDialog_Filter_0=
-OS_FileDialog_Filter_1=
-
-OS_FileDialog_InitialDirectory=
-OS_FileDialog_InitialDirectory_0=
-OS_FileDialog_InitialDirectory_1=
-
-OS_FileDialog_Title=
-OS_FileDialog_Title_0=
-OS_FileDialog_Title_1=
-
-OS_FileInfo_DirectoryName=
-OS_FileInfo_DirectoryName_0=
-
-OS_FileInfo_Name=
-OS_FileInfo_Name_0=
-
-OS_FontFamily_GetTypefaces=
-OS_FontFamily_GetTypefaces_0=
-
-OS_FontFamily_Source=
-OS_FontFamily_Source_0=
-
-OS_FontStretch_FromOpenTypeStretch=
-OS_FontStretch_FromOpenTypeStretch_0=
-
-OS_FontStretch_ToOpenTypeStretch=
-OS_FontStretch_ToOpenTypeStretch_0=
-
-OS_FontStretches_Normal=
-
-OS_FontStyles_Italic=
-
-OS_FontStyles_Normal=
-
-OS_FontStyles_Oblique=
-
-OS_FontWeight_FromOpenTypeWeight=
-OS_FontWeight_FromOpenTypeWeight_0=
-
-OS_FontWeight_ToOpenTypeWeight=
-OS_FontWeight_ToOpenTypeWeight_0=
-
-OS_FontWeights_Bold=
-
-OS_FontWeights_Normal=
-
-OS_Fonts_SystemTypefaces=
-
-OS_FormattedText_Baseline=
-OS_FormattedText_Baseline_0=
-
-OS_FormattedText_BuildGeometry=
-OS_FormattedText_BuildGeometry_0=
-OS_FormattedText_BuildGeometry_1=
-
-OS_FormattedText_BuildHighlightGeometry=
-OS_FormattedText_BuildHighlightGeometry_0=
-OS_FormattedText_BuildHighlightGeometry_1=
-
-OS_FormattedText_Height=
-OS_FormattedText_Height_0=
-
-OS_FormattedText_WidthIncludingTrailingWhitespace=
-OS_FormattedText_WidthIncludingTrailingWhitespace_0=
-
-OS_FormsCommonDialog_ShowDialog=
-OS_FormsCommonDialog_ShowDialog_0=
-
-OS_FrameworkContentElement_Parent=
-OS_FrameworkContentElement_Parent_0=
-
-OS_FrameworkContentElement_1Tag__I=
-OS_FrameworkContentElement_1Tag__I_0=
-
-OS_FrameworkContentElement_1Tag__II=
-OS_FrameworkContentElement_1Tag__II_0=
-OS_FrameworkContentElement_1Tag__II_1=
-
-OS_FrameworkContentElement_typeid=
-
-OS_FrameworkElementFactory_AppendChild=
-OS_FrameworkElementFactory_AppendChild_0=
-OS_FrameworkElementFactory_AppendChild_1=
-
-OS_FrameworkElementFactory_SetBinding=
-OS_FrameworkElementFactory_SetBinding_0=
-OS_FrameworkElementFactory_SetBinding_1=
-OS_FrameworkElementFactory_SetBinding_2=
-
-OS_FrameworkElementFactory_1SetValue__III=
-OS_FrameworkElementFactory_1SetValue__III_0=
-OS_FrameworkElementFactory_1SetValue__III_1=
-OS_FrameworkElementFactory_1SetValue__III_2=
-
-OS_FrameworkElementFactory_1SetValue__IIZ=
-OS_FrameworkElementFactory_1SetValue__IIZ_0=
-OS_FrameworkElementFactory_1SetValue__IIZ_1=
-OS_FrameworkElementFactory_1SetValue__IIZ_2=
-
-OS_FrameworkElementFactory_SetValueDock=
-OS_FrameworkElementFactory_SetValueDock_0=
-OS_FrameworkElementFactory_SetValueDock_1=
-OS_FrameworkElementFactory_SetValueDock_2=
-
-OS_FrameworkElementFactory_SetValueOrientation=
-OS_FrameworkElementFactory_SetValueOrientation_0=
-OS_FrameworkElementFactory_SetValueOrientation_1=
-OS_FrameworkElementFactory_SetValueOrientation_2=
-
-OS_FrameworkElementFactory_SetValueStretch=
-OS_FrameworkElementFactory_SetValueStretch_0=
-OS_FrameworkElementFactory_SetValueStretch_1=
-OS_FrameworkElementFactory_SetValueStretch_2=
-
-OS_FrameworkElementFactory_SetValueVerticalAlignment=
-OS_FrameworkElementFactory_SetValueVerticalAlignment_0=
-OS_FrameworkElementFactory_SetValueVerticalAlignment_1=
-OS_FrameworkElementFactory_SetValueVerticalAlignment_2=
-
-OS_FrameworkElementFactory_SetValueVisibility=
-OS_FrameworkElementFactory_SetValueVisibility_0=
-OS_FrameworkElementFactory_SetValueVisibility_1=
-OS_FrameworkElementFactory_SetValueVisibility_2=
-
-OS_FrameworkElement_ActualHeight=
-OS_FrameworkElement_ActualHeight_0=
-
-OS_FrameworkElement_ActualHeightProperty=
-
-OS_FrameworkElement_ActualWidth=
-OS_FrameworkElement_ActualWidth_0=
-
-OS_FrameworkElement_ActualWidthProperty=
-
-OS_FrameworkElement_BeginInit=
-OS_FrameworkElement_BeginInit_0=
-
-OS_FrameworkElement_BringIntoView=
-OS_FrameworkElement_BringIntoView_0=
-
-OS_FrameworkElement_ContextMenu=
-OS_FrameworkElement_ContextMenu_0=
-OS_FrameworkElement_ContextMenu_1=
-
-OS_FrameworkElement_ContextMenuClosing=
-OS_FrameworkElement_ContextMenuClosing_0=
-OS_FrameworkElement_ContextMenuClosing_1=
-
-OS_FrameworkElement_ContextMenuOpening=
-OS_FrameworkElement_ContextMenuOpening_0=
-OS_FrameworkElement_ContextMenuOpening_1=
-
-OS_FrameworkElement_Cursor=
-OS_FrameworkElement_Cursor_0=
-OS_FrameworkElement_Cursor_1=
-
-OS_FrameworkElement_CursorProperty=
-
-OS_FrameworkElement_GetBindingExpression=
-OS_FrameworkElement_GetBindingExpression_0=
-OS_FrameworkElement_GetBindingExpression_1=
-
-OS_FrameworkElement_1Height__I=
-OS_FrameworkElement_1Height__I_0=
-
-OS_FrameworkElement_1Height__ID=
-OS_FrameworkElement_1Height__ID_0=
-OS_FrameworkElement_1Height__ID_1=
-
-OS_FrameworkElement_HeightProperty=
-
-OS_FrameworkElement_HorizontalAlignment=
-OS_FrameworkElement_HorizontalAlignment_0=
-OS_FrameworkElement_HorizontalAlignment_1=
-
-OS_FrameworkElement_IsLoaded=
-OS_FrameworkElement_IsLoaded_0=
-
-OS_FrameworkElement_Loaded=
-OS_FrameworkElement_Loaded_0=
-OS_FrameworkElement_Loaded_1=
-
-OS_FrameworkElement_Margin=
-OS_FrameworkElement_Margin_0=
-OS_FrameworkElement_Margin_1=
-
-OS_FrameworkElement_MarginProperty=
-
-OS_FrameworkElement_1MinHeight__I=
-OS_FrameworkElement_1MinHeight__I_0=
-
-OS_FrameworkElement_1MinHeight__ID=
-OS_FrameworkElement_1MinHeight__ID_0=
-OS_FrameworkElement_1MinHeight__ID_1=
-
-OS_FrameworkElement_1MinWidth__I=
-OS_FrameworkElement_1MinWidth__I_0=
-
-OS_FrameworkElement_1MinWidth__ID=
-OS_FrameworkElement_1MinWidth__ID_0=
-OS_FrameworkElement_1MinWidth__ID_1=
-
-OS_FrameworkElement_Name=
-OS_FrameworkElement_Name_0=
-
-OS_FrameworkElement_NameProperty=
-
-OS_FrameworkElement_Parent=
-OS_FrameworkElement_Parent_0=
-
-OS_FrameworkElement_SizeChanged=
-OS_FrameworkElement_SizeChanged_0=
-OS_FrameworkElement_SizeChanged_1=
-
-OS_FrameworkElement_1Tag__I=
-OS_FrameworkElement_1Tag__I_0=
-
-OS_FrameworkElement_1Tag__II=
-OS_FrameworkElement_1Tag__II_0=
-OS_FrameworkElement_1Tag__II_1=
-
-OS_FrameworkElement_1ToolTip__I=
-OS_FrameworkElement_1ToolTip__I_0=
-
-OS_FrameworkElement_1ToolTip__II=
-OS_FrameworkElement_1ToolTip__II_0=
-OS_FrameworkElement_1ToolTip__II_1=
-
-OS_FrameworkElement_VerticalAlignment=
-OS_FrameworkElement_VerticalAlignment_0=
-OS_FrameworkElement_VerticalAlignment_1=
-
-OS_FrameworkElement_VerticalAlignmentProperty=
-
-OS_FrameworkElement_VisibilityProperty=
-
-OS_FrameworkElement_1Width__I=
-OS_FrameworkElement_1Width__I_0=
-
-OS_FrameworkElement_1Width__ID=
-OS_FrameworkElement_1Width__ID_0=
-OS_FrameworkElement_1Width__ID_1=
-
-OS_FrameworkElement_WidthProperty=
-
-OS_FrameworkElement_typeid=
-
-OS_FrameworkTemplate_FindName=
-OS_FrameworkTemplate_FindName_0=
-OS_FrameworkTemplate_FindName_1=
-OS_FrameworkTemplate_FindName_2=
-
-OS_FrameworkTemplate_VisualTree=
-OS_FrameworkTemplate_VisualTree_0=
-OS_FrameworkTemplate_VisualTree_1=
-
-OS_Freezable_CanFreeze=
-OS_Freezable_CanFreeze_0=
-
-OS_Freezable_Clone=
-OS_Freezable_Clone_0=
-
-OS_Freezable_Freeze=
-OS_Freezable_Freeze_0=
-
-OS_GCHandle_Free=
-OS_GCHandle_Free_0=
-
-OS_GeometryCollection_Add=
-OS_GeometryCollection_Add_0=
-OS_GeometryCollection_Add_1=
-
-OS_GeometryCollection_Clear=
-OS_GeometryCollection_Clear_0=
-
-OS_GeometryCollection_Count=
-OS_GeometryCollection_Count_0=
-
-OS_GeometryCollection_Remove=
-OS_GeometryCollection_Remove_0=
-OS_GeometryCollection_Remove_1=
-
-OS_GeometryGroup_1Children__I=
-OS_GeometryGroup_1Children__I_0=
-
-OS_GeometryGroup_1Children__II=
-OS_GeometryGroup_1Children__II_0=
-OS_GeometryGroup_1Children__II_1=
-
-OS_Geometry_Bounds=
-OS_Geometry_Bounds_0=
-
-OS_Geometry_Clone=
-OS_Geometry_Clone_0=
-
-OS_Geometry_FillContains=
-OS_Geometry_FillContains_0=
-OS_Geometry_FillContains_1=
-
-OS_Geometry_FillContainsWithDetail=
-OS_Geometry_FillContainsWithDetail_0=
-OS_Geometry_FillContainsWithDetail_1=
-
-OS_Geometry_GetFlattenedPathGeometry=
-OS_Geometry_GetFlattenedPathGeometry_0=
-
-OS_Geometry_IsEmpty=
-OS_Geometry_IsEmpty_0=
-
-OS_Geometry_StrokeContains=
-OS_Geometry_StrokeContains_0=
-OS_Geometry_StrokeContains_1=
-OS_Geometry_StrokeContains_2=
-
-OS_Geometry_1Transform__I=
-OS_Geometry_1Transform__I_0=
-
-OS_Geometry_1Transform__II=
-OS_Geometry_1Transform__II_0=
-OS_Geometry_1Transform__II_1=
-
-OS_GetCursorPos=
-OS_GetCursorPos_0=
-
-OS_GetIconInfo=
-OS_GetIconInfo_0=
-OS_GetIconInfo_1=
-
-OS_GetKeyboardState=
-OS_GetKeyboardState_0=
-
-OS_GetModuleHandleW=
-OS_GetModuleHandleW_0=
-
-OS_GlyphRun_BidiLevel=
-OS_GlyphRun_BidiLevel_0=
-
-OS_GradientBrush_MappingMode=
-OS_GradientBrush_MappingMode_0=
-OS_GradientBrush_MappingMode_1=
-
-OS_GradientBrush_SpreadMethod=
-OS_GradientBrush_SpreadMethod_0=
-OS_GradientBrush_SpreadMethod_1=
-
-OS_GridViewColumnCollection_Clear=
-OS_GridViewColumnCollection_Clear_0=
-
-OS_GridViewColumnCollection_Count=
-OS_GridViewColumnCollection_Count_0=
-
-OS_GridViewColumnCollection_IndexOf=
-OS_GridViewColumnCollection_IndexOf_0=
-OS_GridViewColumnCollection_IndexOf_1=
-
-OS_GridViewColumnCollection_Insert=
-OS_GridViewColumnCollection_Insert_0=
-OS_GridViewColumnCollection_Insert_1=
-OS_GridViewColumnCollection_Insert_2=
-
-OS_GridViewColumnCollection_Remove=
-OS_GridViewColumnCollection_Remove_0=
-OS_GridViewColumnCollection_Remove_1=
-
-OS_GridViewColumnCollection_default=
-OS_GridViewColumnCollection_default_0=
-OS_GridViewColumnCollection_default_1=
-
-OS_GridViewColumnHeader_Content=
-OS_GridViewColumnHeader_Content_0=
-OS_GridViewColumnHeader_Content_1=
-
-OS_GridViewColumn_ActualWidth=
-OS_GridViewColumn_ActualWidth_0=
-
-OS_GridViewColumn_1CellTemplate__I=
-OS_GridViewColumn_1CellTemplate__I_0=
-
-OS_GridViewColumn_1CellTemplate__II=
-OS_GridViewColumn_1CellTemplate__II_0=
-OS_GridViewColumn_1CellTemplate__II_1=
-
-OS_GridViewColumn_1Header__I=
-OS_GridViewColumn_1Header__I_0=
-
-OS_GridViewColumn_1Header__II=
-OS_GridViewColumn_1Header__II_0=
-OS_GridViewColumn_1Header__II_1=
-
-OS_GridViewColumn_1HeaderTemplate__I=
-OS_GridViewColumn_1HeaderTemplate__I_0=
-
-OS_GridViewColumn_1HeaderTemplate__II=
-OS_GridViewColumn_1HeaderTemplate__II_0=
-OS_GridViewColumn_1HeaderTemplate__II_1=
-
-OS_GridViewColumn_1Width__I=
-OS_GridViewColumn_1Width__I_0=
-
-OS_GridViewColumn_1Width__ID=
-OS_GridViewColumn_1Width__ID_0=
-OS_GridViewColumn_1Width__ID_1=
-
-OS_GridViewColumn_WidthProperty=
-
-OS_GridViewHeaderRowPresenter_ColumnsProperty=
-
-OS_GridViewHeaderRowPresenter_typeid=
-
-OS_GridViewRowPresenterBase_Columns=
-OS_GridViewRowPresenterBase_Columns_0=
-OS_GridViewRowPresenterBase_Columns_1=
-
-OS_GridViewRowPresenter_1Content__I=
-OS_GridViewRowPresenter_1Content__I_0=
-
-OS_GridViewRowPresenter_1Content__II=
-OS_GridViewRowPresenter_1Content__II_0=
-OS_GridViewRowPresenter_1Content__II_1=
-
-OS_GridViewRowPresenter_typeid=
-
-OS_GridView_AllowsColumnReorder=
-OS_GridView_AllowsColumnReorder_0=
-OS_GridView_AllowsColumnReorder_1=
-
-OS_GridView_ColumnHeaderContainerStyle=
-OS_GridView_ColumnHeaderContainerStyle_0=
-OS_GridView_ColumnHeaderContainerStyle_1=
-
-OS_GridView_Columns=
-OS_GridView_Columns_0=
-
-OS_Grid_ColumnDefinitions=
-OS_Grid_ColumnDefinitions_0=
-
-OS_Grid_RowDefinitions=
-OS_Grid_RowDefinitions_0=
-
-OS_Grid_SetColumn=
-OS_Grid_SetColumn_0=
-OS_Grid_SetColumn_1=
-
-OS_Grid_SetColumnSpan=
-OS_Grid_SetColumnSpan_0=
-OS_Grid_SetColumnSpan_1=
-
-OS_Grid_SetRow=
-OS_Grid_SetRow_0=
-OS_Grid_SetRow_1=
-
-OS_Grid_SetRowSpan=
-OS_Grid_SetRowSpan_0=
-OS_Grid_SetRowSpan_1=
-
-OS_HeaderedContentControl_1Header__I=
-OS_HeaderedContentControl_1Header__I_0=
-
-OS_HeaderedContentControl_1Header__II=
-OS_HeaderedContentControl_1Header__II_0=
-OS_HeaderedContentControl_1Header__II_1=
-
-OS_HeaderedItemsControl_1Header__I=
-OS_HeaderedItemsControl_1Header__I_0=
-
-OS_HeaderedItemsControl_1Header__II=
-OS_HeaderedItemsControl_1Header__II_0=
-OS_HeaderedItemsControl_1Header__II_1=
-
-OS_Hyperlink_Click=
-OS_Hyperlink_Click_0=
-OS_Hyperlink_Click_1=
-
-OS_ICollection_Count=
-OS_ICollection_Count_0=
-
-OS_IEnumerator_Current=
-OS_IEnumerator_Current_0=
-
-OS_IEnumerator_MoveNext=
-OS_IEnumerator_MoveNext_0=
-
-OS_IList_Add=
-OS_IList_Add_0=
-OS_IList_Add_1=
-
-OS_IList_GetEnumerator=
-OS_IList_GetEnumerator_0=
-
-OS_IList_default=
-OS_IList_default_0=
-OS_IList_default_1=
-
-OS_ImageSource_typeid=
-
-OS_Image_Source=
-OS_Image_Source_0=
-OS_Image_Source_1=
-
-OS_Image_SourceProperty=
-
-OS_Image_Stretch=
-OS_Image_Stretch_0=
-OS_Image_Stretch_1=
-
-OS_Image_StretchProperty=
-
-OS_Image_typeid=
-
-OS_Imaging_CreateBitmapSourceFromHIcon=
-OS_Imaging_CreateBitmapSourceFromHIcon_0=
-OS_Imaging_CreateBitmapSourceFromHIcon_1=
-OS_Imaging_CreateBitmapSourceFromHIcon_2=
-
-OS_IndexedGlyphRunCollection_Current=
-OS_IndexedGlyphRunCollection_Current_0=
-
-OS_IndexedGlyphRunCollection_GetEnumerator=
-OS_IndexedGlyphRunCollection_GetEnumerator_0=
-
-OS_IndexedGlyphRun_GlyphRun=
-OS_IndexedGlyphRun_GlyphRun_0=
-
-OS_IndexedGlyphRun_TextSourceCharacterIndex=
-OS_IndexedGlyphRun_TextSourceCharacterIndex_0=
-
-OS_IndexedGlyphRun_TextSourceLength=
-OS_IndexedGlyphRun_TextSourceLength_0=
-
-OS_InlineCollection_Add=
-OS_InlineCollection_Add_0=
-OS_InlineCollection_Add_1=
-
-OS_InlineCollection_Clear=
-OS_InlineCollection_Clear_0=
-
-OS_InputEventArgs_Timestamp=
-OS_InputEventArgs_Timestamp_0=
-
-OS_Int32Rect_Empty=
-
-OS_IntPtr_ToInt32=
-OS_IntPtr_ToInt32_0=
-
-OS_ItemCollection_Add=
-OS_ItemCollection_Add_0=
-OS_ItemCollection_Add_1=
-
-OS_ItemCollection_Clear=
-OS_ItemCollection_Clear_0=
-
-OS_ItemCollection_Count=
-OS_ItemCollection_Count_0=
-
-OS_ItemCollection_CurrentItem=
-OS_ItemCollection_CurrentItem_0=
-
-OS_ItemCollection_CurrentPosition=
-OS_ItemCollection_CurrentPosition_0=
-
-OS_ItemCollection_GetItemAt=
-OS_ItemCollection_GetItemAt_0=
-OS_ItemCollection_GetItemAt_1=
-
-OS_ItemCollection_IndexOf=
-OS_ItemCollection_IndexOf_0=
-OS_ItemCollection_IndexOf_1=
-
-OS_ItemCollection_Insert=
-OS_ItemCollection_Insert_0=
-OS_ItemCollection_Insert_1=
-OS_ItemCollection_Insert_2=
-
-OS_ItemCollection_Remove=
-OS_ItemCollection_Remove_0=
-OS_ItemCollection_Remove_1=
-
-OS_ItemCollection_RemoveAt=
-OS_ItemCollection_RemoveAt_0=
-OS_ItemCollection_RemoveAt_1=
-
-OS_ItemsControl_HasItems=
-OS_ItemsControl_HasItems_0=
-
-OS_ItemsControl_Items=
-OS_ItemsControl_Items_0=
-
-OS_ItemsControl_ItemsSource=
-OS_ItemsControl_ItemsSource_0=
-OS_ItemsControl_ItemsSource_1=
-
-OS_ItemsPresenter_typeid=
-
-OS_JNIGetObject=
-OS_JNIGetObject_0=
-
-OS_KeyEventArgs_IsDown=
-OS_KeyEventArgs_IsDown_0=
-
-OS_KeyEventArgs_IsRepeat=
-OS_KeyEventArgs_IsRepeat_0=
-
-OS_KeyEventArgs_IsToggled=
-OS_KeyEventArgs_IsToggled_0=
-
-OS_KeyEventArgs_Key=
-OS_KeyEventArgs_Key_0=
-
-OS_KeyEventArgs_SystemKey=
-OS_KeyEventArgs_SystemKey_0=
-
-OS_KeyInterop_VirtualKeyFromKey=
-OS_KeyInterop_VirtualKeyFromKey_0=
-
-OS_KeyTime_Uniform=
-
-OS_KeyboardDevice_Modifiers=
-OS_KeyboardDevice_Modifiers_0=
-
-OS_KeyboardEventArgs_KeyboardDevice=
-OS_KeyboardEventArgs_KeyboardDevice_0=
-
-OS_KeyboardNavigation_SetTabNavigation=
-OS_KeyboardNavigation_SetTabNavigation_0=
-OS_KeyboardNavigation_SetTabNavigation_1=
-
-OS_Keyboard_FocusedElement=
-
-OS_Keyboard_Modifiers=
-
-OS_ListBoxItem_1IsSelected__I=
-OS_ListBoxItem_1IsSelected__I_0=
-
-OS_ListBoxItem_1IsSelected__IZ=
-OS_ListBoxItem_1IsSelected__IZ_0=
-OS_ListBoxItem_1IsSelected__IZ_1=
-
-OS_ListBox_ScrollIntoView=
-OS_ListBox_ScrollIntoView_0=
-OS_ListBox_ScrollIntoView_1=
-
-OS_ListBox_SelectAll=
-OS_ListBox_SelectAll_0=
-
-OS_ListBox_SelectedItems=
-OS_ListBox_SelectedItems_0=
-
-OS_ListBox_SelectionMode=
-OS_ListBox_SelectionMode_0=
-OS_ListBox_SelectionMode_1=
-
-OS_ListBox_UnselectAll=
-OS_ListBox_UnselectAll_0=
-
-OS_ListView_View=
-OS_ListView_View_0=
-OS_ListView_View_1=
-
-OS_LoadImage=
-OS_LoadImage_0=
-OS_LoadImage_1=
-OS_LoadImage_2=
-OS_LoadImage_3=
-OS_LoadImage_4=
-OS_LoadImage_5=
-
-OS_MapVirtualKeyW=
-OS_MapVirtualKeyW_0=
-OS_MapVirtualKeyW_1=
-
-OS_MatrixTransform_1Matrix__I=
-OS_MatrixTransform_1Matrix__I_0=
-
-OS_MatrixTransform_1Matrix__II=
-OS_MatrixTransform_1Matrix__II_0=
-OS_MatrixTransform_1Matrix__II_1=
-
-OS_Matrix_Invert=
-OS_Matrix_Invert_0=
-
-OS_Matrix_IsIdentity=
-OS_Matrix_IsIdentity_0=
-
-OS_Matrix_1M11__I=
-OS_Matrix_1M11__I_0=
-
-OS_Matrix_1M11__ID=
-OS_Matrix_1M11__ID_0=
-OS_Matrix_1M11__ID_1=
-
-OS_Matrix_1M12__I=
-OS_Matrix_1M12__I_0=
-
-OS_Matrix_1M12__ID=
-OS_Matrix_1M12__ID_0=
-OS_Matrix_1M12__ID_1=
-
-OS_Matrix_1M21__I=
-OS_Matrix_1M21__I_0=
-
-OS_Matrix_1M21__ID=
-OS_Matrix_1M21__ID_0=
-OS_Matrix_1M21__ID_1=
-
-OS_Matrix_1M22__I=
-OS_Matrix_1M22__I_0=
-
-OS_Matrix_1M22__ID=
-OS_Matrix_1M22__ID_0=
-OS_Matrix_1M22__ID_1=
-
-OS_Matrix_Multiply=
-OS_Matrix_Multiply_0=
-OS_Matrix_Multiply_1=
-
-OS_Matrix_1OffsetX__I=
-OS_Matrix_1OffsetX__I_0=
-
-OS_Matrix_1OffsetX__ID=
-OS_Matrix_1OffsetX__ID_0=
-OS_Matrix_1OffsetX__ID_1=
-
-OS_Matrix_1OffsetY__I=
-OS_Matrix_1OffsetY__I_0=
-
-OS_Matrix_1OffsetY__ID=
-OS_Matrix_1OffsetY__ID_0=
-OS_Matrix_1OffsetY__ID_1=
-
-OS_Matrix_RotatePrepend=
-OS_Matrix_RotatePrepend_0=
-OS_Matrix_RotatePrepend_1=
-
-OS_Matrix_ScalePrepend=
-OS_Matrix_ScalePrepend_0=
-OS_Matrix_ScalePrepend_1=
-OS_Matrix_ScalePrepend_2=
-
-OS_Matrix_Transform=
-OS_Matrix_Transform_0=
-OS_Matrix_Transform_1=
-
-OS_Matrix_TranslatePrepend=
-OS_Matrix_TranslatePrepend_0=
-OS_Matrix_TranslatePrepend_1=
-OS_Matrix_TranslatePrepend_2=
-
-OS_MenuItem_Click=
-OS_MenuItem_Click_0=
-OS_MenuItem_Click_1=
-
-OS_MenuItem_Icon=
-OS_MenuItem_Icon_0=
-OS_MenuItem_Icon_1=
-
-OS_MenuItem_InputGestureText=
-OS_MenuItem_InputGestureText_0=
-OS_MenuItem_InputGestureText_1=
-
-OS_MenuItem_IsCheckable=
-OS_MenuItem_IsCheckable_0=
-OS_MenuItem_IsCheckable_1=
-
-OS_MenuItem_1IsChecked__I=
-OS_MenuItem_1IsChecked__I_0=
-
-OS_MenuItem_1IsChecked__IZ=
-OS_MenuItem_1IsChecked__IZ_0=
-OS_MenuItem_1IsChecked__IZ_1=
-
-OS_MenuItem_SubmenuClosed=
-OS_MenuItem_SubmenuClosed_0=
-OS_MenuItem_SubmenuClosed_1=
-
-OS_MenuItem_SubmenuOpened=
-OS_MenuItem_SubmenuOpened_0=
-OS_MenuItem_SubmenuOpened_1=
-
-OS_Menu_IsMainMenu=
-OS_Menu_IsMainMenu_0=
-OS_Menu_IsMainMenu_1=
-
-OS_MessageBox_Show=
-OS_MessageBox_Show_0=
-OS_MessageBox_Show_1=
-OS_MessageBox_Show_2=
-OS_MessageBox_Show_3=
-OS_MessageBox_Show_4=
-
-OS_MouseButtonEventArgs_ButtonState=
-OS_MouseButtonEventArgs_ButtonState_0=
-
-OS_MouseButtonEventArgs_ChangedButton=
-OS_MouseButtonEventArgs_ChangedButton_0=
-
-OS_MouseButtonEventArgs_ClickCount=
-OS_MouseButtonEventArgs_ClickCount_0=
-
-OS_MouseEventArgs_GetPosition=
-OS_MouseEventArgs_GetPosition_0=
-OS_MouseEventArgs_GetPosition_1=
-
-OS_MouseEventArgs_LeftButton=
-OS_MouseEventArgs_LeftButton_0=
-
-OS_MouseEventArgs_MiddleButton=
-OS_MouseEventArgs_MiddleButton_0=
-
-OS_MouseEventArgs_RightButton=
-OS_MouseEventArgs_RightButton_0=
-
-OS_MouseEventArgs_XButton1=
-OS_MouseEventArgs_XButton1_0=
-
-OS_MouseEventArgs_XButton2=
-OS_MouseEventArgs_XButton2_0=
-
-OS_MouseWheelEventArgs_Delta=
-OS_MouseWheelEventArgs_Delta_0=
-
-OS_Mouse_DirectlyOver=
-
-OS_Mouse_GetPosition=
-OS_Mouse_GetPosition_0=
-
-OS_Mouse_LeftButton=
-
-OS_Mouse_MiddleButton=
-
-OS_Mouse_RightButton=
-
-OS_Mouse_SetCursor=
-OS_Mouse_SetCursor_0=
-
-OS_Mouse_XButton1=
-
-OS_Mouse_XButton2=
-
-OS_NewGlobalRef=
-OS_NewGlobalRef_0=
-
-OS_Object_Equals=
-OS_Object_Equals_0=
-OS_Object_Equals_1=
-
-OS_Object_GetType=
-OS_Object_GetType_0=
-
-OS_Object_ToString=
-OS_Object_ToString_0=
-
-OS_OpenFileDialog_Multiselect=
-OS_OpenFileDialog_Multiselect_0=
-OS_OpenFileDialog_Multiselect_1=
-
-OS_Panel_Background=
-OS_Panel_Background_0=
-OS_Panel_Background_1=
-
-OS_Panel_BackgroundProperty=
-
-OS_Panel_Children=
-OS_Panel_Children_0=
-
-OS_Panel_GetZIndex=
-OS_Panel_GetZIndex_0=
-
-OS_Panel_SetZIndex=
-OS_Panel_SetZIndex_0=
-OS_Panel_SetZIndex_1=
-
-OS_PasswordBox_1MaxLength__I=
-OS_PasswordBox_1MaxLength__I_0=
-
-OS_PasswordBox_1MaxLength__II=
-OS_PasswordBox_1MaxLength__II_0=
-OS_PasswordBox_1MaxLength__II_1=
-
-OS_PasswordBox_1Password__I=
-OS_PasswordBox_1Password__I_0=
-
-OS_PasswordBox_1Password__II=
-OS_PasswordBox_1Password__II_0=
-OS_PasswordBox_1Password__II_1=
-
-OS_PasswordBox_PasswordChanged=
-OS_PasswordBox_PasswordChanged_0=
-OS_PasswordBox_PasswordChanged_1=
-
-OS_PasswordBox_1PasswordChar__I=
-OS_PasswordBox_1PasswordChar__I_0=
-
-OS_PasswordBox_1PasswordChar__IC=
-OS_PasswordBox_1PasswordChar__IC_0=
-OS_PasswordBox_1PasswordChar__IC_1=
-
-OS_PasswordBox_Paste=
-OS_PasswordBox_Paste_0=
-
-OS_PathFigureCollection_Add=
-OS_PathFigureCollection_Add_0=
-OS_PathFigureCollection_Add_1=
-
-OS_PathFigureCollection_Count=
-OS_PathFigureCollection_Count_0=
-
-OS_PathFigure_1IsClosed__I=
-OS_PathFigure_1IsClosed__I_0=
-
-OS_PathFigure_1IsClosed__IZ=
-OS_PathFigure_1IsClosed__IZ_0=
-OS_PathFigure_1IsClosed__IZ_1=
-
-OS_PathFigure_1Segments__I=
-OS_PathFigure_1Segments__I_0=
-
-OS_PathFigure_1Segments__II=
-OS_PathFigure_1Segments__II_0=
-OS_PathFigure_1Segments__II_1=
-
-OS_PathFigure_StartPoint=
-OS_PathFigure_StartPoint_0=
-OS_PathFigure_StartPoint_1=
-
-OS_PathGeometry_AddGeometry=
-OS_PathGeometry_AddGeometry_0=
-OS_PathGeometry_AddGeometry_1=
-
-OS_PathGeometry_Bounds=
-OS_PathGeometry_Bounds_0=
-
-OS_PathGeometry_1Figures__I=
-OS_PathGeometry_1Figures__I_0=
-
-OS_PathGeometry_1Figures__II=
-OS_PathGeometry_1Figures__II_0=
-OS_PathGeometry_1Figures__II_1=
-
-OS_PathGeometry_FillRule=
-OS_PathGeometry_FillRule_0=
-OS_PathGeometry_FillRule_1=
-
-OS_PathSegmentCollection_Add=
-OS_PathSegmentCollection_Add_0=
-OS_PathSegmentCollection_Add_1=
-
-OS_PathSegmentCollection_Count=
-OS_PathSegmentCollection_Count_0=
-
-OS_Path_Data=
-OS_Path_Data_0=
-OS_Path_Data_1=
-
-OS_Path_Fill=
-OS_Path_Fill_0=
-OS_Path_Fill_1=
-
-OS_Path_Stretch=
-OS_Path_Stretch_0=
-OS_Path_Stretch_1=
-
-OS_Pen_1Brush__I=
-OS_Pen_1Brush__I_0=
-
-OS_Pen_1Brush__II=
-OS_Pen_1Brush__II_0=
-OS_Pen_1Brush__II_1=
-
-OS_Pen_DashCap=
-OS_Pen_DashCap_0=
-OS_Pen_DashCap_1=
-
-OS_Pen_DashStyle=
-OS_Pen_DashStyle_0=
-OS_Pen_DashStyle_1=
-
-OS_Pen_EndLineCap=
-OS_Pen_EndLineCap_0=
-OS_Pen_EndLineCap_1=
-
-OS_Pen_LineJoin=
-OS_Pen_LineJoin_0=
-OS_Pen_LineJoin_1=
-
-OS_Pen_StartLineCap=
-OS_Pen_StartLineCap_0=
-OS_Pen_StartLineCap_1=
-
-OS_Pen_Thickness=
-OS_Pen_Thickness_0=
-OS_Pen_Thickness_1=
-
-OS_PixelFormat_BitsPerPixel=
-OS_PixelFormat_BitsPerPixel_0=
-
-OS_PixelFormats_Bgr101010=
-
-OS_PixelFormats_Bgr24=
-
-OS_PixelFormats_Bgr32=
-
-OS_PixelFormats_Bgr555=
-
-OS_PixelFormats_Bgr565=
-
-OS_PixelFormats_Bgra32=
-
-OS_PixelFormats_BlackWhite=
-
-OS_PixelFormats_Default=
-
-OS_PixelFormats_Indexed1=
-
-OS_PixelFormats_Indexed2=
-
-OS_PixelFormats_Indexed4=
-
-OS_PixelFormats_Indexed8=
-
-OS_PixelFormats_Pbgra32=
-
-OS_PixelFormats_Rgb24=
-
-OS_PointCollection_Add=
-OS_PointCollection_Add_0=
-OS_PointCollection_Add_1=
-
-OS_Point_X=
-OS_Point_X_0=
-
-OS_Point_Y=
-OS_Point_Y_0=
-
-OS_PresentationSource_FromVisual=
-OS_PresentationSource_FromVisual_0=
-
-OS_ProgressBar_1IsIndeterminate__I=
-OS_ProgressBar_1IsIndeterminate__I_0=
-
-OS_ProgressBar_1IsIndeterminate__IZ=
-OS_ProgressBar_1IsIndeterminate__IZ_0=
-OS_ProgressBar_1IsIndeterminate__IZ_1=
-
-OS_ProgressBar_Orientation=
-OS_ProgressBar_Orientation_0=
-OS_ProgressBar_Orientation_1=
-
-OS_RangeBase_1LargeChange__I=
-OS_RangeBase_1LargeChange__I_0=
-
-OS_RangeBase_1LargeChange__ID=
-OS_RangeBase_1LargeChange__ID_0=
-OS_RangeBase_1LargeChange__ID_1=
-
-OS_RangeBase_1Maximum__I=
-OS_RangeBase_1Maximum__I_0=
-
-OS_RangeBase_1Maximum__ID=
-OS_RangeBase_1Maximum__ID_0=
-OS_RangeBase_1Maximum__ID_1=
-
-OS_RangeBase_1Minimum__I=
-OS_RangeBase_1Minimum__I_0=
-
-OS_RangeBase_1Minimum__ID=
-OS_RangeBase_1Minimum__ID_0=
-OS_RangeBase_1Minimum__ID_1=
-
-OS_RangeBase_1SmallChange__I=
-OS_RangeBase_1SmallChange__I_0=
-
-OS_RangeBase_1SmallChange__ID=
-OS_RangeBase_1SmallChange__ID_0=
-OS_RangeBase_1SmallChange__ID_1=
-
-OS_RangeBase_1Value__I=
-OS_RangeBase_1Value__I_0=
-
-OS_RangeBase_1Value__ID=
-OS_RangeBase_1Value__ID_0=
-OS_RangeBase_1Value__ID_1=
-
-OS_RangeBase_ValueChanged=
-OS_RangeBase_ValueChanged_0=
-OS_RangeBase_ValueChanged_1=
-
-OS_Rect_1Height__I=
-OS_Rect_1Height__I_0=
-
-OS_Rect_1Height__ID=
-OS_Rect_1Height__ID_0=
-OS_Rect_1Height__ID_1=
-
-OS_Rect_Intersect=
-OS_Rect_Intersect_0=
-OS_Rect_Intersect_1=
-
-OS_Rect_Union=
-OS_Rect_Union_0=
-OS_Rect_Union_1=
-
-OS_Rect_1Width__I=
-OS_Rect_1Width__I_0=
-
-OS_Rect_1Width__ID=
-OS_Rect_1Width__ID_0=
-OS_Rect_1Width__ID_1=
-
-OS_Rect_1X__I=
-OS_Rect_1X__I_0=
-
-OS_Rect_1X__ID=
-OS_Rect_1X__ID_0=
-OS_Rect_1X__ID_1=
-
-OS_Rect_1Y__I=
-OS_Rect_1Y__I_0=
-
-OS_Rect_1Y__ID=
-OS_Rect_1Y__ID_0=
-OS_Rect_1Y__ID_1=
-
-OS_RegistryKey_GetSubKeyNames=
-OS_RegistryKey_GetSubKeyNames_0=
-
-OS_RegistryKey_GetValue=
-OS_RegistryKey_GetValue_0=
-OS_RegistryKey_GetValue_1=
-
-OS_RegistryKey_OpenSubKey=
-OS_RegistryKey_OpenSubKey_0=
-OS_RegistryKey_OpenSubKey_1=
-
-OS_Registry_ClassesRoot=
-
-OS_RenderOptions_GetBitmapScalingMode=
-OS_RenderOptions_GetBitmapScalingMode_0=
-
-OS_RenderOptions_SetBitmapScalingMode=
-OS_RenderOptions_SetBitmapScalingMode_0=
-OS_RenderOptions_SetBitmapScalingMode_1=
-
-OS_RenderOptions_SetEdgeMode=
-OS_RenderOptions_SetEdgeMode_0=
-OS_RenderOptions_SetEdgeMode_1=
-
-OS_RenderTargetBitmap_Render=
-OS_RenderTargetBitmap_Render_0=
-OS_RenderTargetBitmap_Render_1=
-
-OS_RepeatBehavior_Forever=
-
-OS_RoutedEventArgs_Handled=
-OS_RoutedEventArgs_Handled_0=
-OS_RoutedEventArgs_Handled_1=
-
-OS_RoutedEventArgs_OriginalSource=
-OS_RoutedEventArgs_OriginalSource_0=
-
-OS_RoutedEventArgs_Source=
-OS_RoutedEventArgs_Source_0=
-
-OS_RoutedEventArgs_typeid=
-
-OS_RowDefinitionCollection_Add=
-OS_RowDefinitionCollection_Add_0=
-OS_RowDefinitionCollection_Add_1=
-
-OS_RowDefinition_Height=
-OS_RowDefinition_Height_0=
-OS_RowDefinition_Height_1=
-
-OS_Run_Text=
-OS_Run_Text_0=
-OS_Run_Text_1=
-
-OS_SWTCanvas_1Visual__I=
-OS_SWTCanvas_1Visual__I_0=
-
-OS_SWTCanvas_1Visual__II=
-OS_SWTCanvas_1Visual__II_0=
-OS_SWTCanvas_1Visual__II_1=
-
-OS_SWTTextRunProperties_ForegroundBrush=
-OS_SWTTextRunProperties_ForegroundBrush_0=
-OS_SWTTextRunProperties_ForegroundBrush_1=
-
-OS_ScrollBar_1Orientation__I=
-OS_ScrollBar_1Orientation__I_0=
-
-OS_ScrollBar_1Orientation__II=
-OS_ScrollBar_1Orientation__II_0=
-OS_ScrollBar_1Orientation__II_1=
-
-OS_ScrollBar_Scroll=
-OS_ScrollBar_Scroll_0=
-OS_ScrollBar_Scroll_1=
-
-OS_ScrollBar_1ViewportSize__I=
-OS_ScrollBar_1ViewportSize__I_0=
-
-OS_ScrollBar_1ViewportSize__ID=
-OS_ScrollBar_1ViewportSize__ID_0=
-OS_ScrollBar_1ViewportSize__ID_1=
-
-OS_ScrollBar_typeid=
-
-OS_ScrollEventArgs_ScrollEventType=
-OS_ScrollEventArgs_ScrollEventType_0=
-
-OS_ScrollViewer_typeid=
-
-OS_SelectionChangedEventArgs_AddedItems=
-OS_SelectionChangedEventArgs_AddedItems_0=
-
-OS_SelectionChangedEventArgs_RemovedItems=
-OS_SelectionChangedEventArgs_RemovedItems_0=
-
-OS_Selector_IsSynchronizedWithCurrentItem=
-OS_Selector_IsSynchronizedWithCurrentItem_0=
-OS_Selector_IsSynchronizedWithCurrentItem_1=
-
-OS_Selector_1SelectedIndex__I=
-OS_Selector_1SelectedIndex__I_0=
-
-OS_Selector_1SelectedIndex__II=
-OS_Selector_1SelectedIndex__II_0=
-OS_Selector_1SelectedIndex__II_1=
-
-OS_Selector_SelectedItem=
-OS_Selector_SelectedItem_0=
-
-OS_Selector_SelectedValue=
-OS_Selector_SelectedValue_0=
-
-OS_Selector_SelectionChanged=
-OS_Selector_SelectionChanged_0=
-OS_Selector_SelectionChanged_1=
-
-OS_SetCursorPos=
-OS_SetCursorPos_0=
-OS_SetCursorPos_1=
-
-OS_SetterBaseCollection_Add=
-OS_SetterBaseCollection_Add_0=
-OS_SetterBaseCollection_Add_1=
-
-OS_Shape_Fill=
-OS_Shape_Fill_0=
-OS_Shape_Fill_1=
-
-OS_Shape_Stroke=
-OS_Shape_Stroke_0=
-OS_Shape_Stroke_1=
-
-OS_Shape_StrokeThickness=
-OS_Shape_StrokeThickness_0=
-OS_Shape_StrokeThickness_1=
-
-OS_Size_1Height__I=
-OS_Size_1Height__I_0=
-
-OS_Size_1Height__ID=
-OS_Size_1Height__ID_0=
-OS_Size_1Height__ID_1=
-
-OS_Size_1Width__I=
-OS_Size_1Width__I_0=
-
-OS_Size_1Width__ID=
-OS_Size_1Width__ID_0=
-OS_Size_1Width__ID_1=
-
-OS_Slider_Orientation=
-OS_Slider_Orientation_0=
-OS_Slider_Orientation_1=
-
-OS_Slider_TickFrequency=
-OS_Slider_TickFrequency_0=
-OS_Slider_TickFrequency_1=
-
-OS_Slider_TickPlacement=
-OS_Slider_TickPlacement_0=
-OS_Slider_TickPlacement_1=
-
-OS_StackPanel_Orientation=
-OS_StackPanel_Orientation_0=
-OS_StackPanel_Orientation_1=
-
-OS_StackPanel_OrientationProperty=
-
-OS_StackPanel_typeid=
-
-OS_StreamGeometryContext_BeginFigure=
-OS_StreamGeometryContext_BeginFigure_0=
-OS_StreamGeometryContext_BeginFigure_1=
-OS_StreamGeometryContext_BeginFigure_2=
-OS_StreamGeometryContext_BeginFigure_3=
-
-OS_StreamGeometryContext_Close=
-OS_StreamGeometryContext_Close_0=
-
-OS_StreamGeometryContext_LineTo=
-OS_StreamGeometryContext_LineTo_0=
-OS_StreamGeometryContext_LineTo_1=
-OS_StreamGeometryContext_LineTo_2=
-OS_StreamGeometryContext_LineTo_3=
-
-OS_StreamGeometry_Open=
-OS_StreamGeometry_Open_0=
-
-OS_String_Length=
-OS_String_Length_0=
-
-OS_String_ToCharArray=
-OS_String_ToCharArray_0=
-
-OS_Style_Setters=
-OS_Style_Setters_0=
-
-OS_SystemColors_ActiveBorderColor=
-
-OS_SystemColors_ActiveCaptionColor=
-
-OS_SystemColors_ActiveCaptionTextColor=
-
-OS_SystemColors_ControlBrush=
-
-OS_SystemColors_ControlColor=
-
-OS_SystemColors_ControlDarkColor=
-
-OS_SystemColors_ControlDarkDarkColor=
-
-OS_SystemColors_ControlLightColor=
-
-OS_SystemColors_ControlTextBrush=
-
-OS_SystemColors_ControlTextColor=
-
-OS_SystemColors_GradientActiveCaptionColor=
-
-OS_SystemColors_GradientInactiveCaptionColor=
-
-OS_SystemColors_HighlightBrush=
-
-OS_SystemColors_HighlightColor=
-
-OS_SystemColors_HighlightTextColor=
-
-OS_SystemColors_InactiveCaptionColor=
-
-OS_SystemColors_InactiveCaptionTextColor=
-
-OS_SystemColors_InfoColor=
-
-OS_SystemColors_InfoTextColor=
-
-OS_SystemColors_WindowColor=
-
-OS_SystemColors_WindowTextColor=
-
-OS_SystemFonts_MessageFontFamily=
-
-OS_SystemFonts_MessageFontSize=
-
-OS_SystemFonts_MessageFontStyle=
-
-OS_SystemFonts_MessageFontWeight=
-
-OS_SystemParameters_HighContrast=
-
-OS_SystemParameters_HorizontalScrollBarButtonWidth=
-
-OS_SystemParameters_HorizontalScrollBarHeight=
-
-OS_SystemParameters_PrimaryScreenHeight=
-
-OS_SystemParameters_PrimaryScreenWidth=
-
-OS_SystemParameters_VerticalScrollBarButtonHeight=
-
-OS_SystemParameters_VerticalScrollBarWidth=
-
-OS_SystemParameters_VirtualScreenHeight=
-
-OS_SystemParameters_VirtualScreenLeft=
-
-OS_SystemParameters_VirtualScreenTop=
-
-OS_SystemParameters_VirtualScreenWidth=
-
-OS_SystemParameters_WheelScrollLines=
-
-OS_SystemParameters_WorkArea=
-
-OS_TabControl_TabStripPlacement=
-OS_TabControl_TabStripPlacement_0=
-OS_TabControl_TabStripPlacement_1=
-
-OS_TabItem_IsSelected=
-OS_TabItem_IsSelected_0=
-
-OS_TextBlock_Background=
-OS_TextBlock_Background_0=
-OS_TextBlock_Background_1=
-
-OS_TextBlock_BackgroundProperty=
-
-OS_TextBlock_FontFamily=
-OS_TextBlock_FontFamily_0=
-OS_TextBlock_FontFamily_1=
-
-OS_TextBlock_FontFamilyProperty=
-
-OS_TextBlock_FontSize=
-OS_TextBlock_FontSize_0=
-OS_TextBlock_FontSize_1=
-
-OS_TextBlock_FontSizeProperty=
-
-OS_TextBlock_FontStretch=
-OS_TextBlock_FontStretch_0=
-OS_TextBlock_FontStretch_1=
-
-OS_TextBlock_FontStretchProperty=
-
-OS_TextBlock_FontStyle=
-OS_TextBlock_FontStyle_0=
-OS_TextBlock_FontStyle_1=
-
-OS_TextBlock_FontStyleProperty=
-
-OS_TextBlock_FontWeight=
-OS_TextBlock_FontWeight_0=
-OS_TextBlock_FontWeight_1=
-
-OS_TextBlock_FontWeightProperty=
-
-OS_TextBlock_Foreground=
-OS_TextBlock_Foreground_0=
-OS_TextBlock_Foreground_1=
-
-OS_TextBlock_ForegroundProperty=
-
-OS_TextBlock_Inlines=
-OS_TextBlock_Inlines_0=
-
-OS_TextBlock_Text=
-OS_TextBlock_Text_0=
-OS_TextBlock_Text_1=
-
-OS_TextBlock_TextProperty=
-
-OS_TextBlock_typeid=
-
-OS_TextBoundsCollection_Current=
-OS_TextBoundsCollection_Current_0=
-
-OS_TextBoundsCollection_GetEnumerator=
-OS_TextBoundsCollection_GetEnumerator_0=
-
-OS_TextBounds_Rectangle=
-OS_TextBounds_Rectangle_0=
-
-OS_TextBoxBase_AcceptsReturn=
-OS_TextBoxBase_AcceptsReturn_0=
-OS_TextBoxBase_AcceptsReturn_1=
-
-OS_TextBoxBase_AcceptsTab=
-OS_TextBoxBase_AcceptsTab_0=
-OS_TextBoxBase_AcceptsTab_1=
-
-OS_TextBoxBase_AppendText=
-OS_TextBoxBase_AppendText_0=
-OS_TextBoxBase_AppendText_1=
-
-OS_TextBoxBase_Copy=
-OS_TextBoxBase_Copy_0=
-
-OS_TextBoxBase_Cut=
-OS_TextBoxBase_Cut_0=
-
-OS_TextBoxBase_HorizontalScrollBarVisibility=
-OS_TextBoxBase_HorizontalScrollBarVisibility_0=
-OS_TextBoxBase_HorizontalScrollBarVisibility_1=
-
-OS_TextBoxBase_1IsReadOnly__I=
-OS_TextBoxBase_1IsReadOnly__I_0=
-
-OS_TextBoxBase_1IsReadOnly__IZ=
-OS_TextBoxBase_1IsReadOnly__IZ_0=
-OS_TextBoxBase_1IsReadOnly__IZ_1=
-
-OS_TextBoxBase_Paste=
-OS_TextBoxBase_Paste_0=
-
-OS_TextBoxBase_ScrollToEnd=
-OS_TextBoxBase_ScrollToEnd_0=
-
-OS_TextBoxBase_ScrollToVerticalOffset=
-OS_TextBoxBase_ScrollToVerticalOffset_0=
-OS_TextBoxBase_ScrollToVerticalOffset_1=
-
-OS_TextBoxBase_SelectAll=
-OS_TextBoxBase_SelectAll_0=
-
-OS_TextBoxBase_TextChanged=
-OS_TextBoxBase_TextChanged_0=
-OS_TextBoxBase_TextChanged_1=
-
-OS_TextBoxBase_VerticalOffset=
-OS_TextBoxBase_VerticalOffset_0=
-
-OS_TextBoxBase_VerticalScrollBarVisibility=
-OS_TextBoxBase_VerticalScrollBarVisibility_0=
-OS_TextBoxBase_VerticalScrollBarVisibility_1=
-
-OS_TextBox_1CaretIndex__I=
-OS_TextBox_1CaretIndex__I_0=
-
-OS_TextBox_1CaretIndex__II=
-OS_TextBox_1CaretIndex__II_0=
-OS_TextBox_1CaretIndex__II_1=
-
-OS_TextBox_GetFirstVisibleLineIndex=
-OS_TextBox_GetFirstVisibleLineIndex_0=
-
-OS_TextBox_GetLineIndexFromCharacterIndex=
-OS_TextBox_GetLineIndexFromCharacterIndex_0=
-OS_TextBox_GetLineIndexFromCharacterIndex_1=
-
-OS_TextBox_GetRectFromCharacterIndex=
-OS_TextBox_GetRectFromCharacterIndex_0=
-OS_TextBox_GetRectFromCharacterIndex_1=
-
-OS_TextBox_LineCount=
-OS_TextBox_LineCount_0=
-
-OS_TextBox_1MaxLength__I=
-OS_TextBox_1MaxLength__I_0=
-
-OS_TextBox_1MaxLength__II=
-OS_TextBox_1MaxLength__II_0=
-OS_TextBox_1MaxLength__II_1=
-
-OS_TextBox_ScrollToLine=
-OS_TextBox_ScrollToLine_0=
-OS_TextBox_ScrollToLine_1=
-
-OS_TextBox_Select=
-OS_TextBox_Select_0=
-OS_TextBox_Select_1=
-OS_TextBox_Select_2=
-
-OS_TextBox_1SelectedText__I=
-OS_TextBox_1SelectedText__I_0=
-
-OS_TextBox_1SelectedText__II=
-OS_TextBox_1SelectedText__II_0=
-OS_TextBox_1SelectedText__II_1=
-
-OS_TextBox_1SelectionLength__I=
-OS_TextBox_1SelectionLength__I_0=
-
-OS_TextBox_1SelectionLength__II=
-OS_TextBox_1SelectionLength__II_0=
-OS_TextBox_1SelectionLength__II_1=
-
-OS_TextBox_1SelectionStart__I=
-OS_TextBox_1SelectionStart__I_0=
-
-OS_TextBox_1SelectionStart__II=
-OS_TextBox_1SelectionStart__II_0=
-OS_TextBox_1SelectionStart__II_1=
-
-OS_TextBox_1Text__I=
-OS_TextBox_1Text__I_0=
-
-OS_TextBox_1Text__II=
-OS_TextBox_1Text__II_0=
-OS_TextBox_1Text__II_1=
-
-OS_TextBox_TextWrapping=
-OS_TextBox_TextWrapping_0=
-OS_TextBox_TextWrapping_1=
-
-OS_TextCompositionEventArgs_ControlText=
-OS_TextCompositionEventArgs_ControlText_0=
-
-OS_TextCompositionEventArgs_Handled=
-OS_TextCompositionEventArgs_Handled_0=
-OS_TextCompositionEventArgs_Handled_1=
-
-OS_TextCompositionEventArgs_SystemText=
-OS_TextCompositionEventArgs_SystemText_0=
-
-OS_TextCompositionEventArgs_Text=
-OS_TextCompositionEventArgs_Text_0=
-
-OS_TextDecorationCollection_Add=
-OS_TextDecorationCollection_Add_0=
-OS_TextDecorationCollection_Add_1=
-
-OS_TextDecorations_Strikethrough=
-
-OS_TextDecorations_Underline=
-
-OS_TextFormatter_Create=
-
-OS_TextFormatter_FormatLine=
-OS_TextFormatter_FormatLine_0=
-OS_TextFormatter_FormatLine_1=
-OS_TextFormatter_FormatLine_2=
-OS_TextFormatter_FormatLine_3=
-OS_TextFormatter_FormatLine_4=
-OS_TextFormatter_FormatLine_5=
-
-OS_TextLine_Baseline=
-OS_TextLine_Baseline_0=
-
-OS_TextLine_Draw=
-OS_TextLine_Draw_0=
-OS_TextLine_Draw_1=
-OS_TextLine_Draw_2=
-OS_TextLine_Draw_3=
-
-OS_TextLine_GetCharacterHitFromDistance=
-OS_TextLine_GetCharacterHitFromDistance_0=
-OS_TextLine_GetCharacterHitFromDistance_1=
-
-OS_TextLine_GetDistanceFromCharacterHit=
-OS_TextLine_GetDistanceFromCharacterHit_0=
-OS_TextLine_GetDistanceFromCharacterHit_1=
-
-OS_TextLine_GetIndexedGlyphRuns=
-OS_TextLine_GetIndexedGlyphRuns_0=
-
-OS_TextLine_GetNextCaretCharacterHit=
-OS_TextLine_GetNextCaretCharacterHit_0=
-OS_TextLine_GetNextCaretCharacterHit_1=
-
-OS_TextLine_GetPreviousCaretCharacterHit=
-OS_TextLine_GetPreviousCaretCharacterHit_0=
-OS_TextLine_GetPreviousCaretCharacterHit_1=
-
-OS_TextLine_GetTextBounds=
-OS_TextLine_GetTextBounds_0=
-OS_TextLine_GetTextBounds_1=
-OS_TextLine_GetTextBounds_2=
-
-OS_TextLine_GetTextLineBreak=
-OS_TextLine_GetTextLineBreak_0=
-
-OS_TextLine_Height=
-OS_TextLine_Height_0=
-
-OS_TextLine_Length=
-OS_TextLine_Length_0=
-
-OS_TextLine_NewlineLength=
-OS_TextLine_NewlineLength_0=
-
-OS_TextLine_Start=
-OS_TextLine_Start_0=
-
-OS_TextLine_Width=
-OS_TextLine_Width_0=
-
-OS_TextLine_WidthIncludingTrailingWhitespace=
-OS_TextLine_WidthIncludingTrailingWhitespace_0=
-
-OS_TextTabPropertiesCollection_Add=
-OS_TextTabPropertiesCollection_Add_0=
-OS_TextTabPropertiesCollection_Add_1=
-
-OS_TileBrush_AlignmentX=
-OS_TileBrush_AlignmentX_0=
-OS_TileBrush_AlignmentX_1=
-
-OS_TileBrush_AlignmentY=
-OS_TileBrush_AlignmentY_0=
-OS_TileBrush_AlignmentY_1=
-
-OS_TileBrush_Stretch=
-OS_TileBrush_Stretch_0=
-OS_TileBrush_Stretch_1=
-
-OS_TileBrush_TileMode=
-OS_TileBrush_TileMode_0=
-OS_TileBrush_TileMode_1=
-
-OS_TileBrush_Viewport=
-OS_TileBrush_Viewport_0=
-OS_TileBrush_Viewport_1=
-
-OS_TileBrush_ViewportUnits=
-OS_TileBrush_ViewportUnits_0=
-OS_TileBrush_ViewportUnits_1=
-
-OS_TimeSpan_FromMilliseconds=
-OS_TimeSpan_FromMilliseconds_0=
-
-OS_Timeline_AutoReverse=
-OS_Timeline_AutoReverse_0=
-OS_Timeline_AutoReverse_1=
-
-OS_Timeline_Duration=
-OS_Timeline_Duration_0=
-OS_Timeline_Duration_1=
-
-OS_Timeline_RepeatBehavior=
-OS_Timeline_RepeatBehavior_0=
-OS_Timeline_RepeatBehavior_1=
-
-OS_ToUnicode=
-OS_ToUnicode_0=
-OS_ToUnicode_1=
-OS_ToUnicode_2=
-OS_ToUnicode_3=
-OS_ToUnicode_4=
-OS_ToUnicode_5=
-
-OS_ToggleButton_Checked=
-OS_ToggleButton_Checked_0=
-OS_ToggleButton_Checked_1=
-
-OS_ToggleButton_CheckedEvent=
-
-OS_ToggleButton_IndeterminateEvent=
-
-OS_ToggleButton_1IsChecked__I=
-OS_ToggleButton_1IsChecked__I_0=
-
-OS_ToggleButton_1IsChecked__IZ=
-OS_ToggleButton_1IsChecked__IZ_0=
-OS_ToggleButton_1IsChecked__IZ_1=
-
-OS_ToggleButton_IsCheckedNullSetter=
-OS_ToggleButton_IsCheckedNullSetter_0=
-
-OS_ToggleButton_IsThreeStateProperty=
-
-OS_ToggleButton_Unchecked=
-OS_ToggleButton_Unchecked_0=
-OS_ToggleButton_Unchecked_1=
-
-OS_ToggleButton_UncheckedEvent=
-
-OS_ToolBarTray_IsLocked=
-OS_ToolBarTray_IsLocked_0=
-OS_ToolBarTray_IsLocked_1=
-
-OS_ToolBarTray_Orientation=
-OS_ToolBarTray_Orientation_0=
-OS_ToolBarTray_Orientation_1=
-
-OS_ToolBarTray_ToolBars=
-OS_ToolBarTray_ToolBars_0=
-
-OS_ToolBar_SetOverflowMode=
-OS_ToolBar_SetOverflowMode_0=
-OS_ToolBar_SetOverflowMode_1=
-
-OS_TransformCollection_Add=
-OS_TransformCollection_Add_0=
-OS_TransformCollection_Add_1=
-
-OS_TransformGroup_Children=
-OS_TransformGroup_Children_0=
-
-OS_Transform_Clone=
-OS_Transform_Clone_0=
-
-OS_TreeViewItem_CollapsedEvent=
-
-OS_TreeViewItem_ExpandedEvent=
-
-OS_TreeViewItem_1IsExpanded__I=
-OS_TreeViewItem_1IsExpanded__I_0=
-
-OS_TreeViewItem_1IsExpanded__IZ=
-OS_TreeViewItem_1IsExpanded__IZ_0=
-OS_TreeViewItem_1IsExpanded__IZ_1=
-
-OS_TreeViewItem_IsSelected=
-OS_TreeViewItem_IsSelected_0=
-OS_TreeViewItem_IsSelected_1=
-
-OS_TreeView_SelectedItem=
-OS_TreeView_SelectedItem_0=
-
-OS_TreeView_SelectedItemChanged=
-OS_TreeView_SelectedItemChanged_0=
-OS_TreeView_SelectedItemChanged_1=
-
-OS_TreeView_typeid=
-
-OS_TypeConverter_ConvertFromString=
-OS_TypeConverter_ConvertFromString_0=
-OS_TypeConverter_ConvertFromString_1=
-
-OS_TypeConverter_ConvertToString=
-OS_TypeConverter_ConvertToString_0=
-OS_TypeConverter_ConvertToString_1=
-
-OS_TypeDescriptor_GetConverter=
-OS_TypeDescriptor_GetConverter_0=
-
-OS_Type_FullName=
-OS_Type_FullName_0=
-
-OS_Type_IsInstanceOfType=
-OS_Type_IsInstanceOfType_0=
-OS_Type_IsInstanceOfType_1=
-
-OS_TypefaceCollection_Count=
-OS_TypefaceCollection_Count_0=
-
-OS_TypefaceCollection_Current=
-OS_TypefaceCollection_Current_0=
-
-OS_TypefaceCollection_GetEnumerator=
-OS_TypefaceCollection_GetEnumerator_0=
-
-OS_Typeface_FontFamily=
-OS_Typeface_FontFamily_0=
-
-OS_Typeface_Stretch=
-OS_Typeface_Stretch_0=
-
-OS_Typeface_Style=
-OS_Typeface_Style_0=
-
-OS_Typeface_Weight=
-OS_Typeface_Weight_0=
-
-OS_UIElementCollection_Add=
-OS_UIElementCollection_Add_0=
-OS_UIElementCollection_Add_1=
-
-OS_UIElementCollection_Contains=
-OS_UIElementCollection_Contains_0=
-OS_UIElementCollection_Contains_1=
-
-OS_UIElementCollection_Count=
-OS_UIElementCollection_Count_0=
-
-OS_UIElementCollection_Current=
-OS_UIElementCollection_Current_0=
-
-OS_UIElementCollection_GetEnumerator=
-OS_UIElementCollection_GetEnumerator_0=
-
-OS_UIElementCollection_IndexOf=
-OS_UIElementCollection_IndexOf_0=
-OS_UIElementCollection_IndexOf_1=
-
-OS_UIElementCollection_Insert=
-OS_UIElementCollection_Insert_0=
-OS_UIElementCollection_Insert_1=
-OS_UIElementCollection_Insert_2=
-
-OS_UIElementCollection_Remove=
-OS_UIElementCollection_Remove_0=
-OS_UIElementCollection_Remove_1=
-
-OS_UIElement_AddHandler=
-OS_UIElement_AddHandler_0=
-OS_UIElement_AddHandler_1=
-OS_UIElement_AddHandler_2=
-
-OS_UIElement_BeginAnimation=
-OS_UIElement_BeginAnimation_0=
-OS_UIElement_BeginAnimation_1=
-OS_UIElement_BeginAnimation_2=
-
-OS_UIElement_CaptureMouse=
-OS_UIElement_CaptureMouse_0=
-
-OS_UIElement_Clip=
-OS_UIElement_Clip_0=
-OS_UIElement_Clip_1=
-
-OS_UIElement_ClipToBounds=
-OS_UIElement_ClipToBounds_0=
-OS_UIElement_ClipToBounds_1=
-
-OS_UIElement_DesiredSize=
-OS_UIElement_DesiredSize_0=
-
-OS_UIElement_Focus=
-OS_UIElement_Focus_0=
-
-OS_UIElement_Focusable=
-OS_UIElement_Focusable_0=
-OS_UIElement_Focusable_1=
-
-OS_UIElement_InputHitTest=
-OS_UIElement_InputHitTest_0=
-OS_UIElement_InputHitTest_1=
-
-OS_UIElement_InvalidateVisual=
-OS_UIElement_InvalidateVisual_0=
-
-OS_UIElement_1IsEnabled__I=
-OS_UIElement_1IsEnabled__I_0=
-
-OS_UIElement_1IsEnabled__IZ=
-OS_UIElement_1IsEnabled__IZ_0=
-OS_UIElement_1IsEnabled__IZ_1=
-
-OS_UIElement_IsFocused=
-OS_UIElement_IsFocused_0=
-
-OS_UIElement_IsKeyboardFocused=
-OS_UIElement_IsKeyboardFocused_0=
-
-OS_UIElement_IsMouseOver=
-OS_UIElement_IsMouseOver_0=
-
-OS_UIElement_IsVisible=
-OS_UIElement_IsVisible_0=
-
-OS_UIElement_KeyDown=
-OS_UIElement_KeyDown_0=
-OS_UIElement_KeyDown_1=
-
-OS_UIElement_KeyUp=
-OS_UIElement_KeyUp_0=
-OS_UIElement_KeyUp_1=
-
-OS_UIElement_Measure=
-OS_UIElement_Measure_0=
-OS_UIElement_Measure_1=
-
-OS_UIElement_MouseDown=
-OS_UIElement_MouseDown_0=
-OS_UIElement_MouseDown_1=
-
-OS_UIElement_MouseEnter=
-OS_UIElement_MouseEnter_0=
-OS_UIElement_MouseEnter_1=
-
-OS_UIElement_MouseLeave=
-OS_UIElement_MouseLeave_0=
-OS_UIElement_MouseLeave_1=
-
-OS_UIElement_MouseMove=
-OS_UIElement_MouseMove_0=
-OS_UIElement_MouseMove_1=
-
-OS_UIElement_MouseUp=
-OS_UIElement_MouseUp_0=
-OS_UIElement_MouseUp_1=
-
-OS_UIElement_MouseWheel=
-OS_UIElement_MouseWheel_0=
-OS_UIElement_MouseWheel_1=
-
-OS_UIElement_OpacityProperty=
-
-OS_UIElement_PreviewGotKeyboardFocus=
-OS_UIElement_PreviewGotKeyboardFocus_0=
-OS_UIElement_PreviewGotKeyboardFocus_1=
-
-OS_UIElement_PreviewLostKeyboardFocus=
-OS_UIElement_PreviewLostKeyboardFocus_0=
-OS_UIElement_PreviewLostKeyboardFocus_1=
-
-OS_UIElement_PreviewMouseDown=
-OS_UIElement_PreviewMouseDown_0=
-OS_UIElement_PreviewMouseDown_1=
-
-OS_UIElement_PreviewMouseMove=
-OS_UIElement_PreviewMouseMove_0=
-OS_UIElement_PreviewMouseMove_1=
-
-OS_UIElement_PreviewMouseUp=
-OS_UIElement_PreviewMouseUp_0=
-OS_UIElement_PreviewMouseUp_1=
-
-OS_UIElement_PreviewMouseWheel=
-OS_UIElement_PreviewMouseWheel_0=
-OS_UIElement_PreviewMouseWheel_1=
-
-OS_UIElement_PreviewTextInput=
-OS_UIElement_PreviewTextInput_0=
-OS_UIElement_PreviewTextInput_1=
-
-OS_UIElement_ReleaseMouseCapture=
-OS_UIElement_ReleaseMouseCapture_0=
-
-OS_UIElement_TextInput=
-OS_UIElement_TextInput_0=
-OS_UIElement_TextInput_1=
-
-OS_UIElement_TranslatePoint=
-OS_UIElement_TranslatePoint_0=
-OS_UIElement_TranslatePoint_1=
-OS_UIElement_TranslatePoint_2=
-
-OS_UIElement_UpdateLayout=
-OS_UIElement_UpdateLayout_0=
-
-OS_UIElement_1Visibility__I=
-OS_UIElement_1Visibility__I_0=
-
-OS_UIElement_1Visibility__IB=
-OS_UIElement_1Visibility__IB_0=
-OS_UIElement_1Visibility__IB_1=
-
-OS_UIElement_VisibilityProperty=
-
-OS_VirtualizingStackPanel_VerticalOffset=
-OS_VirtualizingStackPanel_VerticalOffset_0=
-
-OS_VisualTreeHelper_GetChild=
-OS_VisualTreeHelper_GetChild_0=
-OS_VisualTreeHelper_GetChild_1=
-
-OS_VisualTreeHelper_GetChildrenCount=
-OS_VisualTreeHelper_GetChildrenCount_0=
-
-OS_VisualTreeHelper_GetParent=
-OS_VisualTreeHelper_GetParent_0=
-
-OS_Visual_PointFromScreen=
-OS_Visual_PointFromScreen_0=
-OS_Visual_PointFromScreen_1=
-
-OS_Visual_PointToScreen=
-OS_Visual_PointToScreen_0=
-OS_Visual_PointToScreen_1=
-
-OS_WindowCollection_Count=
-OS_WindowCollection_Count_0=
-
-OS_WindowCollection_Current=
-OS_WindowCollection_Current_0=
-
-OS_WindowCollection_GetEnumerator=
-OS_WindowCollection_GetEnumerator_0=
-
-OS_Window_Activate=
-OS_Window_Activate_0=
-
-OS_Window_Activated=
-OS_Window_Activated_0=
-OS_Window_Activated_1=
-
-OS_Window_AllowsTransparency=
-OS_Window_AllowsTransparency_0=
-OS_Window_AllowsTransparency_1=
-
-OS_Window_Close=
-OS_Window_Close_0=
-
-OS_Window_Closing=
-OS_Window_Closing_0=
-OS_Window_Closing_1=
-
-OS_Window_Deactivated=
-OS_Window_Deactivated_0=
-OS_Window_Deactivated_1=
-
-OS_Window_Hide=
-OS_Window_Hide_0=
-
-OS_Window_Icon=
-OS_Window_Icon_0=
-OS_Window_Icon_1=
-
-OS_Window_IsActive=
-OS_Window_IsActive_0=
-
-OS_Window_1Left__I=
-OS_Window_1Left__I_0=
-
-OS_Window_1Left__ID=
-OS_Window_1Left__ID_0=
-OS_Window_1Left__ID_1=
-
-OS_Window_LocationChanged=
-OS_Window_LocationChanged_0=
-OS_Window_LocationChanged_1=
-
-OS_Window_Owner=
-OS_Window_Owner_0=
-OS_Window_Owner_1=
-
-OS_Window_ResizeMode=
-OS_Window_ResizeMode_0=
-OS_Window_ResizeMode_1=
-
-OS_Window_Show=
-OS_Window_Show_0=
-
-OS_Window_ShowInTaskbar=
-OS_Window_ShowInTaskbar_0=
-OS_Window_ShowInTaskbar_1=
-
-OS_Window_1Title__I=
-OS_Window_1Title__I_0=
-
-OS_Window_1Title__II=
-OS_Window_1Title__II_0=
-OS_Window_1Title__II_1=
-
-OS_Window_1Top__I=
-OS_Window_1Top__I_0=
-
-OS_Window_1Top__ID=
-OS_Window_1Top__ID_0=
-OS_Window_1Top__ID_1=
-
-OS_Window_Topmost=
-OS_Window_Topmost_0=
-OS_Window_Topmost_1=
-
-OS_Window_1WindowState__I=
-OS_Window_1WindowState__I_0=
-
-OS_Window_1WindowState__II=
-OS_Window_1WindowState__II_0=
-OS_Window_1WindowState__II_1=
-
-OS_Window_WindowStyle=
-OS_Window_WindowStyle_0=
-OS_Window_WindowStyle_1=
-
-OS_WriteableBitmap_WritePixels=
-OS_WriteableBitmap_WritePixels_0=
-OS_WriteableBitmap_WritePixels_1=
-OS_WriteableBitmap_WritePixels_2=
-OS_WriteableBitmap_WritePixels_3=
-OS_WriteableBitmap_WritePixels_4=
-
-OS_gcnew_AccessText=
-
-OS_gcnew_Application=
-
-OS_gcnew_ArcSegment=
-OS_gcnew_ArcSegment_0=
-OS_gcnew_ArcSegment_1=
-OS_gcnew_ArcSegment_2=
-OS_gcnew_ArcSegment_3=
-OS_gcnew_ArcSegment_4=
-OS_gcnew_ArcSegment_5=
-
-OS_gcnew_BezierSegment=
-OS_gcnew_BezierSegment_0=
-OS_gcnew_BezierSegment_1=
-OS_gcnew_BezierSegment_2=
-OS_gcnew_BezierSegment_3=
-
-OS_gcnew_1Binding__=
-
-OS_gcnew_1Binding__I=
-OS_gcnew_1Binding__I_0=
-
-OS_gcnew_Bitmap=
-OS_gcnew_Bitmap_0=
-OS_gcnew_Bitmap_1=
-OS_gcnew_Bitmap_2=
-OS_gcnew_Bitmap_3=
-OS_gcnew_Bitmap_4=
-
-OS_gcnew_BitmapImage=
-
-OS_gcnew_BitmapPalette=
-OS_gcnew_BitmapPalette_0=
-
-OS_gcnew_Button=
-
-OS_gcnew_CancelEventHandler=
-OS_gcnew_CancelEventHandler_0=
-OS_gcnew_CancelEventHandler_1=
-
-OS_gcnew_Canvas=
-
-OS_gcnew_CharacterHit=
-OS_gcnew_CharacterHit_0=
-OS_gcnew_CharacterHit_1=
-
-OS_gcnew_CheckBox=
-
-OS_gcnew_ColorDialog=
-
-OS_gcnew_ColorList=
-OS_gcnew_ColorList_0=
-
-OS_gcnew_ColumnDefinition=
-
-OS_gcnew_CombinedGeometry=
-OS_gcnew_CombinedGeometry_0=
-OS_gcnew_CombinedGeometry_1=
-OS_gcnew_CombinedGeometry_2=
-
-OS_gcnew_ComboBox=
-
-OS_gcnew_ComboBoxItem=
-
-OS_gcnew_CompositeCollection=
-
-OS_gcnew_ContentControl=
-
-OS_gcnew_ContextMenu=
-
-OS_gcnew_ContextMenuEventHandler=
-OS_gcnew_ContextMenuEventHandler_0=
-OS_gcnew_ContextMenuEventHandler_1=
-
-OS_gcnew_ControlTemplate=
-
-OS_gcnew_CroppedBitmap=
-OS_gcnew_CroppedBitmap_0=
-OS_gcnew_CroppedBitmap_1=
-
-OS_gcnew_DashStyle=
-OS_gcnew_DashStyle_0=
-OS_gcnew_DashStyle_1=
-
-OS_gcnew_DataTemplate=
-
-OS_gcnew_DiscreteDoubleKeyFrame=
-OS_gcnew_DiscreteDoubleKeyFrame_0=
-OS_gcnew_DiscreteDoubleKeyFrame_1=
-
-OS_gcnew_DispatcherFrame=
-
-OS_gcnew_DispatcherHookEventHandler=
-OS_gcnew_DispatcherHookEventHandler_0=
-OS_gcnew_DispatcherHookEventHandler_1=
-
-OS_gcnew_DispatcherTimer=
-
-OS_gcnew_DoubleAnimationUsingKeyFrames=
-
-OS_gcnew_DoubleCollection=
-OS_gcnew_DoubleCollection_0=
-
-OS_gcnew_DrawingVisual=
-
-OS_gcnew_Duration=
-OS_gcnew_Duration_0=
-
-OS_gcnew_EventHandler=
-OS_gcnew_EventHandler_0=
-OS_gcnew_EventHandler_1=
-
-OS_gcnew_ExecutedRoutedEventHandler=
-OS_gcnew_ExecutedRoutedEventHandler_0=
-OS_gcnew_ExecutedRoutedEventHandler_1=
-
-OS_gcnew_Expander=
-
-OS_gcnew_FileInfo=
-OS_gcnew_FileInfo_0=
-
-OS_gcnew_FontFamily=
-OS_gcnew_FontFamily_0=
-
-OS_gcnew_FormatConvertedBitmap=
-OS_gcnew_FormatConvertedBitmap_0=
-OS_gcnew_FormatConvertedBitmap_1=
-OS_gcnew_FormatConvertedBitmap_2=
-OS_gcnew_FormatConvertedBitmap_3=
-
-OS_gcnew_FormattedText=
-OS_gcnew_FormattedText_0=
-OS_gcnew_FormattedText_1=
-OS_gcnew_FormattedText_2=
-OS_gcnew_FormattedText_3=
-OS_gcnew_FormattedText_4=
-OS_gcnew_FormattedText_5=
-
-OS_gcnew_1FrameworkElementFactory__I=
-OS_gcnew_1FrameworkElementFactory__I_0=
-
-OS_gcnew_1FrameworkElementFactory__II=
-OS_gcnew_1FrameworkElementFactory__II_0=
-OS_gcnew_1FrameworkElementFactory__II_1=
-
-OS_gcnew_GeometryGroup=
-
-OS_gcnew_Grid=
-
-OS_gcnew_GridLength=
-OS_gcnew_GridLength_0=
-OS_gcnew_GridLength_1=
-
-OS_gcnew_GridView=
-
-OS_gcnew_GridViewColumn=
-
-OS_gcnew_GridViewColumnCollection=
-
-OS_gcnew_GridViewColumnHeader=
-
-OS_gcnew_GroupBox=
-
-OS_gcnew_Hyperlink=
-OS_gcnew_Hyperlink_0=
-
-OS_gcnew_Image=
-
-OS_gcnew_ImageBrush=
-OS_gcnew_ImageBrush_0=
-
-OS_gcnew_Int32=
-OS_gcnew_Int32_0=
-
-OS_gcnew_Int32Rect=
-OS_gcnew_Int32Rect_0=
-OS_gcnew_Int32Rect_1=
-OS_gcnew_Int32Rect_2=
-OS_gcnew_Int32Rect_3=
-
-OS_gcnew_IntPtr=
-OS_gcnew_IntPtr_0=
-
-OS_gcnew_KeyEventHandler=
-OS_gcnew_KeyEventHandler_0=
-OS_gcnew_KeyEventHandler_1=
-
-OS_gcnew_KeyboardFocusChangedEventHandler=
-OS_gcnew_KeyboardFocusChangedEventHandler_0=
-OS_gcnew_KeyboardFocusChangedEventHandler_1=
-
-OS_gcnew_Label=
-
-OS_gcnew_LineSegment=
-OS_gcnew_LineSegment_0=
-OS_gcnew_LineSegment_1=
-
-OS_gcnew_1LinearGradientBrush__IID=
-OS_gcnew_1LinearGradientBrush__IID_0=
-OS_gcnew_1LinearGradientBrush__IID_1=
-OS_gcnew_1LinearGradientBrush__IID_2=
-
-OS_gcnew_1LinearGradientBrush__IIII=
-OS_gcnew_1LinearGradientBrush__IIII_0=
-OS_gcnew_1LinearGradientBrush__IIII_1=
-OS_gcnew_1LinearGradientBrush__IIII_2=
-OS_gcnew_1LinearGradientBrush__IIII_3=
-
-OS_gcnew_ListBox=
-
-OS_gcnew_ListBoxItem=
-
-OS_gcnew_ListView=
-
-OS_gcnew_ListViewItem=
-
-OS_gcnew_Matrix=
-OS_gcnew_Matrix_0=
-OS_gcnew_Matrix_1=
-OS_gcnew_Matrix_2=
-OS_gcnew_Matrix_3=
-OS_gcnew_Matrix_4=
-OS_gcnew_Matrix_5=
-
-OS_gcnew_MatrixTransform=
-OS_gcnew_MatrixTransform_0=
-
-OS_gcnew_Menu=
-
-OS_gcnew_MenuItem=
-
-OS_gcnew_MouseButtonEventHandler=
-OS_gcnew_MouseButtonEventHandler_0=
-OS_gcnew_MouseButtonEventHandler_1=
-
-OS_gcnew_MouseEventHandler=
-OS_gcnew_MouseEventHandler_0=
-OS_gcnew_MouseEventHandler_1=
-
-OS_gcnew_MouseWheelEventHandler=
-OS_gcnew_MouseWheelEventHandler_0=
-OS_gcnew_MouseWheelEventHandler_1=
-
-OS_gcnew_NoArgsDelegate=
-
-OS_gcnew_OpenFileDialog=
-
-OS_gcnew_PasswordBox=
-
-OS_gcnew_Path=
-
-OS_gcnew_PathFigure=
-
-OS_gcnew_PathGeometry=
-
-OS_gcnew_Pen=
-
-OS_gcnew_Point=
-OS_gcnew_Point_0=
-OS_gcnew_Point_1=
-
-OS_gcnew_PointCollection=
-OS_gcnew_PointCollection_0=
-
-OS_gcnew_PolyLineSegment=
-OS_gcnew_PolyLineSegment_0=
-OS_gcnew_PolyLineSegment_1=
-
-OS_gcnew_ProgressBar=
-
-OS_gcnew_QuadraticBezierSegment=
-OS_gcnew_QuadraticBezierSegment_0=
-OS_gcnew_QuadraticBezierSegment_1=
-OS_gcnew_QuadraticBezierSegment_2=
-
-OS_gcnew_RadioButton=
-
-OS_gcnew_Rect=
-OS_gcnew_Rect_0=
-OS_gcnew_Rect_1=
-OS_gcnew_Rect_2=
-OS_gcnew_Rect_3=
-
-OS_gcnew_Rectangle=
-
-OS_gcnew_RectangleGeometry=
-OS_gcnew_RectangleGeometry_0=
-
-OS_gcnew_RenderTargetBitmap=
-OS_gcnew_RenderTargetBitmap_0=
-OS_gcnew_RenderTargetBitmap_1=
-OS_gcnew_RenderTargetBitmap_2=
-OS_gcnew_RenderTargetBitmap_3=
-OS_gcnew_RenderTargetBitmap_4=
-
-OS_gcnew_RepeatButton=
-
-OS_gcnew_RoutedEventHandler=
-OS_gcnew_RoutedEventHandler_0=
-OS_gcnew_RoutedEventHandler_1=
-
-OS_gcnew_RoutedPropertyChangedEventHandler=
-OS_gcnew_RoutedPropertyChangedEventHandler_0=
-OS_gcnew_RoutedPropertyChangedEventHandler_1=
-
-OS_gcnew_RoutedPropertyChangedEventHandlerObject=
-OS_gcnew_RoutedPropertyChangedEventHandlerObject_0=
-OS_gcnew_RoutedPropertyChangedEventHandlerObject_1=
-
-OS_gcnew_RowDefinition=
-
-OS_gcnew_Run=
-
-OS_gcnew_SWTCanvas=
-OS_gcnew_SWTCanvas_0=
-
-OS_gcnew_SWTCellConverter=
-OS_gcnew_SWTCellConverter_0=
-OS_gcnew_SWTCellConverter_1=
-
-OS_gcnew_SWTSafeHandle=
-OS_gcnew_SWTSafeHandle_0=
-OS_gcnew_SWTSafeHandle_1=
-
-OS_gcnew_SWTTextEmbeddedObject=
-OS_gcnew_SWTTextEmbeddedObject_0=
-OS_gcnew_SWTTextEmbeddedObject_1=
-OS_gcnew_SWTTextEmbeddedObject_2=
-OS_gcnew_SWTTextEmbeddedObject_3=
-OS_gcnew_SWTTextEmbeddedObject_4=
-
-OS_gcnew_SWTTextParagraphProperties=
-OS_gcnew_SWTTextParagraphProperties_0=
-OS_gcnew_SWTTextParagraphProperties_1=
-OS_gcnew_SWTTextParagraphProperties_2=
-OS_gcnew_SWTTextParagraphProperties_3=
-OS_gcnew_SWTTextParagraphProperties_4=
-OS_gcnew_SWTTextParagraphProperties_5=
-OS_gcnew_SWTTextParagraphProperties_6=
-OS_gcnew_SWTTextParagraphProperties_7=
-
-OS_gcnew_SWTTextRunProperties=
-OS_gcnew_SWTTextRunProperties_0=
-OS_gcnew_SWTTextRunProperties_1=
-OS_gcnew_SWTTextRunProperties_2=
-OS_gcnew_SWTTextRunProperties_3=
-OS_gcnew_SWTTextRunProperties_4=
-OS_gcnew_SWTTextRunProperties_5=
-OS_gcnew_SWTTextRunProperties_6=
-OS_gcnew_SWTTextRunProperties_7=
-
-OS_gcnew_SWTTextSource=
-OS_gcnew_SWTTextSource_0=
-
-OS_gcnew_SWTTreeViewRowPresenter=
-OS_gcnew_SWTTreeViewRowPresenter_0=
-
-OS_gcnew_SaveFileDialog=
-
-OS_gcnew_ScaleTransform=
-OS_gcnew_ScaleTransform_0=
-OS_gcnew_ScaleTransform_1=
-
-OS_gcnew_ScrollBar=
-
-OS_gcnew_ScrollEventHandler=
-OS_gcnew_ScrollEventHandler_0=
-OS_gcnew_ScrollEventHandler_1=
-
-OS_gcnew_SelectionChangedEventHandler=
-OS_gcnew_SelectionChangedEventHandler_0=
-OS_gcnew_SelectionChangedEventHandler_1=
-
-OS_gcnew_Separator=
-
-OS_gcnew_Setter=
-OS_gcnew_Setter_0=
-OS_gcnew_Setter_1=
-
-OS_gcnew_1Size__=
-
-OS_gcnew_1Size__DD=
-OS_gcnew_1Size__DD_0=
-OS_gcnew_1Size__DD_1=
-
-OS_gcnew_SizeChangedEventHandler=
-OS_gcnew_SizeChangedEventHandler_0=
-OS_gcnew_SizeChangedEventHandler_1=
-
-OS_gcnew_Slider=
-
-OS_gcnew_SolidColorBrush=
-OS_gcnew_SolidColorBrush_0=
-
-OS_gcnew_StackPanel=
-
-OS_gcnew_StreamGeometry=
-
-OS_gcnew_String=
-OS_gcnew_String_0=
-
-OS_gcnew_Style=
-
-OS_gcnew_TabControl=
-
-OS_gcnew_TabItem=
-
-OS_gcnew_TextBlock=
-
-OS_gcnew_TextBox=
-
-OS_gcnew_TextChangedEventHandler=
-OS_gcnew_TextChangedEventHandler_0=
-OS_gcnew_TextChangedEventHandler_1=
-
-OS_gcnew_TextCharacters=
-OS_gcnew_TextCharacters_0=
-OS_gcnew_TextCharacters_1=
-OS_gcnew_TextCharacters_2=
-OS_gcnew_TextCharacters_3=
-
-OS_gcnew_TextCompositionEventHandler=
-OS_gcnew_TextCompositionEventHandler_0=
-OS_gcnew_TextCompositionEventHandler_1=
-
-OS_gcnew_TextDecorationCollection=
-OS_gcnew_TextDecorationCollection_0=
-
-OS_gcnew_TextEndOfLine=
-OS_gcnew_TextEndOfLine_0=
-OS_gcnew_TextEndOfLine_1=
-
-OS_gcnew_TextEndOfParagraph=
-OS_gcnew_TextEndOfParagraph_0=
-OS_gcnew_TextEndOfParagraph_1=
-
-OS_gcnew_TextTabProperties=
-OS_gcnew_TextTabProperties_0=
-OS_gcnew_TextTabProperties_1=
-OS_gcnew_TextTabProperties_2=
-OS_gcnew_TextTabProperties_3=
-
-OS_gcnew_TextTabPropertiesCollection=
-OS_gcnew_TextTabPropertiesCollection_0=
-
-OS_gcnew_Thickness=
-OS_gcnew_Thickness_0=
-OS_gcnew_Thickness_1=
-OS_gcnew_Thickness_2=
-OS_gcnew_Thickness_3=
-
-OS_gcnew_TimeSpan=
-OS_gcnew_TimeSpan_0=
-
-OS_gcnew_TimerHandler=
-OS_gcnew_TimerHandler_0=
-OS_gcnew_TimerHandler_1=
-
-OS_gcnew_ToggleButton=
-
-OS_gcnew_ToolBar=
-
-OS_gcnew_ToolBarTray=
-
-OS_gcnew_TransformGroup=
-
-OS_gcnew_TranslateTransform=
-OS_gcnew_TranslateTransform_0=
-OS_gcnew_TranslateTransform_1=
-
-OS_gcnew_TreeView=
-
-OS_gcnew_TreeViewItem=
-
-OS_gcnew_Typeface=
-OS_gcnew_Typeface_0=
-OS_gcnew_Typeface_1=
-OS_gcnew_Typeface_2=
-OS_gcnew_Typeface_3=
-
-OS_gcnew_Uri=
-OS_gcnew_Uri_0=
-OS_gcnew_Uri_1=
-
-OS_gcnew_Window=
-
-OS_gcnew_1WriteableBitmap__I=
-OS_gcnew_1WriteableBitmap__I_0=
-
-OS_gcnew_1WriteableBitmap__IIDDII=
-OS_gcnew_1WriteableBitmap__IIDDII_0=
-OS_gcnew_1WriteableBitmap__IIDDII_1=
-OS_gcnew_1WriteableBitmap__IIDDII_2=
-OS_gcnew_1WriteableBitmap__IIDDII_3=
-OS_gcnew_1WriteableBitmap__IIDDII_4=
-OS_gcnew_1WriteableBitmap__IIDDII_5=
-
-OS_gcnew_byte=
-OS_gcnew_byte_0=
-
-OS_memmove=
-OS_memmove_0=
-OS_memmove_1=
-OS_memmove_2=
-
-
-org_eclipse_swt_internal_wpf_POINT=flags=no_gen
-POINT_x=
-POINT_y=
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.OS.properties
index 03edd56353..baa427f43d 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.OS.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.OS.properties
@@ -8,20 +8,6 @@
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
-org_eclipse_swt_internal_wpf_COM=flags=no_gen
-COM_OleInitialize=
-COM_OleInitialize_0=
-
-COM_OleUninitialize=
-
-
-org_eclipse_swt_internal_wpf_ICONINFO=flags=cpp
-ICONINFO_fIcon=
-ICONINFO_xHotspot=
-ICONINFO_yHotspot=
-ICONINFO_hbmMask=cast=HBITMAP
-ICONINFO_hbmColor=cast=HBITMAP
-
org_eclipse_swt_internal_wpf_OS=flags=cpp
OS_AccessText_AccessKey=flags=getter
OS_AccessText_AccessKey_0=cast=AccessText^,flags=gcobject
@@ -262,9 +248,6 @@ OS_Clipboard_SetDataObject=accessor=Clipboard::SetDataObject
OS_Clipboard_SetDataObject_0=cast=Object^,flags=gcobject
OS_Clipboard_SetDataObject_1=
-OS_CloseHandle=
-OS_CloseHandle_0=cast=HANDLE
-
OS_ColorDialog_AnyColor=flags=setter
OS_ColorDialog_AnyColor_0=cast=System::Windows::Forms::ColorDialog^,flags=gcobject
OS_ColorDialog_AnyColor_1=
@@ -530,30 +513,6 @@ OS_Control_VerticalContentAlignment=flags=setter
OS_Control_VerticalContentAlignment_0=cast=Control^,flags=gcobject
OS_Control_VerticalContentAlignment_1=cast=VerticalAlignment
-OS_CreateCursor=
-OS_CreateCursor_0=cast=(HINSTANCE)
-OS_CreateCursor_1=
-OS_CreateCursor_2=
-OS_CreateCursor_3=
-OS_CreateCursor_4=
-OS_CreateCursor_5=cast=(CONST VOID *),flags=no_out critical
-OS_CreateCursor_6=cast=(CONST VOID *),flags=no_out critical
-
-OS_CreateIconIndirect=
-OS_CreateIconIndirect_0=
-
-OS_CreateProcessW=
-OS_CreateProcessW_0=cast=LPCWSTR
-OS_CreateProcessW_1=cast=LPWSTR
-OS_CreateProcessW_2=cast=LPSECURITY_ATTRIBUTES
-OS_CreateProcessW_3=cast=LPSECURITY_ATTRIBUTES
-OS_CreateProcessW_4=
-OS_CreateProcessW_5=cast=DWORD
-OS_CreateProcessW_6=cast=LPVOID
-OS_CreateProcessW_7=cast=LPCWSTR
-OS_CreateProcessW_8=cast=LPSTARTUPINFOW
-OS_CreateProcessW_9=cast=LPPROCESS_INFORMATION
-
OS_CultureInfo_CurrentUICulture=accessor=CultureInfo::CurrentUICulture,flags=gcobject const
OS_CursorInteropHelper_Create=accessor=System::Windows::Interop::CursorInteropHelper::Create,flags=gcobject
@@ -644,9 +603,6 @@ OS_DataObject_SetData_3=
OS_DeleteGlobalRef=flags=jni
OS_DeleteGlobalRef_0=cast=jobject
-OS_DeleteObject=
-OS_DeleteObject_0=cast=(HGDIOBJ)
-
OS_DependencyObject_ClearValue=flags=cpp
OS_DependencyObject_ClearValue_0=cast=(DependencyObject^),flags=gcobject
OS_DependencyObject_ClearValue_1=cast=(DependencyProperty^),flags=gcobject
@@ -662,9 +618,6 @@ OS_DependencyObject_SetValue_2=cast=Object^,flags=gcobject
OS_DependencyProperty_UnsetValue=accessor=DependencyProperty::UnsetValue,flags=const gcobject
-OS_DestroyIcon=
-OS_DestroyIcon_0=cast=HICON
-
OS_DispatcherFrame_Continue=flags=setter
OS_DispatcherFrame_Continue_0=cast=DispatcherFrame^,flags=gcobject
OS_DispatcherFrame_Continue_1=
@@ -850,10 +803,6 @@ OS_EditingCommands_DeleteNextWord=accessor=EditingCommands::DeleteNextWord,flags
OS_EditingCommands_DeletePreviousWord=accessor=EditingCommands::DeletePreviousWord,flags=const gcobject
-OS_EnableWindow=
-OS_EnableWindow_0=cast=HWND
-OS_EnableWindow_1=
-
OS_Environment_ExpandEnvironmentVariables=accessor=Environment::ExpandEnvironmentVariables,flags=gcobject
OS_Environment_ExpandEnvironmentVariables_0=cast=String^,flags=gcobject
@@ -879,13 +828,6 @@ OS_Expander_1IsExpanded__IZ=flags=setter
OS_Expander_1IsExpanded__IZ_0=cast=Expander^,flags=gcobject
OS_Expander_1IsExpanded__IZ_1=
-OS_ExtractIconExW=
-OS_ExtractIconExW_0=cast=LPCWSTR
-OS_ExtractIconExW_1=
-OS_ExtractIconExW_2=cast=(HICON*)
-OS_ExtractIconExW_3=cast=(HICON*)
-OS_ExtractIconExW_4=cast=UINT
-
OS_FileDialog_FileName=flags=setter
OS_FileDialog_FileName_0=cast=FileDialog^,flags=gcobject
OS_FileDialog_FileName_1=cast=String^,flags=gcobject
@@ -1357,21 +1299,6 @@ OS_Geometry_1Transform__II=flags=setter
OS_Geometry_1Transform__II_0=cast=(Geometry^),flags=gcobject
OS_Geometry_1Transform__II_1=cast=Transform^,flags=gcobject
-OS_GetCursorPos=
-OS_GetCursorPos_0=cast=LPPOINT
-
-OS_GetIconInfo=
-OS_GetIconInfo_0=cast=HICON
-OS_GetIconInfo_1=
-
-OS_GetKeyboardState=
-OS_GetKeyboardState_0=cast=(PBYTE)
-
-OS_GetModuleHandleW=
-OS_GetModuleHandleW_0=cast=LPCWSTR
-
-OS_GetProcessHeap=
-
OS_GiveFeedbackEventArgs_Effects=flags=getter
OS_GiveFeedbackEventArgs_Effects_0=cast=GiveFeedbackEventArgs^,flags=gcobject
@@ -1512,16 +1439,6 @@ OS_HeaderedItemsControl_1Header__II_1=cast=(Object^),flags=gcobject
OS_HeaderedItemsControl_HeaderTemplateProperty=accessor=HeaderedItemsControl::HeaderTemplateProperty,flags=const gcobject
-OS_HeapAlloc=
-OS_HeapAlloc_0=cast=(HANDLE)
-OS_HeapAlloc_1=
-OS_HeapAlloc_2=
-
-OS_HeapFree=
-OS_HeapFree_0=cast=(HANDLE)
-OS_HeapFree_1=
-OS_HeapFree_2=cast=(LPVOID)
-
OS_HtmlDocument_InvokeScript=flags=cpp gcobject
OS_HtmlDocument_InvokeScript_0=cast=(System::Windows::Forms::HtmlDocument^),flags=gcobject
OS_HtmlDocument_InvokeScript_1=cast=String^,flags=gcobject
@@ -1764,18 +1681,6 @@ OS_ListView_View=flags=setter
OS_ListView_View_0=cast=ListView^,flags=gcobject
OS_ListView_View_1=cast=ViewBase^,flags=gcobject
-OS_LoadImage=
-OS_LoadImage_0=cast=HINSTANCE
-OS_LoadImage_1=cast=LPCTSTR
-OS_LoadImage_2=cast=UINT
-OS_LoadImage_3=
-OS_LoadImage_4=
-OS_LoadImage_5=cast=UINT
-
-OS_MapVirtualKeyW=
-OS_MapVirtualKeyW_0=
-OS_MapVirtualKeyW_1=
-
OS_MatrixTransform_1Matrix__I=flags=gcobject getter
OS_MatrixTransform_1Matrix__I_0=cast=(MatrixTransform^),flags=gcobject
@@ -1946,11 +1851,6 @@ OS_Mouse_XButton1=accessor=Mouse::XButton1,flags=const
OS_Mouse_XButton2=accessor=Mouse::XButton2,flags=const
-OS_MoveMemory=
-OS_MoveMemory_0=cast=PVOID
-OS_MoveMemory_1=cast=CONST VOID *,flags=no_out critical
-OS_MoveMemory_2=
-
OS_NewGlobalRef=flags=jni
OS_NewGlobalRef_0=
@@ -1992,8 +1892,6 @@ OS_OpenFileDialog_Multiselect=flags=setter
OS_OpenFileDialog_Multiselect_0=cast=OpenFileDialog^,flags=gcobject
OS_OpenFileDialog_Multiselect_1=
-OS_PROCESS_INFORMATION_sizeof=
-
OS_Panel_1Background__I=flags=gcobject getter
OS_Panel_1Background__I_0=cast=Panel^,flags=gcobject
@@ -2404,10 +2302,6 @@ OS_Run_Text=flags=setter
OS_Run_Text_0=cast=Run^,flags=gcobject
OS_Run_Text_1=cast=String^,flags=gcobject
-OS_SHELLEXECUTEINFOW_sizeof=
-
-OS_STARTUPINFOW_sizeof=
-
OS_SWTCanvas_1Visual__I=flags=getter no_gen gcobject
OS_SWTCanvas_1Visual__I_0=cast=(SWTCanvas^),flags=gcobject
@@ -2483,10 +2377,6 @@ OS_Selector_SelectionChanged=flags=adder
OS_Selector_SelectionChanged_0=cast=Selector^,flags=gcobject
OS_Selector_SelectionChanged_1=cast=(SelectionChangedEventHandler^),flags=gcobject
-OS_SetCursorPos=
-OS_SetCursorPos_0=
-OS_SetCursorPos_1=
-
OS_SetterBaseCollection_Add=flags=cpp
OS_SetterBaseCollection_Add_0=cast=SetterBaseCollection^,flags=gcobject
OS_SetterBaseCollection_Add_1=cast=SetterBase^,flags=gcobject
@@ -2503,9 +2393,6 @@ OS_Shape_StrokeThickness=flags=setter
OS_Shape_StrokeThickness_0=cast=(Shape^),flags=gcobject
OS_Shape_StrokeThickness_1=
-OS_ShellExecuteExW=
-OS_ShellExecuteExW_0=cast=(LPSHELLEXECUTEINFOW)
-
OS_SizeChangedEventArgs_NewSize=flags=gcobject getter
OS_SizeChangedEventArgs_NewSize_0=cast=(SizeChangedEventArgs^),flags=gcobject
@@ -2997,14 +2884,6 @@ OS_Timeline_RepeatBehavior=flags=setter
OS_Timeline_RepeatBehavior_0=cast=Timeline^,flags=gcobject
OS_Timeline_RepeatBehavior_1=cast=(RepeatBehavior),flags=gcobject
-OS_ToUnicode=
-OS_ToUnicode_0=
-OS_ToUnicode_1=
-OS_ToUnicode_2=cast=(PBYTE)
-OS_ToUnicode_3=cast=(LPWSTR)
-OS_ToUnicode_4=
-OS_ToUnicode_5=
-
OS_ToggleButton_Checked=flags=adder
OS_ToggleButton_Checked_0=cast=ToggleButton^,flags=gcobject
OS_ToggleButton_Checked_1=cast=RoutedEventHandler^,flags=gcobject
@@ -4266,50 +4145,3 @@ OS_memcpy___3CII_1=
OS_memcpy___3CII_2=
-org_eclipse_swt_internal_wpf_POINT=
-POINT_x=
-POINT_y=
-
-org_eclipse_swt_internal_wpf_PROCESS_1INFORMATION=flags=cpp
-PROCESS_INFORMATION_hProcess=cast=HANDLE
-PROCESS_INFORMATION_hThread=cast=HANDLE
-PROCESS_INFORMATION_dwProcessId=
-PROCESS_INFORMATION_dwThreadId=
-
-org_eclipse_swt_internal_wpf_SHELLEXECUTEINFOW=flags=cpp
-SHELLEXECUTEINFOW_cbSize=
-SHELLEXECUTEINFOW_fMask=
-SHELLEXECUTEINFOW_hwnd=cast=HWND
-SHELLEXECUTEINFOW_lpVerb=cast=(LPWSTR)
-SHELLEXECUTEINFOW_lpFile=cast=(LPWSTR)
-SHELLEXECUTEINFOW_lpParameters=cast=(LPWSTR)
-SHELLEXECUTEINFOW_lpDirectory=cast=(LPWSTR)
-SHELLEXECUTEINFOW_nShow=
-SHELLEXECUTEINFOW_hInstApp=cast=(HINSTANCE)
-SHELLEXECUTEINFOW_lpIDList=cast=(LPVOID)
-SHELLEXECUTEINFOW_lpClass=cast=(LPWSTR)
-SHELLEXECUTEINFOW_hkeyClass=cast=HKEY
-SHELLEXECUTEINFOW_dwHotKey=
-SHELLEXECUTEINFOW_hIcon=cast=HANDLE
-SHELLEXECUTEINFOW_hProcess=cast=HANDLE
-
-org_eclipse_swt_internal_wpf_STARTUPINFOW=flags=cpp
-STARTUPINFOW_cb=
-STARTUPINFOW_lpReserved=cast=LPWSTR
-STARTUPINFOW_lpDesktop=cast=LPWSTR
-STARTUPINFOW_lpTitle=cast=LPWSTR
-STARTUPINFOW_dwX=
-STARTUPINFOW_dwY=
-STARTUPINFOW_dwXSize=
-STARTUPINFOW_dwYSize=
-STARTUPINFOW_dwXCountChars=
-STARTUPINFOW_dwYCountChars=
-STARTUPINFOW_dwFillAttribute=
-STARTUPINFOW_dwFlags=
-STARTUPINFOW_wShowWindow=
-STARTUPINFOW_cbReserved2=
-STARTUPINFOW_lpReserved2=cast=LPBYTE
-STARTUPINFOW_hStdInput=cast=(HANDLE)
-STARTUPINFOW_hStdOutput=cast=(HANDLE)
-STARTUPINFOW_hStdError=cast=(HANDLE)
-
diff --git a/bundles/org.eclipse.swt/.classpath_wpf b/bundles/org.eclipse.swt/.classpath_wpf
index 4dfe59424e..d1cf95611e 100644
--- a/bundles/org.eclipse.swt/.classpath_wpf
+++ b/bundles/org.eclipse.swt/.classpath_wpf
@@ -10,6 +10,7 @@
<attribute value="org.eclipse.swt.wpf.win32.x86" name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY"/>
</attributes>
</classpathentry>
+ <classpathentry kind="src" path="Eclipse SWT PI/wpf_win32"/>
<classpathentry kind="src" path="Eclipse SWT PI/common_j2se"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/datetime"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/bidi"/>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com.c b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com.c
deleted file mode 100644
index f29d1a7d92..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "com_structs.h"
-#include "com_stats.h"
-
-#define COM_NATIVE(func) Java_org_eclipse_swt_internal_wpf_COM_##func
-
-#ifndef NO_OleInitialize
-JNIEXPORT jint JNICALL COM_NATIVE(OleInitialize)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- COM_NATIVE_ENTER(env, that, OleInitialize_FUNC);
- rc = (jint)OleInitialize((LPVOID)arg0);
- COM_NATIVE_EXIT(env, that, OleInitialize_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_OleUninitialize
-JNIEXPORT void JNICALL COM_NATIVE(OleUninitialize)
- (JNIEnv *env, jclass that)
-{
- COM_NATIVE_ENTER(env, that, OleUninitialize_FUNC);
- OleUninitialize();
- COM_NATIVE_EXIT(env, that, OleUninitialize_FUNC);
-}
-#endif
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_stats.c
deleted file mode 100644
index 557ed0ee72..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_stats.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "com_stats.h"
-
-#ifdef NATIVE_STATS
-
-int COM_nativeFunctionCount = 2;
-int COM_nativeFunctionCallCount[2];
-char * COM_nativeFunctionNames[] = {
- "OleInitialize",
- "OleUninitialize",
-};
-
-#define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func
-
-JNIEXPORT jint JNICALL STATS_NATIVE(COM_1GetFunctionCount)
- (JNIEnv *env, jclass that)
-{
- return COM_nativeFunctionCount;
-}
-
-JNIEXPORT jstring JNICALL STATS_NATIVE(COM_1GetFunctionName)
- (JNIEnv *env, jclass that, jint index)
-{
- return (*env)->NewStringUTF(env, COM_nativeFunctionNames[index]);
-}
-
-JNIEXPORT jint JNICALL STATS_NATIVE(COM_1GetFunctionCallCount)
- (JNIEnv *env, jclass that, jint index)
-{
- return COM_nativeFunctionCallCount[index];
-}
-
-#endif
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_stats.h
deleted file mode 100644
index 1406582be1..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_stats.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#ifdef NATIVE_STATS
-extern int COM_nativeFunctionCount;
-extern int COM_nativeFunctionCallCount[];
-extern char* COM_nativeFunctionNames[];
-#define COM_NATIVE_ENTER(env, that, func) COM_nativeFunctionCallCount[func]++;
-#define COM_NATIVE_EXIT(env, that, func)
-#else
-#ifndef COM_NATIVE_ENTER
-#define COM_NATIVE_ENTER(env, that, func)
-#endif
-#ifndef COM_NATIVE_EXIT
-#define COM_NATIVE_EXIT(env, that, func)
-#endif
-#endif
-
-typedef enum {
- OleInitialize_FUNC,
- OleUninitialize_FUNC,
-} COM_FUNCS;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_structs.c b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_structs.c
deleted file mode 100644
index 98a128c4cc..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_structs.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "com_structs.h"
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_structs.h
deleted file mode 100644
index 6e1d8de79e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com_structs.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "com.h"
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/make_wpf.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/make_wpf.mak
index 072e6522c6..f4a8ace583 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/make_wpf.mak
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/make_wpf.mak
@@ -15,14 +15,14 @@
!include <make_common.mak>
-SWT_PREFIX = swt
-WS_PREFIX = wpf
+SWT_PREFIX = swt
+WS_PREFIX = wpf
SWT_VERSION = $(maj_ver)$(min_ver)
-SWT_LIB = $(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).dll
-SWT_COM_LIB = $(SWT_PREFIX)-com-$(WS_PREFIX)-$(SWT_VERSION).dll
-SWT_C_OBJS = swt.obj c.obj c_stats.obj
+SWT_LIB = $(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).dll
+SWT_WIN32_LIB = $(SWT_PREFIX)-win32-$(WS_PREFIX)-$(SWT_VERSION).dll
+SWT_C_OBJS = swt.obj c.obj c_stats.obj
SWT_CPP_OBJS = os.obj os_custom.obj os_stats.obj os_structs.obj
-SWT_COM_OBJS = com.obj swt.obj com_stats.obj
+SWT_WIN32_OBJS = win32.obj win32_stats.obj win32_structs.obj
# Uncomment for Native Stats tool
#NATIVE_STATS = -DNATIVE_STATS
@@ -34,10 +34,10 @@ WPF_HOME = C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0
DOTNET_HOME = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
CFLAGS = -c -W2 -D_WIN32_DCOM -O2 -DVISTA -DSWT_VERSION=$(SWT_VERSION) -DNO_getenv $(NATIVE_STATS) $(TRYCATCH) /I"$(JAVA_HOME)\include" /I"$(JAVA_HOME)\include\win32" /I.
CPPFLAGS = -clr /FU"$(WPF_HOME)\PresentationCore.dll" /FU"$(WPF_HOME)\PresentationFramework.dll" /FU$(DOTNET_HOME)\System.Data.dll /FU$(DOTNET_HOME)\System.dll /FU$(DOTNET_HOME)\System.Xml.dll /FU"$(WPF_HOME)\UIAutomationProvider.dll" /FU"$(WPF_HOME)\UIAutomationTypes.dll" /FU"$(WPF_HOME)\WindowsBase.dll" /FU$(DOTNET_HOME)\System.Drawing.dll /FU$(DOTNET_HOME)\System.Windows.Forms.dll /FU"$(WPF_HOME)\WindowsFormsIntegration.dll"
-LFLAGS = -DLL -NODEFAULTLIB:"LIBCMT.LIB" -CLRTHREADATTRIBUTE:STA user32.lib gdi32.lib shell32.lib
-COMLFLAGS = -DLL ole32.lib
+LFLAGS = -DLL -NODEFAULTLIB:"LIBCMT.LIB" -CLRTHREADATTRIBUTE:STA
+WIN32LFLAGS = -DLL ole32.lib user32.lib gdi32.lib shell32.lib
-all: $(SWT_LIB) $(SWT_COM_LIB)
+all: $(SWT_LIB) $(SWT_WIN32_LIB)
.c.obj:
cl $(CFLAGS) $*.c
@@ -49,8 +49,8 @@ $(SWT_LIB): $(SWT_C_OBJS) $(SWT_CPP_OBJS)
link $(LFLAGS) -OUT:$(SWT_LIB) $(SWT_C_OBJS) $(SWT_CPP_OBJS)
mt.exe -manifest $(SWT_LIB).manifest -outputresource:$(SWT_LIB);2
-$(SWT_COM_LIB): $(SWT_COM_OBJS)
- link $(COMLFLAGS) -OUT:$(SWT_COM_LIB) $(SWT_COM_OBJS)
+$(SWT_WIN32_LIB): $(SWT_C_OBJS) $(SWT_WIN32_OBJS)
+ link $(WIN32LFLAGS) -OUT:$(SWT_WIN32_LIB) $(SWT_C_OBJS) $(SWT_WIN32_OBJS)
install: all
copy *.dll $(OUTPUT_DIR)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp
index f189dfa0ff..b67989040c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp
@@ -879,19 +879,6 @@ JNIEXPORT void JNICALL OS_NATIVE(Clipboard_1SetDataObject)
}
#endif
-#ifndef NO_CloseHandle
-extern "C" JNIEXPORT jboolean JNICALL OS_NATIVE(CloseHandle)(JNIEnv *env, jclass that, jint arg0);
-JNIEXPORT jboolean JNICALL OS_NATIVE(CloseHandle)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, CloseHandle_FUNC);
- rc = (jboolean)CloseHandle((HANDLE)arg0);
- OS_NATIVE_EXIT(env, that, CloseHandle_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_ColorDialog_1AnyColor
extern "C" JNIEXPORT void JNICALL OS_NATIVE(ColorDialog_1AnyColor)(JNIEnv *env, jclass that, jint arg0, jboolean arg1);
JNIEXPORT void JNICALL OS_NATIVE(ColorDialog_1AnyColor)
@@ -1927,82 +1914,6 @@ JNIEXPORT void JNICALL OS_NATIVE(Control_1VerticalContentAlignment)
}
#endif
-#ifndef NO_CreateCursor
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(CreateCursor)(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jbyteArray arg5, jbyteArray arg6);
-JNIEXPORT jint JNICALL OS_NATIVE(CreateCursor)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jbyteArray arg5, jbyteArray arg6)
-{
- jbyte *lparg5=NULL;
- jbyte *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateCursor_FUNC);
-#ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
- if (arg5) if ((lparg5 = (jbyte*)env->GetPrimitiveArrayCritical(arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (jbyte*)env->GetPrimitiveArrayCritical(arg6, NULL)) == NULL) goto fail;
- } else
-#endif
- {
- if (arg5) if ((lparg5 = env->GetByteArrayElements(arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = env->GetByteArrayElements(arg6, NULL)) == NULL) goto fail;
- }
- rc = (jint)CreateCursor((HINSTANCE)arg0, arg1, arg2, arg3, arg4, (CONST VOID *)lparg5, (CONST VOID *)lparg6);
-fail:
-#ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
- if (arg6 && lparg6) env->ReleasePrimitiveArrayCritical(arg6, lparg6, JNI_ABORT);
- if (arg5 && lparg5) env->ReleasePrimitiveArrayCritical(arg5, lparg5, JNI_ABORT);
- } else
-#endif
- {
- if (arg6 && lparg6) env->ReleaseByteArrayElements(arg6, lparg6, JNI_ABORT);
- if (arg5 && lparg5) env->ReleaseByteArrayElements(arg5, lparg5, JNI_ABORT);
- }
- OS_NATIVE_EXIT(env, that, CreateCursor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateIconIndirect
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(CreateIconIndirect)(JNIEnv *env, jclass that, jobject arg0);
-JNIEXPORT jint JNICALL OS_NATIVE(CreateIconIndirect)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- ICONINFO _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateIconIndirect_FUNC);
- if (arg0) if ((lparg0 = getICONINFOFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)CreateIconIndirect(lparg0);
-fail:
- if (arg0 && lparg0) setICONINFOFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, CreateIconIndirect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateProcessW
-extern "C" JNIEXPORT jboolean JNICALL OS_NATIVE(CreateProcessW)(JNIEnv *env, jclass that, jint arg0, jcharArray arg1, jint arg2, jint arg3, jboolean arg4, jint arg5, jint arg6, jint arg7, jobject arg8, jobject arg9);
-JNIEXPORT jboolean JNICALL OS_NATIVE(CreateProcessW)
- (JNIEnv *env, jclass that, jint arg0, jcharArray arg1, jint arg2, jint arg3, jboolean arg4, jint arg5, jint arg6, jint arg7, jobject arg8, jobject arg9)
-{
- jchar *lparg1=NULL;
- STARTUPINFOW _arg8, *lparg8=NULL;
- PROCESS_INFORMATION _arg9, *lparg9=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, CreateProcessW_FUNC);
- if (arg1) if ((lparg1 = env->GetCharArrayElements(arg1, NULL)) == NULL) goto fail;
- if (arg8) if ((lparg8 = getSTARTUPINFOWFields(env, arg8, &_arg8)) == NULL) goto fail;
- if (arg9) if ((lparg9 = getPROCESS_INFORMATIONFields(env, arg9, &_arg9)) == NULL) goto fail;
- rc = (jboolean)CreateProcessW((LPCWSTR)arg0, (LPWSTR)lparg1, (LPSECURITY_ATTRIBUTES)arg2, (LPSECURITY_ATTRIBUTES)arg3, arg4, (DWORD)arg5, (LPVOID)arg6, (LPCWSTR)arg7, (LPSTARTUPINFOW)lparg8, (LPPROCESS_INFORMATION)lparg9);
-fail:
- if (arg9 && lparg9) setPROCESS_INFORMATIONFields(env, arg9, lparg9);
- if (arg8 && lparg8) setSTARTUPINFOWFields(env, arg8, lparg8);
- if (arg1 && lparg1) env->ReleaseCharArrayElements(arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CreateProcessW_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_CultureInfo_1CurrentUICulture
extern "C" JNIEXPORT jint JNICALL OS_NATIVE(CultureInfo_1CurrentUICulture)(JNIEnv *env, jclass that);
JNIEXPORT jint JNICALL OS_NATIVE(CultureInfo_1CurrentUICulture)
@@ -2493,19 +2404,6 @@ JNIEXPORT void JNICALL OS_NATIVE(DeleteGlobalRef)
}
#endif
-#ifndef NO_DeleteObject
-extern "C" JNIEXPORT jboolean JNICALL OS_NATIVE(DeleteObject)(JNIEnv *env, jclass that, jint arg0);
-JNIEXPORT jboolean JNICALL OS_NATIVE(DeleteObject)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, DeleteObject_FUNC);
- rc = (jboolean)DeleteObject((HGDIOBJ)arg0);
- OS_NATIVE_EXIT(env, that, DeleteObject_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_DependencyObject_1ClearValue
extern "C" JNIEXPORT void JNICALL OS_NATIVE(DependencyObject_1ClearValue)(JNIEnv *env, jclass that, jint arg0, jint arg1);
JNIEXPORT void JNICALL OS_NATIVE(DependencyObject_1ClearValue)
@@ -2554,19 +2452,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(DependencyProperty_1UnsetValue)
}
#endif
-#ifndef NO_DestroyIcon
-extern "C" JNIEXPORT jboolean JNICALL OS_NATIVE(DestroyIcon)(JNIEnv *env, jclass that, jint arg0);
-JNIEXPORT jboolean JNICALL OS_NATIVE(DestroyIcon)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, DestroyIcon_FUNC);
- rc = (jboolean)DestroyIcon((HICON)arg0);
- OS_NATIVE_EXIT(env, that, DestroyIcon_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_DispatcherFrame_1Continue
extern "C" JNIEXPORT void JNICALL OS_NATIVE(DispatcherFrame_1Continue)(JNIEnv *env, jclass that, jint arg0, jboolean arg1);
JNIEXPORT void JNICALL OS_NATIVE(DispatcherFrame_1Continue)
@@ -3154,17 +3039,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(EditingCommands_1DeletePreviousWord)
}
#endif
-#ifndef NO_EnableWindow
-extern "C" JNIEXPORT void JNICALL OS_NATIVE(EnableWindow)(JNIEnv *env, jclass that, jint arg0, jboolean arg1);
-JNIEXPORT void JNICALL OS_NATIVE(EnableWindow)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- OS_NATIVE_ENTER(env, that, EnableWindow_FUNC);
- EnableWindow((HWND)arg0, arg1);
- OS_NATIVE_EXIT(env, that, EnableWindow_FUNC);
-}
-#endif
-
#ifndef NO_Environment_1ExpandEnvironmentVariables
extern "C" JNIEXPORT jint JNICALL OS_NATIVE(Environment_1ExpandEnvironmentVariables)(JNIEnv *env, jclass that, jint arg0);
JNIEXPORT jint JNICALL OS_NATIVE(Environment_1ExpandEnvironmentVariables)
@@ -3248,29 +3122,6 @@ JNIEXPORT void JNICALL OS_NATIVE(Expander_1IsExpanded__IZ)
}
#endif
-#ifndef NO_ExtractIconExW
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(ExtractIconExW)(JNIEnv *env, jclass that, jcharArray arg0, jint arg1, jintArray arg2, jintArray arg3, jint arg4);
-JNIEXPORT jint JNICALL OS_NATIVE(ExtractIconExW)
- (JNIEnv *env, jclass that, jcharArray arg0, jint arg1, jintArray arg2, jintArray arg3, jint arg4)
-{
- jchar *lparg0=NULL;
- jint *lparg2=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ExtractIconExW_FUNC);
- if (arg0) if ((lparg0 = env->GetCharArrayElements(arg0, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = env->GetIntArrayElements(arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = env->GetIntArrayElements(arg3, NULL)) == NULL) goto fail;
- rc = (jint)ExtractIconExW((LPCWSTR)lparg0, arg1, (HICON*)lparg2, (HICON*)lparg3, (UINT)arg4);
-fail:
- if (arg3 && lparg3) env->ReleaseIntArrayElements(arg3, lparg3, 0);
- if (arg2 && lparg2) env->ReleaseIntArrayElements(arg2, lparg2, 0);
- if (arg0 && lparg0) env->ReleaseCharArrayElements(arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, ExtractIconExW_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_FileDialog_1FileName
extern "C" JNIEXPORT void JNICALL OS_NATIVE(FileDialog_1FileName)(JNIEnv *env, jclass that, jint arg0, jint arg1);
JNIEXPORT void JNICALL OS_NATIVE(FileDialog_1FileName)
@@ -4944,85 +4795,6 @@ JNIEXPORT void JNICALL OS_NATIVE(Geometry_1Transform__II)
}
#endif
-#ifndef NO_GetCursorPos
-extern "C" JNIEXPORT void JNICALL OS_NATIVE(GetCursorPos)(JNIEnv *env, jclass that, jobject arg0);
-JNIEXPORT void JNICALL OS_NATIVE(GetCursorPos)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- POINT _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, GetCursorPos_FUNC);
- if (arg0) if ((lparg0 = getPOINTFields(env, arg0, &_arg0)) == NULL) goto fail;
- GetCursorPos((LPPOINT)lparg0);
-fail:
- if (arg0 && lparg0) setPOINTFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, GetCursorPos_FUNC);
-}
-#endif
-
-#ifndef NO_GetIconInfo
-extern "C" JNIEXPORT jboolean JNICALL OS_NATIVE(GetIconInfo)(JNIEnv *env, jclass that, jint arg0, jobject arg1);
-JNIEXPORT jboolean JNICALL OS_NATIVE(GetIconInfo)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- ICONINFO _arg1, *lparg1=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, GetIconInfo_FUNC);
- if (arg1) if ((lparg1 = getICONINFOFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jboolean)GetIconInfo((HICON)arg0, lparg1);
-fail:
- if (arg1 && lparg1) setICONINFOFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetIconInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetKeyboardState
-extern "C" JNIEXPORT jboolean JNICALL OS_NATIVE(GetKeyboardState)(JNIEnv *env, jclass that, jbyteArray arg0);
-JNIEXPORT jboolean JNICALL OS_NATIVE(GetKeyboardState)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, GetKeyboardState_FUNC);
- if (arg0) if ((lparg0 = env->GetByteArrayElements(arg0, NULL)) == NULL) goto fail;
- rc = (jboolean)GetKeyboardState((PBYTE)lparg0);
-fail:
- if (arg0 && lparg0) env->ReleaseByteArrayElements(arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, GetKeyboardState_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetModuleHandleW
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(GetModuleHandleW)(JNIEnv *env, jclass that, jcharArray arg0);
-JNIEXPORT jint JNICALL OS_NATIVE(GetModuleHandleW)
- (JNIEnv *env, jclass that, jcharArray arg0)
-{
- jchar *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetModuleHandleW_FUNC);
- if (arg0) if ((lparg0 = env->GetCharArrayElements(arg0, NULL)) == NULL) goto fail;
- rc = (jint)GetModuleHandleW((LPCWSTR)lparg0);
-fail:
- if (arg0 && lparg0) env->ReleaseCharArrayElements(arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, GetModuleHandleW_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetProcessHeap
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(GetProcessHeap)(JNIEnv *env, jclass that);
-JNIEXPORT jint JNICALL OS_NATIVE(GetProcessHeap)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetProcessHeap_FUNC);
- rc = (jint)GetProcessHeap();
- OS_NATIVE_EXIT(env, that, GetProcessHeap_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_GiveFeedbackEventArgs_1Effects
extern "C" JNIEXPORT jint JNICALL OS_NATIVE(GiveFeedbackEventArgs_1Effects)(JNIEnv *env, jclass that, jint arg0);
JNIEXPORT jint JNICALL OS_NATIVE(GiveFeedbackEventArgs_1Effects)
@@ -5518,32 +5290,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(HeaderedItemsControl_1HeaderTemplateProperty)
}
#endif
-#ifndef NO_HeapAlloc
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(HeapAlloc)(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2);
-JNIEXPORT jint JNICALL OS_NATIVE(HeapAlloc)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HeapAlloc_FUNC);
- rc = (jint)HeapAlloc((HANDLE)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, HeapAlloc_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HeapFree
-extern "C" JNIEXPORT jboolean JNICALL OS_NATIVE(HeapFree)(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2);
-JNIEXPORT jboolean JNICALL OS_NATIVE(HeapFree)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, HeapFree_FUNC);
- rc = (jboolean)HeapFree((HANDLE)arg0, arg1, (LPVOID)arg2);
- OS_NATIVE_EXIT(env, that, HeapFree_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_HtmlDocument_1InvokeScript
extern "C" JNIEXPORT jint JNICALL OS_NATIVE(HtmlDocument_1InvokeScript)(JNIEnv *env, jclass that, jint arg0, jint arg1);
JNIEXPORT jint JNICALL OS_NATIVE(HtmlDocument_1InvokeScript)
@@ -6430,32 +6176,6 @@ JNIEXPORT void JNICALL OS_NATIVE(ListView_1View)
}
#endif
-#ifndef NO_LoadImage
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(LoadImage)(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5);
-JNIEXPORT jint JNICALL OS_NATIVE(LoadImage)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, LoadImage_FUNC);
- rc = (jint)LoadImage((HINSTANCE)arg0, (LPCTSTR)arg1, (UINT)arg2, arg3, arg4, (UINT)arg5);
- OS_NATIVE_EXIT(env, that, LoadImage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_MapVirtualKeyW
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(MapVirtualKeyW)(JNIEnv *env, jclass that, jint arg0, jint arg1);
-JNIEXPORT jint JNICALL OS_NATIVE(MapVirtualKeyW)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, MapVirtualKeyW_FUNC);
- rc = (jint)MapVirtualKeyW(arg0, arg1);
- OS_NATIVE_EXIT(env, that, MapVirtualKeyW_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_MatrixTransform_1Matrix__I
extern "C" JNIEXPORT jint JNICALL OS_NATIVE(MatrixTransform_1Matrix__I)(JNIEnv *env, jclass that, jint arg0);
JNIEXPORT jint JNICALL OS_NATIVE(MatrixTransform_1Matrix__I)
@@ -7068,35 +6788,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(Mouse_1XButton2)
}
#endif
-#ifndef NO_MoveMemory
-extern "C" JNIEXPORT void JNICALL OS_NATIVE(MoveMemory)(JNIEnv *env, jclass that, jint arg0, jcharArray arg1, jint arg2);
-JNIEXPORT void JNICALL OS_NATIVE(MoveMemory)
- (JNIEnv *env, jclass that, jint arg0, jcharArray arg1, jint arg2)
-{
- jchar *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, MoveMemory_FUNC);
-#ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
- if (arg1) if ((lparg1 = (jchar*)env->GetPrimitiveArrayCritical(arg1, NULL)) == NULL) goto fail;
- } else
-#endif
- {
- if (arg1) if ((lparg1 = env->GetCharArrayElements(arg1, NULL)) == NULL) goto fail;
- }
- MoveMemory((PVOID)arg0, (CONST VOID *)lparg1, arg2);
-fail:
-#ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
- if (arg1 && lparg1) env->ReleasePrimitiveArrayCritical(arg1, lparg1, JNI_ABORT);
- } else
-#endif
- {
- if (arg1 && lparg1) env->ReleaseCharArrayElements(arg1, lparg1, JNI_ABORT);
- }
- OS_NATIVE_EXIT(env, that, MoveMemory_FUNC);
-}
-#endif
-
#ifndef NO_NewGlobalRef
extern "C" JNIEXPORT jint JNICALL OS_NATIVE(NewGlobalRef)(JNIEnv *env, jclass that, jobject arg0);
JNIEXPORT jint JNICALL OS_NATIVE(NewGlobalRef)
@@ -7226,19 +6917,6 @@ JNIEXPORT void JNICALL OS_NATIVE(OpenFileDialog_1Multiselect)
}
#endif
-#ifndef NO_PROCESS_1INFORMATION_1sizeof
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(PROCESS_1INFORMATION_1sizeof)(JNIEnv *env, jclass that);
-JNIEXPORT jint JNICALL OS_NATIVE(PROCESS_1INFORMATION_1sizeof)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PROCESS_1INFORMATION_1sizeof_FUNC);
- rc = (jint)PROCESS_INFORMATION_sizeof();
- OS_NATIVE_EXIT(env, that, PROCESS_1INFORMATION_1sizeof_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_Panel_1Background__I
extern "C" JNIEXPORT jint JNICALL OS_NATIVE(Panel_1Background__I)(JNIEnv *env, jclass that, jint arg0);
JNIEXPORT jint JNICALL OS_NATIVE(Panel_1Background__I)
@@ -8694,32 +8372,6 @@ JNIEXPORT void JNICALL OS_NATIVE(Run_1Text)
}
#endif
-#ifndef NO_SHELLEXECUTEINFOW_1sizeof
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(SHELLEXECUTEINFOW_1sizeof)(JNIEnv *env, jclass that);
-JNIEXPORT jint JNICALL OS_NATIVE(SHELLEXECUTEINFOW_1sizeof)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SHELLEXECUTEINFOW_1sizeof_FUNC);
- rc = (jint)SHELLEXECUTEINFOW_sizeof();
- OS_NATIVE_EXIT(env, that, SHELLEXECUTEINFOW_1sizeof_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_STARTUPINFOW_1sizeof
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(STARTUPINFOW_1sizeof)(JNIEnv *env, jclass that);
-JNIEXPORT jint JNICALL OS_NATIVE(STARTUPINFOW_1sizeof)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, STARTUPINFOW_1sizeof_FUNC);
- rc = (jint)STARTUPINFOW_sizeof();
- OS_NATIVE_EXIT(env, that, STARTUPINFOW_1sizeof_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_ScrollBar_1Orientation__I
extern "C" JNIEXPORT jint JNICALL OS_NATIVE(ScrollBar_1Orientation__I)(JNIEnv *env, jclass that, jint arg0);
JNIEXPORT jint JNICALL OS_NATIVE(ScrollBar_1Orientation__I)
@@ -8938,19 +8590,6 @@ JNIEXPORT void JNICALL OS_NATIVE(Selector_1SelectionChanged)
}
#endif
-#ifndef NO_SetCursorPos
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(SetCursorPos)(JNIEnv *env, jclass that, jint arg0, jint arg1);
-JNIEXPORT jint JNICALL OS_NATIVE(SetCursorPos)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetCursorPos_FUNC);
- rc = (jint)SetCursorPos(arg0, arg1);
- OS_NATIVE_EXIT(env, that, SetCursorPos_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_SetterBaseCollection_1Add
extern "C" JNIEXPORT void JNICALL OS_NATIVE(SetterBaseCollection_1Add)(JNIEnv *env, jclass that, jint arg0, jint arg1);
JNIEXPORT void JNICALL OS_NATIVE(SetterBaseCollection_1Add)
@@ -8995,23 +8634,6 @@ JNIEXPORT void JNICALL OS_NATIVE(Shape_1StrokeThickness)
}
#endif
-#ifndef NO_ShellExecuteExW
-extern "C" JNIEXPORT jboolean JNICALL OS_NATIVE(ShellExecuteExW)(JNIEnv *env, jclass that, jobject arg0);
-JNIEXPORT jboolean JNICALL OS_NATIVE(ShellExecuteExW)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- SHELLEXECUTEINFOW _arg0, *lparg0=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, ShellExecuteExW_FUNC);
- if (arg0) if ((lparg0 = getSHELLEXECUTEINFOWFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jboolean)ShellExecuteExW((LPSHELLEXECUTEINFOW)lparg0);
-fail:
- if (arg0 && lparg0) setSHELLEXECUTEINFOWFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, ShellExecuteExW_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_SizeChangedEventArgs_1NewSize
extern "C" JNIEXPORT jint JNICALL OS_NATIVE(SizeChangedEventArgs_1NewSize)(JNIEnv *env, jclass that, jint arg0);
JNIEXPORT jint JNICALL OS_NATIVE(SizeChangedEventArgs_1NewSize)
@@ -10999,26 +10621,6 @@ JNIEXPORT void JNICALL OS_NATIVE(Timeline_1RepeatBehavior)
}
#endif
-#ifndef NO_ToUnicode
-extern "C" JNIEXPORT jint JNICALL OS_NATIVE(ToUnicode)(JNIEnv *env, jclass that, jint arg0, jint arg1, jbyteArray arg2, jcharArray arg3, jint arg4, jint arg5);
-JNIEXPORT jint JNICALL OS_NATIVE(ToUnicode)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jbyteArray arg2, jcharArray arg3, jint arg4, jint arg5)
-{
- jbyte *lparg2=NULL;
- jchar *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ToUnicode_FUNC);
- if (arg2) if ((lparg2 = env->GetByteArrayElements(arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = env->GetCharArrayElements(arg3, NULL)) == NULL) goto fail;
- rc = (jint)ToUnicode(arg0, arg1, (PBYTE)lparg2, (LPWSTR)lparg3, arg4, arg5);
-fail:
- if (arg3 && lparg3) env->ReleaseCharArrayElements(arg3, lparg3, 0);
- if (arg2 && lparg2) env->ReleaseByteArrayElements(arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, ToUnicode_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_ToggleButton_1Checked
extern "C" JNIEXPORT void JNICALL OS_NATIVE(ToggleButton_1Checked)(JNIEnv *env, jclass that, jint arg0, jint arg1);
JNIEXPORT void JNICALL OS_NATIVE(ToggleButton_1Checked)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.h b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.h
index c176b319b9..4e02bfe028 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.h
@@ -12,9 +12,6 @@
#ifndef INC_wpf_H
#define INC_wpf_H
-#include <string.h>
-#include <windows.h>
-
#using <mscorlib.dll>
using namespace System;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_custom.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_custom.cpp
index 6f050928d0..9ce7b4aa8d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_custom.cpp
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_custom.cpp
@@ -12,6 +12,7 @@
#include "swt.h"
#include "os_structs.h"
#include "os_stats.h"
+#include "string.h"
#define OS_NATIVE(func) Java_org_eclipse_swt_internal_wpf_OS_##func
@@ -425,12 +426,18 @@ public:
this->handle = handle;
_isIcon = isIcon;
}
+ [DllImport("user32.dll", SetLastError = true)]
+ static bool DestroyIcon(int hIcon);
+
+ [DllImport("user32.dll", SetLastError = true)]
+ static bool DestroyCursor(int hCursor);
+
virtual bool ReleaseHandle () override {
bool result;
if (_isIcon) {
- result = DestroyIcon((HICON)(int)handle);
+ result = DestroyIcon((int)handle);
} else {
- result = DestroyCursor((HCURSOR)(int)handle);
+ result = DestroyCursor((int)handle);
}
handle = (IntPtr)(-1);
return result;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.cpp
index ec9713eed5..b92cf7a07f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.cpp
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.cpp
@@ -14,8 +14,8 @@
#ifdef NATIVE_STATS
-int OS_nativeFunctionCount = 1277;
-int OS_nativeFunctionCallCount[1277];
+int OS_nativeFunctionCount = 1253;
+int OS_nativeFunctionCallCount[1253];
char * OS_nativeFunctionNames[] = {
"AccessText_1AccessKey",
"AccessText_1Text",
@@ -88,7 +88,6 @@ char * OS_nativeFunctionNames[] = {
"Clipboard_1GetText",
"Clipboard_1SetData",
"Clipboard_1SetDataObject",
- "CloseHandle",
"ColorDialog_1AnyColor",
"ColorDialog_1Color__I",
"ColorDialog_1Color__II",
@@ -174,9 +173,6 @@ char * OS_nativeFunctionNames[] = {
"Control_1Template__II",
"Control_1TemplateProperty",
"Control_1VerticalContentAlignment",
- "CreateCursor",
- "CreateIconIndirect",
- "CreateProcessW",
"CultureInfo_1CurrentUICulture",
"CursorInteropHelper_1Create",
"Cursors_1AppStarting",
@@ -215,12 +211,10 @@ char * OS_nativeFunctionNames[] = {
"DataObject_1GetFormats",
"DataObject_1SetData",
"DeleteGlobalRef",
- "DeleteObject",
"DependencyObject_1ClearValue",
"DependencyObject_1GetValue",
"DependencyObject_1SetValue",
"DependencyProperty_1UnsetValue",
- "DestroyIcon",
"DispatcherFrame_1Continue",
"DispatcherHookEventArgs_1Operation",
"DispatcherHooks_1DispatcherInactive",
@@ -270,7 +264,6 @@ char * OS_nativeFunctionNames[] = {
"EditingCommands_1Delete",
"EditingCommands_1DeleteNextWord",
"EditingCommands_1DeletePreviousWord",
- "EnableWindow",
"Environment_1ExpandEnvironmentVariables",
"ExecutedRoutedEventArgs_1Command",
"ExecutedRoutedEventArgs_1Handled",
@@ -278,7 +271,6 @@ char * OS_nativeFunctionNames[] = {
"Expander_1Expanded",
"Expander_1IsExpanded__I",
"Expander_1IsExpanded__IZ",
- "ExtractIconExW",
"FileDialog_1FileName",
"FileDialog_1FileNames",
"FileDialog_1Filter",
@@ -420,11 +412,6 @@ char * OS_nativeFunctionNames[] = {
"Geometry_1StrokeContains",
"Geometry_1Transform__I",
"Geometry_1Transform__II",
- "GetCursorPos",
- "GetIconInfo",
- "GetKeyboardState",
- "GetModuleHandleW",
- "GetProcessHeap",
"GiveFeedbackEventArgs_1Effects",
"GlyphRun_1BidiLevel",
"GradientBrush_1MappingMode",
@@ -466,8 +453,6 @@ char * OS_nativeFunctionNames[] = {
"HeaderedItemsControl_1Header__I",
"HeaderedItemsControl_1Header__II",
"HeaderedItemsControl_1HeaderTemplateProperty",
- "HeapAlloc",
- "HeapFree",
"HtmlDocument_1InvokeScript",
"HwndSource_1Handle",
"Hyperlink_1Click",
@@ -542,8 +527,6 @@ char * OS_nativeFunctionNames[] = {
"ListBox_1UnselectAll",
"ListViewItem_1typeid",
"ListView_1View",
- "LoadImage",
- "MapVirtualKeyW",
"MatrixTransform_1Matrix__I",
"MatrixTransform_1Matrix__II",
"Matrix_1Invert",
@@ -594,7 +577,6 @@ char * OS_nativeFunctionNames[] = {
"Mouse_1SetCursor",
"Mouse_1XButton1",
"Mouse_1XButton2",
- "MoveMemory",
"NewGlobalRef",
"NotifyIcon_1DoubleClick",
"NotifyIcon_1Icon",
@@ -606,7 +588,6 @@ char * OS_nativeFunctionNames[] = {
"Object_1GetType",
"Object_1ToString",
"OpenFileDialog_1Multiselect",
- "PROCESS_1INFORMATION_1sizeof",
"Panel_1Background__I",
"Panel_1Background__II",
"Panel_1BackgroundProperty",
@@ -728,8 +709,6 @@ char * OS_nativeFunctionNames[] = {
"RowDefinitionCollection_1Add",
"RowDefinition_1Height",
"Run_1Text",
- "SHELLEXECUTEINFOW_1sizeof",
- "STARTUPINFOW_1sizeof",
"SWTCanvas_1Visual__I",
"SWTCanvas_1Visual__II",
"SWTStackPanel_1JNIRefProperty",
@@ -753,12 +732,10 @@ char * OS_nativeFunctionNames[] = {
"Selector_1SelectedItem",
"Selector_1SelectedValue",
"Selector_1SelectionChanged",
- "SetCursorPos",
"SetterBaseCollection_1Add",
"Shape_1Fill",
"Shape_1Stroke",
"Shape_1StrokeThickness",
- "ShellExecuteExW",
"SizeChangedEventArgs_1NewSize",
"SizeChangedEventArgs_1PreviousSize",
"Size_1Height__I",
@@ -920,7 +897,6 @@ char * OS_nativeFunctionNames[] = {
"Timeline_1AutoReverse",
"Timeline_1Duration",
"Timeline_1RepeatBehavior",
- "ToUnicode",
"ToggleButton_1Checked",
"ToggleButton_1CheckedEvent",
"ToggleButton_1IndeterminateEvent",
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.h
index 3de2d9bec8..4019b177fb 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.h
@@ -96,7 +96,6 @@ typedef enum {
Clipboard_1GetText_FUNC,
Clipboard_1SetData_FUNC,
Clipboard_1SetDataObject_FUNC,
- CloseHandle_FUNC,
ColorDialog_1AnyColor_FUNC,
ColorDialog_1Color__I_FUNC,
ColorDialog_1Color__II_FUNC,
@@ -182,9 +181,6 @@ typedef enum {
Control_1Template__II_FUNC,
Control_1TemplateProperty_FUNC,
Control_1VerticalContentAlignment_FUNC,
- CreateCursor_FUNC,
- CreateIconIndirect_FUNC,
- CreateProcessW_FUNC,
CultureInfo_1CurrentUICulture_FUNC,
CursorInteropHelper_1Create_FUNC,
Cursors_1AppStarting_FUNC,
@@ -223,12 +219,10 @@ typedef enum {
DataObject_1GetFormats_FUNC,
DataObject_1SetData_FUNC,
DeleteGlobalRef_FUNC,
- DeleteObject_FUNC,
DependencyObject_1ClearValue_FUNC,
DependencyObject_1GetValue_FUNC,
DependencyObject_1SetValue_FUNC,
DependencyProperty_1UnsetValue_FUNC,
- DestroyIcon_FUNC,
DispatcherFrame_1Continue_FUNC,
DispatcherHookEventArgs_1Operation_FUNC,
DispatcherHooks_1DispatcherInactive_FUNC,
@@ -278,7 +272,6 @@ typedef enum {
EditingCommands_1Delete_FUNC,
EditingCommands_1DeleteNextWord_FUNC,
EditingCommands_1DeletePreviousWord_FUNC,
- EnableWindow_FUNC,
Environment_1ExpandEnvironmentVariables_FUNC,
ExecutedRoutedEventArgs_1Command_FUNC,
ExecutedRoutedEventArgs_1Handled_FUNC,
@@ -286,7 +279,6 @@ typedef enum {
Expander_1Expanded_FUNC,
Expander_1IsExpanded__I_FUNC,
Expander_1IsExpanded__IZ_FUNC,
- ExtractIconExW_FUNC,
FileDialog_1FileName_FUNC,
FileDialog_1FileNames_FUNC,
FileDialog_1Filter_FUNC,
@@ -428,11 +420,6 @@ typedef enum {
Geometry_1StrokeContains_FUNC,
Geometry_1Transform__I_FUNC,
Geometry_1Transform__II_FUNC,
- GetCursorPos_FUNC,
- GetIconInfo_FUNC,
- GetKeyboardState_FUNC,
- GetModuleHandleW_FUNC,
- GetProcessHeap_FUNC,
GiveFeedbackEventArgs_1Effects_FUNC,
GlyphRun_1BidiLevel_FUNC,
GradientBrush_1MappingMode_FUNC,
@@ -474,8 +461,6 @@ typedef enum {
HeaderedItemsControl_1Header__I_FUNC,
HeaderedItemsControl_1Header__II_FUNC,
HeaderedItemsControl_1HeaderTemplateProperty_FUNC,
- HeapAlloc_FUNC,
- HeapFree_FUNC,
HtmlDocument_1InvokeScript_FUNC,
HwndSource_1Handle_FUNC,
Hyperlink_1Click_FUNC,
@@ -550,8 +535,6 @@ typedef enum {
ListBox_1UnselectAll_FUNC,
ListViewItem_1typeid_FUNC,
ListView_1View_FUNC,
- LoadImage_FUNC,
- MapVirtualKeyW_FUNC,
MatrixTransform_1Matrix__I_FUNC,
MatrixTransform_1Matrix__II_FUNC,
Matrix_1Invert_FUNC,
@@ -602,7 +585,6 @@ typedef enum {
Mouse_1SetCursor_FUNC,
Mouse_1XButton1_FUNC,
Mouse_1XButton2_FUNC,
- MoveMemory_FUNC,
NewGlobalRef_FUNC,
NotifyIcon_1DoubleClick_FUNC,
NotifyIcon_1Icon_FUNC,
@@ -614,7 +596,6 @@ typedef enum {
Object_1GetType_FUNC,
Object_1ToString_FUNC,
OpenFileDialog_1Multiselect_FUNC,
- PROCESS_1INFORMATION_1sizeof_FUNC,
Panel_1Background__I_FUNC,
Panel_1Background__II_FUNC,
Panel_1BackgroundProperty_FUNC,
@@ -736,8 +717,6 @@ typedef enum {
RowDefinitionCollection_1Add_FUNC,
RowDefinition_1Height_FUNC,
Run_1Text_FUNC,
- SHELLEXECUTEINFOW_1sizeof_FUNC,
- STARTUPINFOW_1sizeof_FUNC,
SWTCanvas_1Visual__I_FUNC,
SWTCanvas_1Visual__II_FUNC,
SWTStackPanel_1JNIRefProperty_FUNC,
@@ -761,12 +740,10 @@ typedef enum {
Selector_1SelectedItem_FUNC,
Selector_1SelectedValue_FUNC,
Selector_1SelectionChanged_FUNC,
- SetCursorPos_FUNC,
SetterBaseCollection_1Add_FUNC,
Shape_1Fill_FUNC,
Shape_1Stroke_FUNC,
Shape_1StrokeThickness_FUNC,
- ShellExecuteExW_FUNC,
SizeChangedEventArgs_1NewSize_FUNC,
SizeChangedEventArgs_1PreviousSize_FUNC,
Size_1Height__I_FUNC,
@@ -928,7 +905,6 @@ typedef enum {
Timeline_1AutoReverse_FUNC,
Timeline_1Duration_FUNC,
Timeline_1RepeatBehavior_FUNC,
- ToUnicode_FUNC,
ToggleButton_1Checked_FUNC,
ToggleButton_1CheckedEvent_FUNC,
ToggleButton_1IndeterminateEvent_FUNC,
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_structs.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_structs.cpp
index 4634eb6a6c..40e774ba6c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_structs.cpp
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_structs.cpp
@@ -10,277 +10,4 @@
*******************************************************************************/
#include "swt.h"
-#include "os_structs.h"
-
-#ifndef NO_ICONINFO
-typedef struct ICONINFO_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID fIcon, xHotspot, yHotspot, hbmMask, hbmColor;
-} ICONINFO_FID_CACHE;
-
-ICONINFO_FID_CACHE ICONINFOFc;
-
-void cacheICONINFOFields(JNIEnv *env, jobject lpObject)
-{
- if (ICONINFOFc.cached) return;
- ICONINFOFc.clazz = env->GetObjectClass(lpObject);
- ICONINFOFc.fIcon = env->GetFieldID(ICONINFOFc.clazz, "fIcon", "Z");
- ICONINFOFc.xHotspot = env->GetFieldID(ICONINFOFc.clazz, "xHotspot", "I");
- ICONINFOFc.yHotspot = env->GetFieldID(ICONINFOFc.clazz, "yHotspot", "I");
- ICONINFOFc.hbmMask = env->GetFieldID(ICONINFOFc.clazz, "hbmMask", "I");
- ICONINFOFc.hbmColor = env->GetFieldID(ICONINFOFc.clazz, "hbmColor", "I");
- ICONINFOFc.cached = 1;
-}
-
-ICONINFO *getICONINFOFields(JNIEnv *env, jobject lpObject, ICONINFO *lpStruct)
-{
- if (!ICONINFOFc.cached) cacheICONINFOFields(env, lpObject);
- lpStruct->fIcon = env->GetBooleanField(lpObject, ICONINFOFc.fIcon);
- lpStruct->xHotspot = env->GetIntField(lpObject, ICONINFOFc.xHotspot);
- lpStruct->yHotspot = env->GetIntField(lpObject, ICONINFOFc.yHotspot);
- lpStruct->hbmMask = (HBITMAP)env->GetIntField(lpObject, ICONINFOFc.hbmMask);
- lpStruct->hbmColor = (HBITMAP)env->GetIntField(lpObject, ICONINFOFc.hbmColor);
- return lpStruct;
-}
-
-void setICONINFOFields(JNIEnv *env, jobject lpObject, ICONINFO *lpStruct)
-{
- if (!ICONINFOFc.cached) cacheICONINFOFields(env, lpObject);
- env->SetBooleanField(lpObject, ICONINFOFc.fIcon, (jboolean)lpStruct->fIcon);
- env->SetIntField(lpObject, ICONINFOFc.xHotspot, (jint)lpStruct->xHotspot);
- env->SetIntField(lpObject, ICONINFOFc.yHotspot, (jint)lpStruct->yHotspot);
- env->SetIntField(lpObject, ICONINFOFc.hbmMask, (jint)lpStruct->hbmMask);
- env->SetIntField(lpObject, ICONINFOFc.hbmColor, (jint)lpStruct->hbmColor);
-}
-#endif
-
-#ifndef NO_POINT
-typedef struct POINT_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID x, y;
-} POINT_FID_CACHE;
-
-POINT_FID_CACHE POINTFc;
-
-void cachePOINTFields(JNIEnv *env, jobject lpObject)
-{
- if (POINTFc.cached) return;
- POINTFc.clazz = env->GetObjectClass(lpObject);
- POINTFc.x = env->GetFieldID(POINTFc.clazz, "x", "I");
- POINTFc.y = env->GetFieldID(POINTFc.clazz, "y", "I");
- POINTFc.cached = 1;
-}
-
-POINT *getPOINTFields(JNIEnv *env, jobject lpObject, POINT *lpStruct)
-{
- if (!POINTFc.cached) cachePOINTFields(env, lpObject);
- lpStruct->x = env->GetIntField(lpObject, POINTFc.x);
- lpStruct->y = env->GetIntField(lpObject, POINTFc.y);
- return lpStruct;
-}
-
-void setPOINTFields(JNIEnv *env, jobject lpObject, POINT *lpStruct)
-{
- if (!POINTFc.cached) cachePOINTFields(env, lpObject);
- env->SetIntField(lpObject, POINTFc.x, (jint)lpStruct->x);
- env->SetIntField(lpObject, POINTFc.y, (jint)lpStruct->y);
-}
-#endif
-
-#ifndef NO_PROCESS_INFORMATION
-typedef struct PROCESS_INFORMATION_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID hProcess, hThread, dwProcessId, dwThreadId;
-} PROCESS_INFORMATION_FID_CACHE;
-
-PROCESS_INFORMATION_FID_CACHE PROCESS_INFORMATIONFc;
-
-void cachePROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject)
-{
- if (PROCESS_INFORMATIONFc.cached) return;
- PROCESS_INFORMATIONFc.clazz = env->GetObjectClass(lpObject);
- PROCESS_INFORMATIONFc.hProcess = env->GetFieldID(PROCESS_INFORMATIONFc.clazz, "hProcess", "I");
- PROCESS_INFORMATIONFc.hThread = env->GetFieldID(PROCESS_INFORMATIONFc.clazz, "hThread", "I");
- PROCESS_INFORMATIONFc.dwProcessId = env->GetFieldID(PROCESS_INFORMATIONFc.clazz, "dwProcessId", "I");
- PROCESS_INFORMATIONFc.dwThreadId = env->GetFieldID(PROCESS_INFORMATIONFc.clazz, "dwThreadId", "I");
- PROCESS_INFORMATIONFc.cached = 1;
-}
-
-PROCESS_INFORMATION *getPROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject, PROCESS_INFORMATION *lpStruct)
-{
- if (!PROCESS_INFORMATIONFc.cached) cachePROCESS_INFORMATIONFields(env, lpObject);
- lpStruct->hProcess = (HANDLE)env->GetIntField(lpObject, PROCESS_INFORMATIONFc.hProcess);
- lpStruct->hThread = (HANDLE)env->GetIntField(lpObject, PROCESS_INFORMATIONFc.hThread);
- lpStruct->dwProcessId = env->GetIntField(lpObject, PROCESS_INFORMATIONFc.dwProcessId);
- lpStruct->dwThreadId = env->GetIntField(lpObject, PROCESS_INFORMATIONFc.dwThreadId);
- return lpStruct;
-}
-
-void setPROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject, PROCESS_INFORMATION *lpStruct)
-{
- if (!PROCESS_INFORMATIONFc.cached) cachePROCESS_INFORMATIONFields(env, lpObject);
- env->SetIntField(lpObject, PROCESS_INFORMATIONFc.hProcess, (jint)lpStruct->hProcess);
- env->SetIntField(lpObject, PROCESS_INFORMATIONFc.hThread, (jint)lpStruct->hThread);
- env->SetIntField(lpObject, PROCESS_INFORMATIONFc.dwProcessId, (jint)lpStruct->dwProcessId);
- env->SetIntField(lpObject, PROCESS_INFORMATIONFc.dwThreadId, (jint)lpStruct->dwThreadId);
-}
-#endif
-
-#ifndef NO_SHELLEXECUTEINFOW
-typedef struct SHELLEXECUTEINFOW_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID cbSize, fMask, hwnd, lpVerb, lpFile, lpParameters, lpDirectory, nShow, hInstApp, lpIDList, lpClass, hkeyClass, dwHotKey, hIcon, hProcess;
-} SHELLEXECUTEINFOW_FID_CACHE;
-
-SHELLEXECUTEINFOW_FID_CACHE SHELLEXECUTEINFOWFc;
-
-void cacheSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject)
-{
- if (SHELLEXECUTEINFOWFc.cached) return;
- SHELLEXECUTEINFOWFc.clazz = env->GetObjectClass(lpObject);
- SHELLEXECUTEINFOWFc.cbSize = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "cbSize", "I");
- SHELLEXECUTEINFOWFc.fMask = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "fMask", "I");
- SHELLEXECUTEINFOWFc.hwnd = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "hwnd", "I");
- SHELLEXECUTEINFOWFc.lpVerb = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "lpVerb", "I");
- SHELLEXECUTEINFOWFc.lpFile = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "lpFile", "I");
- SHELLEXECUTEINFOWFc.lpParameters = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "lpParameters", "I");
- SHELLEXECUTEINFOWFc.lpDirectory = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "lpDirectory", "I");
- SHELLEXECUTEINFOWFc.nShow = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "nShow", "I");
- SHELLEXECUTEINFOWFc.hInstApp = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "hInstApp", "I");
- SHELLEXECUTEINFOWFc.lpIDList = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "lpIDList", "I");
- SHELLEXECUTEINFOWFc.lpClass = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "lpClass", "I");
- SHELLEXECUTEINFOWFc.hkeyClass = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "hkeyClass", "I");
- SHELLEXECUTEINFOWFc.dwHotKey = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "dwHotKey", "I");
- SHELLEXECUTEINFOWFc.hIcon = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "hIcon", "I");
- SHELLEXECUTEINFOWFc.hProcess = env->GetFieldID(SHELLEXECUTEINFOWFc.clazz, "hProcess", "I");
- SHELLEXECUTEINFOWFc.cached = 1;
-}
-
-SHELLEXECUTEINFOW *getSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject, SHELLEXECUTEINFOW *lpStruct)
-{
- if (!SHELLEXECUTEINFOWFc.cached) cacheSHELLEXECUTEINFOWFields(env, lpObject);
- lpStruct->cbSize = env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.cbSize);
- lpStruct->fMask = env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.fMask);
- lpStruct->hwnd = (HWND)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.hwnd);
- lpStruct->lpVerb = (LPWSTR)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.lpVerb);
- lpStruct->lpFile = (LPWSTR)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.lpFile);
- lpStruct->lpParameters = (LPWSTR)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.lpParameters);
- lpStruct->lpDirectory = (LPWSTR)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.lpDirectory);
- lpStruct->nShow = env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.nShow);
- lpStruct->hInstApp = (HINSTANCE)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.hInstApp);
- lpStruct->lpIDList = (LPVOID)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.lpIDList);
- lpStruct->lpClass = (LPWSTR)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.lpClass);
- lpStruct->hkeyClass = (HKEY)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.hkeyClass);
- lpStruct->dwHotKey = env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.dwHotKey);
- lpStruct->hIcon = (HANDLE)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.hIcon);
- lpStruct->hProcess = (HANDLE)env->GetIntField(lpObject, SHELLEXECUTEINFOWFc.hProcess);
- return lpStruct;
-}
-
-void setSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject, SHELLEXECUTEINFOW *lpStruct)
-{
- if (!SHELLEXECUTEINFOWFc.cached) cacheSHELLEXECUTEINFOWFields(env, lpObject);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.cbSize, (jint)lpStruct->cbSize);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.fMask, (jint)lpStruct->fMask);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.hwnd, (jint)lpStruct->hwnd);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.lpVerb, (jint)lpStruct->lpVerb);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.lpFile, (jint)lpStruct->lpFile);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.lpParameters, (jint)lpStruct->lpParameters);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.lpDirectory, (jint)lpStruct->lpDirectory);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.nShow, (jint)lpStruct->nShow);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.hInstApp, (jint)lpStruct->hInstApp);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.lpIDList, (jint)lpStruct->lpIDList);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.lpClass, (jint)lpStruct->lpClass);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.hkeyClass, (jint)lpStruct->hkeyClass);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.dwHotKey, (jint)lpStruct->dwHotKey);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.hIcon, (jint)lpStruct->hIcon);
- env->SetIntField(lpObject, SHELLEXECUTEINFOWFc.hProcess, (jint)lpStruct->hProcess);
-}
-#endif
-
-#ifndef NO_STARTUPINFOW
-typedef struct STARTUPINFOW_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID cb, lpReserved, lpDesktop, lpTitle, dwX, dwY, dwXSize, dwYSize, dwXCountChars, dwYCountChars, dwFillAttribute, dwFlags, wShowWindow, cbReserved2, lpReserved2, hStdInput, hStdOutput, hStdError;
-} STARTUPINFOW_FID_CACHE;
-
-STARTUPINFOW_FID_CACHE STARTUPINFOWFc;
-
-void cacheSTARTUPINFOWFields(JNIEnv *env, jobject lpObject)
-{
- if (STARTUPINFOWFc.cached) return;
- STARTUPINFOWFc.clazz = env->GetObjectClass(lpObject);
- STARTUPINFOWFc.cb = env->GetFieldID(STARTUPINFOWFc.clazz, "cb", "I");
- STARTUPINFOWFc.lpReserved = env->GetFieldID(STARTUPINFOWFc.clazz, "lpReserved", "I");
- STARTUPINFOWFc.lpDesktop = env->GetFieldID(STARTUPINFOWFc.clazz, "lpDesktop", "I");
- STARTUPINFOWFc.lpTitle = env->GetFieldID(STARTUPINFOWFc.clazz, "lpTitle", "I");
- STARTUPINFOWFc.dwX = env->GetFieldID(STARTUPINFOWFc.clazz, "dwX", "I");
- STARTUPINFOWFc.dwY = env->GetFieldID(STARTUPINFOWFc.clazz, "dwY", "I");
- STARTUPINFOWFc.dwXSize = env->GetFieldID(STARTUPINFOWFc.clazz, "dwXSize", "I");
- STARTUPINFOWFc.dwYSize = env->GetFieldID(STARTUPINFOWFc.clazz, "dwYSize", "I");
- STARTUPINFOWFc.dwXCountChars = env->GetFieldID(STARTUPINFOWFc.clazz, "dwXCountChars", "I");
- STARTUPINFOWFc.dwYCountChars = env->GetFieldID(STARTUPINFOWFc.clazz, "dwYCountChars", "I");
- STARTUPINFOWFc.dwFillAttribute = env->GetFieldID(STARTUPINFOWFc.clazz, "dwFillAttribute", "I");
- STARTUPINFOWFc.dwFlags = env->GetFieldID(STARTUPINFOWFc.clazz, "dwFlags", "I");
- STARTUPINFOWFc.wShowWindow = env->GetFieldID(STARTUPINFOWFc.clazz, "wShowWindow", "S");
- STARTUPINFOWFc.cbReserved2 = env->GetFieldID(STARTUPINFOWFc.clazz, "cbReserved2", "S");
- STARTUPINFOWFc.lpReserved2 = env->GetFieldID(STARTUPINFOWFc.clazz, "lpReserved2", "I");
- STARTUPINFOWFc.hStdInput = env->GetFieldID(STARTUPINFOWFc.clazz, "hStdInput", "I");
- STARTUPINFOWFc.hStdOutput = env->GetFieldID(STARTUPINFOWFc.clazz, "hStdOutput", "I");
- STARTUPINFOWFc.hStdError = env->GetFieldID(STARTUPINFOWFc.clazz, "hStdError", "I");
- STARTUPINFOWFc.cached = 1;
-}
-
-STARTUPINFOW *getSTARTUPINFOWFields(JNIEnv *env, jobject lpObject, STARTUPINFOW *lpStruct)
-{
- if (!STARTUPINFOWFc.cached) cacheSTARTUPINFOWFields(env, lpObject);
- lpStruct->cb = env->GetIntField(lpObject, STARTUPINFOWFc.cb);
- lpStruct->lpReserved = (LPWSTR)env->GetIntField(lpObject, STARTUPINFOWFc.lpReserved);
- lpStruct->lpDesktop = (LPWSTR)env->GetIntField(lpObject, STARTUPINFOWFc.lpDesktop);
- lpStruct->lpTitle = (LPWSTR)env->GetIntField(lpObject, STARTUPINFOWFc.lpTitle);
- lpStruct->dwX = env->GetIntField(lpObject, STARTUPINFOWFc.dwX);
- lpStruct->dwY = env->GetIntField(lpObject, STARTUPINFOWFc.dwY);
- lpStruct->dwXSize = env->GetIntField(lpObject, STARTUPINFOWFc.dwXSize);
- lpStruct->dwYSize = env->GetIntField(lpObject, STARTUPINFOWFc.dwYSize);
- lpStruct->dwXCountChars = env->GetIntField(lpObject, STARTUPINFOWFc.dwXCountChars);
- lpStruct->dwYCountChars = env->GetIntField(lpObject, STARTUPINFOWFc.dwYCountChars);
- lpStruct->dwFillAttribute = env->GetIntField(lpObject, STARTUPINFOWFc.dwFillAttribute);
- lpStruct->dwFlags = env->GetIntField(lpObject, STARTUPINFOWFc.dwFlags);
- lpStruct->wShowWindow = env->GetShortField(lpObject, STARTUPINFOWFc.wShowWindow);
- lpStruct->cbReserved2 = env->GetShortField(lpObject, STARTUPINFOWFc.cbReserved2);
- lpStruct->lpReserved2 = (LPBYTE)env->GetIntField(lpObject, STARTUPINFOWFc.lpReserved2);
- lpStruct->hStdInput = (HANDLE)env->GetIntField(lpObject, STARTUPINFOWFc.hStdInput);
- lpStruct->hStdOutput = (HANDLE)env->GetIntField(lpObject, STARTUPINFOWFc.hStdOutput);
- lpStruct->hStdError = (HANDLE)env->GetIntField(lpObject, STARTUPINFOWFc.hStdError);
- return lpStruct;
-}
-
-void setSTARTUPINFOWFields(JNIEnv *env, jobject lpObject, STARTUPINFOW *lpStruct)
-{
- if (!STARTUPINFOWFc.cached) cacheSTARTUPINFOWFields(env, lpObject);
- env->SetIntField(lpObject, STARTUPINFOWFc.cb, (jint)lpStruct->cb);
- env->SetIntField(lpObject, STARTUPINFOWFc.lpReserved, (jint)lpStruct->lpReserved);
- env->SetIntField(lpObject, STARTUPINFOWFc.lpDesktop, (jint)lpStruct->lpDesktop);
- env->SetIntField(lpObject, STARTUPINFOWFc.lpTitle, (jint)lpStruct->lpTitle);
- env->SetIntField(lpObject, STARTUPINFOWFc.dwX, (jint)lpStruct->dwX);
- env->SetIntField(lpObject, STARTUPINFOWFc.dwY, (jint)lpStruct->dwY);
- env->SetIntField(lpObject, STARTUPINFOWFc.dwXSize, (jint)lpStruct->dwXSize);
- env->SetIntField(lpObject, STARTUPINFOWFc.dwYSize, (jint)lpStruct->dwYSize);
- env->SetIntField(lpObject, STARTUPINFOWFc.dwXCountChars, (jint)lpStruct->dwXCountChars);
- env->SetIntField(lpObject, STARTUPINFOWFc.dwYCountChars, (jint)lpStruct->dwYCountChars);
- env->SetIntField(lpObject, STARTUPINFOWFc.dwFillAttribute, (jint)lpStruct->dwFillAttribute);
- env->SetIntField(lpObject, STARTUPINFOWFc.dwFlags, (jint)lpStruct->dwFlags);
- env->SetShortField(lpObject, STARTUPINFOWFc.wShowWindow, (jshort)lpStruct->wShowWindow);
- env->SetShortField(lpObject, STARTUPINFOWFc.cbReserved2, (jshort)lpStruct->cbReserved2);
- env->SetIntField(lpObject, STARTUPINFOWFc.lpReserved2, (jint)lpStruct->lpReserved2);
- env->SetIntField(lpObject, STARTUPINFOWFc.hStdInput, (jint)lpStruct->hStdInput);
- env->SetIntField(lpObject, STARTUPINFOWFc.hStdOutput, (jint)lpStruct->hStdOutput);
- env->SetIntField(lpObject, STARTUPINFOWFc.hStdError, (jint)lpStruct->hStdError);
-}
-#endif
-
+#include "os_structs.h" \ No newline at end of file
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_structs.h
index 46d36239e4..47ee4e9a14 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_structs.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_structs.h
@@ -11,63 +11,3 @@
#include "os.h"
-#ifndef NO_ICONINFO
-void cacheICONINFOFields(JNIEnv *env, jobject lpObject);
-ICONINFO *getICONINFOFields(JNIEnv *env, jobject lpObject, ICONINFO *lpStruct);
-void setICONINFOFields(JNIEnv *env, jobject lpObject, ICONINFO *lpStruct);
-#define ICONINFO_sizeof() sizeof(ICONINFO)
-#else
-#define cacheICONINFOFields(a,b)
-#define getICONINFOFields(a,b,c) NULL
-#define setICONINFOFields(a,b,c)
-#define ICONINFO_sizeof() 0
-#endif
-
-#ifndef NO_POINT
-void cachePOINTFields(JNIEnv *env, jobject lpObject);
-POINT *getPOINTFields(JNIEnv *env, jobject lpObject, POINT *lpStruct);
-void setPOINTFields(JNIEnv *env, jobject lpObject, POINT *lpStruct);
-#define POINT_sizeof() sizeof(POINT)
-#else
-#define cachePOINTFields(a,b)
-#define getPOINTFields(a,b,c) NULL
-#define setPOINTFields(a,b,c)
-#define POINT_sizeof() 0
-#endif
-
-#ifndef NO_PROCESS_INFORMATION
-void cachePROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject);
-PROCESS_INFORMATION *getPROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject, PROCESS_INFORMATION *lpStruct);
-void setPROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject, PROCESS_INFORMATION *lpStruct);
-#define PROCESS_INFORMATION_sizeof() sizeof(PROCESS_INFORMATION)
-#else
-#define cachePROCESS_INFORMATIONFields(a,b)
-#define getPROCESS_INFORMATIONFields(a,b,c) NULL
-#define setPROCESS_INFORMATIONFields(a,b,c)
-#define PROCESS_INFORMATION_sizeof() 0
-#endif
-
-#ifndef NO_SHELLEXECUTEINFOW
-void cacheSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject);
-SHELLEXECUTEINFOW *getSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject, SHELLEXECUTEINFOW *lpStruct);
-void setSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject, SHELLEXECUTEINFOW *lpStruct);
-#define SHELLEXECUTEINFOW_sizeof() sizeof(SHELLEXECUTEINFOW)
-#else
-#define cacheSHELLEXECUTEINFOWFields(a,b)
-#define getSHELLEXECUTEINFOWFields(a,b,c) NULL
-#define setSHELLEXECUTEINFOWFields(a,b,c)
-#define SHELLEXECUTEINFOW_sizeof() 0
-#endif
-
-#ifndef NO_STARTUPINFOW
-void cacheSTARTUPINFOWFields(JNIEnv *env, jobject lpObject);
-STARTUPINFOW *getSTARTUPINFOWFields(JNIEnv *env, jobject lpObject, STARTUPINFOW *lpStruct);
-void setSTARTUPINFOWFields(JNIEnv *env, jobject lpObject, STARTUPINFOW *lpStruct);
-#define STARTUPINFOW_sizeof() sizeof(STARTUPINFOW)
-#else
-#define cacheSTARTUPINFOWFields(a,b)
-#define getSTARTUPINFOWFields(a,b,c) NULL
-#define setSTARTUPINFOWFields(a,b,c)
-#define STARTUPINFOW_sizeof() 0
-#endif
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/COM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/COM.java
deleted file mode 100644
index 44ad5abe92..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/COM.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.wpf;
-
-
-import org.eclipse.swt.internal.*;
-
-public class COM extends Platform {
- static {
- Library.loadLibrary ("swt-com"); //$NON-NLS-1$
- }
-
-public static final native int OleInitialize(int reserved);
-public static final native void OleUninitialize();
-
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/OS.java
index 160cd4022f..7e2395c987 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/OS.java
@@ -351,26 +351,8 @@ public class OS extends C {
public static final int RelativeSourceMode_FindAncestor = 3;
- /** GDI+ constants */
- public static final int PixelFormat_Format24bppRgb = 137224;
- public static final int PixelFormat_Format32bppRgb = 139273;
- public static final int PixelFormat_Format32bppArgb = 2498570;
- public static final int PixelFormat_Format16bppRgb555 = 135173;
- public static final int PixelFormat_Format16bppRgb565 = 135174;
- public static final int PixelFormat_Format16bppArgb1555 = 397319;
- public static final int DialogResult_OK = 1;
+ public static final int DialogResult_OK = 1;
- public static final int OIC_BANG = 0x7F03;
- public static final int OIC_HAND = 0x7F01;
- public static final int OIC_INFORMATION = 0x7F04;
- public static final int OIC_QUES = 0x7F02;
- public static final int OIC_WINLOGO = 0x7F05;
- public static final int IMAGE_ICON = 0x1;
- public static final int LR_SHARED = 0x8000;
-
- public static int HEAP_ZERO_MEMORY = 0x8;
- public static int SW_SHOW = 0x5;
-
/*
* Note that these GCHandles are leaked.
@@ -385,34 +367,6 @@ public class OS extends C {
public static final int Colors_Black = Colors_Black();
public static final int Colors_Transparent = Colors_Transparent();
public static final int SystemColors_ControlColor = SystemColors_ControlColor();
-
-
-/** Win32 Natives */
-public static final native boolean CloseHandle(int hObject);
-public static final native int CreateCursor (int hInst, int xHotSpot, int yHotSpot, int nWidth, int nHeight, byte [] pvANDPlane, byte [] pvXORPlane);
-public static final native boolean CreateProcessW(int lpApplicationName, char [] lpCommandLine, int lpProcessAttributes, int lpThreadAttributes, boolean bInheritHandles, int dwCreationFlags, int lpEnvironment, int lpCurrentDirectory, STARTUPINFOW lpStartupInfo, PROCESS_INFORMATION lpProcessInformation);
-public static final native int CreateIconIndirect (ICONINFO lplf);
-public static final native boolean DeleteObject (int hGdiObj);
-public static final native boolean DestroyIcon (int hIcon);
-public static final native void EnableWindow(int window, boolean enabled);
-public static final native int ExtractIconExW(char[] lpszFile, int nIconIndex, int [] phiconLarge, int [] phiconSmall, int nIcons);
-public static final native void GetCursorPos (POINT point);
-public static final native boolean GetIconInfo (int hIcon, ICONINFO piconinfo);
-public static final native boolean GetKeyboardState (byte [] lpKeyState);
-public static final native int GetProcessHeap();
-public static final native int GetModuleHandleW (char [] lpModuleName);
-public static final native int HeapAlloc (int hHeap, int dwFlags, int dwBytes);
-public static final native boolean HeapFree (int hHeap, int dwFlags, int lpMem);
-public static final native int LoadImage (int hinst, int lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
-public static final native int MapVirtualKeyW (int uCode, int uMapType);
-public static final native void MoveMemory (int Destination, char [] Source, int Length);
-public static final native int PROCESS_INFORMATION_sizeof();
-public static final native int SetCursorPos (int x, int y);
-public static final native boolean ShellExecuteExW(SHELLEXECUTEINFOW lpExecInfo);
-public static final native int SHELLEXECUTEINFOW_sizeof();
-public static final native int STARTUPINFOW_sizeof();
-public static final native int ToUnicode(int wVirtKey, int wScanCode, byte [] lpKeyState, char [] pwszBuff, int cchBuff, int wFlags);
-
/** Handlers */
public static final native int gcnew_CancelEventHandler(int jniRef, String string);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.c b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.c
new file mode 100644
index 0000000000..5a42d7bb59
--- /dev/null
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.c
@@ -0,0 +1,413 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+#include "swt.h"
+#include "win32_structs.h"
+#include "win32_stats.h"
+
+#define Win32_NATIVE(func) Java_org_eclipse_swt_internal_win32_Win32_##func
+
+#ifndef NO_CloseHandle
+JNIEXPORT jboolean JNICALL Win32_NATIVE(CloseHandle)
+ (JNIEnv *env, jclass that, jint arg0)
+{
+ jboolean rc = 0;
+ Win32_NATIVE_ENTER(env, that, CloseHandle_FUNC);
+ rc = (jboolean)CloseHandle((HANDLE)arg0);
+ Win32_NATIVE_EXIT(env, that, CloseHandle_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_CreateCursor
+JNIEXPORT jint JNICALL Win32_NATIVE(CreateCursor)
+ (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jbyteArray arg5, jbyteArray arg6)
+{
+ jbyte *lparg5=NULL;
+ jbyte *lparg6=NULL;
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, CreateCursor_FUNC);
+#ifdef JNI_VERSION_1_2
+ if (IS_JNI_1_2) {
+ if (arg5) if ((lparg5 = (*env)->GetPrimitiveArrayCritical(env, arg5, NULL)) == NULL) goto fail;
+ if (arg6) if ((lparg6 = (*env)->GetPrimitiveArrayCritical(env, arg6, NULL)) == NULL) goto fail;
+ } else
+#endif
+ {
+ if (arg5) if ((lparg5 = (*env)->GetByteArrayElements(env, arg5, NULL)) == NULL) goto fail;
+ if (arg6) if ((lparg6 = (*env)->GetByteArrayElements(env, arg6, NULL)) == NULL) goto fail;
+ }
+ rc = (jint)CreateCursor((HINSTANCE)arg0, arg1, arg2, arg3, arg4, (CONST VOID *)lparg5, (CONST VOID *)lparg6);
+fail:
+#ifdef JNI_VERSION_1_2
+ if (IS_JNI_1_2) {
+ if (arg6 && lparg6) (*env)->ReleasePrimitiveArrayCritical(env, arg6, lparg6, JNI_ABORT);
+ if (arg5 && lparg5) (*env)->ReleasePrimitiveArrayCritical(env, arg5, lparg5, JNI_ABORT);
+ } else
+#endif
+ {
+ if (arg6 && lparg6) (*env)->ReleaseByteArrayElements(env, arg6, lparg6, JNI_ABORT);
+ if (arg5 && lparg5) (*env)->ReleaseByteArrayElements(env, arg5, lparg5, JNI_ABORT);
+ }
+ Win32_NATIVE_EXIT(env, that, CreateCursor_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_CreateIconIndirect
+JNIEXPORT jint JNICALL Win32_NATIVE(CreateIconIndirect)
+ (JNIEnv *env, jclass that, jobject arg0)
+{
+ ICONINFO _arg0, *lparg0=NULL;
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, CreateIconIndirect_FUNC);
+ if (arg0) if ((lparg0 = getICONINFOFields(env, arg0, &_arg0)) == NULL) goto fail;
+ rc = (jint)CreateIconIndirect(lparg0);
+fail:
+ if (arg0 && lparg0) setICONINFOFields(env, arg0, lparg0);
+ Win32_NATIVE_EXIT(env, that, CreateIconIndirect_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_CreateProcessW
+JNIEXPORT jboolean JNICALL Win32_NATIVE(CreateProcessW)
+ (JNIEnv *env, jclass that, jint arg0, jcharArray arg1, jint arg2, jint arg3, jboolean arg4, jint arg5, jint arg6, jint arg7, jobject arg8, jobject arg9)
+{
+ jchar *lparg1=NULL;
+ STARTUPINFOW _arg8, *lparg8=NULL;
+ PROCESS_INFORMATION _arg9, *lparg9=NULL;
+ jboolean rc = 0;
+ Win32_NATIVE_ENTER(env, that, CreateProcessW_FUNC);
+ if (arg1) if ((lparg1 = (*env)->GetCharArrayElements(env, arg1, NULL)) == NULL) goto fail;
+ if (arg8) if ((lparg8 = getSTARTUPINFOWFields(env, arg8, &_arg8)) == NULL) goto fail;
+ if (arg9) if ((lparg9 = getPROCESS_INFORMATIONFields(env, arg9, &_arg9)) == NULL) goto fail;
+ rc = (jboolean)CreateProcessW((LPCWSTR)arg0, (LPWSTR)lparg1, (LPSECURITY_ATTRIBUTES)arg2, (LPSECURITY_ATTRIBUTES)arg3, arg4, (DWORD)arg5, (LPVOID)arg6, (LPCWSTR)arg7, (LPSTARTUPINFOW)lparg8, (LPPROCESS_INFORMATION)lparg9);
+fail:
+ if (arg9 && lparg9) setPROCESS_INFORMATIONFields(env, arg9, lparg9);
+ if (arg8 && lparg8) setSTARTUPINFOWFields(env, arg8, lparg8);
+ if (arg1 && lparg1) (*env)->ReleaseCharArrayElements(env, arg1, lparg1, 0);
+ Win32_NATIVE_EXIT(env, that, CreateProcessW_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_DeleteObject
+JNIEXPORT jboolean JNICALL Win32_NATIVE(DeleteObject)
+ (JNIEnv *env, jclass that, jint arg0)
+{
+ jboolean rc = 0;
+ Win32_NATIVE_ENTER(env, that, DeleteObject_FUNC);
+ rc = (jboolean)DeleteObject((HGDIOBJ)arg0);
+ Win32_NATIVE_EXIT(env, that, DeleteObject_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_DestroyIcon
+JNIEXPORT jboolean JNICALL Win32_NATIVE(DestroyIcon)
+ (JNIEnv *env, jclass that, jint arg0)
+{
+ jboolean rc = 0;
+ Win32_NATIVE_ENTER(env, that, DestroyIcon_FUNC);
+ rc = (jboolean)DestroyIcon((HICON)arg0);
+ Win32_NATIVE_EXIT(env, that, DestroyIcon_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_EnableWindow
+JNIEXPORT void JNICALL Win32_NATIVE(EnableWindow)
+ (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
+{
+ Win32_NATIVE_ENTER(env, that, EnableWindow_FUNC);
+ EnableWindow((HWND)arg0, arg1);
+ Win32_NATIVE_EXIT(env, that, EnableWindow_FUNC);
+}
+#endif
+
+#ifndef NO_ExtractIconExW
+JNIEXPORT jint JNICALL Win32_NATIVE(ExtractIconExW)
+ (JNIEnv *env, jclass that, jcharArray arg0, jint arg1, jintArray arg2, jintArray arg3, jint arg4)
+{
+ jchar *lparg0=NULL;
+ jint *lparg2=NULL;
+ jint *lparg3=NULL;
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, ExtractIconExW_FUNC);
+ if (arg0) if ((lparg0 = (*env)->GetCharArrayElements(env, arg0, NULL)) == NULL) goto fail;
+ if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
+ if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
+ rc = (jint)ExtractIconExW((LPCWSTR)lparg0, arg1, (HICON*)lparg2, (HICON*)lparg3, (UINT)arg4);
+fail:
+ if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
+ if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
+ if (arg0 && lparg0) (*env)->ReleaseCharArrayElements(env, arg0, lparg0, 0);
+ Win32_NATIVE_EXIT(env, that, ExtractIconExW_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_GetCursorPos
+JNIEXPORT void JNICALL Win32_NATIVE(GetCursorPos)
+ (JNIEnv *env, jclass that, jobject arg0)
+{
+ POINT _arg0, *lparg0=NULL;
+ Win32_NATIVE_ENTER(env, that, GetCursorPos_FUNC);
+ if (arg0) if ((lparg0 = getPOINTFields(env, arg0, &_arg0)) == NULL) goto fail;
+ GetCursorPos((LPPOINT)lparg0);
+fail:
+ if (arg0 && lparg0) setPOINTFields(env, arg0, lparg0);
+ Win32_NATIVE_EXIT(env, that, GetCursorPos_FUNC);
+}
+#endif
+
+#ifndef NO_GetIconInfo
+JNIEXPORT jboolean JNICALL Win32_NATIVE(GetIconInfo)
+ (JNIEnv *env, jclass that, jint arg0, jobject arg1)
+{
+ ICONINFO _arg1, *lparg1=NULL;
+ jboolean rc = 0;
+ Win32_NATIVE_ENTER(env, that, GetIconInfo_FUNC);
+ if (arg1) if ((lparg1 = getICONINFOFields(env, arg1, &_arg1)) == NULL) goto fail;
+ rc = (jboolean)GetIconInfo((HICON)arg0, lparg1);
+fail:
+ if (arg1 && lparg1) setICONINFOFields(env, arg1, lparg1);
+ Win32_NATIVE_EXIT(env, that, GetIconInfo_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_GetKeyboardState
+JNIEXPORT jboolean JNICALL Win32_NATIVE(GetKeyboardState)
+ (JNIEnv *env, jclass that, jbyteArray arg0)
+{
+ jbyte *lparg0=NULL;
+ jboolean rc = 0;
+ Win32_NATIVE_ENTER(env, that, GetKeyboardState_FUNC);
+ if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
+ rc = (jboolean)GetKeyboardState((PBYTE)lparg0);
+fail:
+ if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
+ Win32_NATIVE_EXIT(env, that, GetKeyboardState_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_GetModuleHandleW
+JNIEXPORT jint JNICALL Win32_NATIVE(GetModuleHandleW)
+ (JNIEnv *env, jclass that, jcharArray arg0)
+{
+ jchar *lparg0=NULL;
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, GetModuleHandleW_FUNC);
+ if (arg0) if ((lparg0 = (*env)->GetCharArrayElements(env, arg0, NULL)) == NULL) goto fail;
+ rc = (jint)GetModuleHandleW((LPCWSTR)lparg0);
+fail:
+ if (arg0 && lparg0) (*env)->ReleaseCharArrayElements(env, arg0, lparg0, 0);
+ Win32_NATIVE_EXIT(env, that, GetModuleHandleW_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_GetProcessHeap
+JNIEXPORT jint JNICALL Win32_NATIVE(GetProcessHeap)
+ (JNIEnv *env, jclass that)
+{
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, GetProcessHeap_FUNC);
+ rc = (jint)GetProcessHeap();
+ Win32_NATIVE_EXIT(env, that, GetProcessHeap_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_HeapAlloc
+JNIEXPORT jint JNICALL Win32_NATIVE(HeapAlloc)
+ (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
+{
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, HeapAlloc_FUNC);
+ rc = (jint)HeapAlloc((HANDLE)arg0, arg1, arg2);
+ Win32_NATIVE_EXIT(env, that, HeapAlloc_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_HeapFree
+JNIEXPORT jboolean JNICALL Win32_NATIVE(HeapFree)
+ (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
+{
+ jboolean rc = 0;
+ Win32_NATIVE_ENTER(env, that, HeapFree_FUNC);
+ rc = (jboolean)HeapFree((HANDLE)arg0, arg1, (LPVOID)arg2);
+ Win32_NATIVE_EXIT(env, that, HeapFree_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_LoadImage
+JNIEXPORT jint JNICALL Win32_NATIVE(LoadImage)
+ (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5)
+{
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, LoadImage_FUNC);
+ rc = (jint)LoadImage((HINSTANCE)arg0, (LPCTSTR)arg1, (UINT)arg2, arg3, arg4, (UINT)arg5);
+ Win32_NATIVE_EXIT(env, that, LoadImage_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_MapVirtualKeyW
+JNIEXPORT jint JNICALL Win32_NATIVE(MapVirtualKeyW)
+ (JNIEnv *env, jclass that, jint arg0, jint arg1)
+{
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, MapVirtualKeyW_FUNC);
+ rc = (jint)MapVirtualKeyW(arg0, arg1);
+ Win32_NATIVE_EXIT(env, that, MapVirtualKeyW_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_MoveMemory
+JNIEXPORT void JNICALL Win32_NATIVE(MoveMemory)
+ (JNIEnv *env, jclass that, jint arg0, jcharArray arg1, jint arg2)
+{
+ jchar *lparg1=NULL;
+ Win32_NATIVE_ENTER(env, that, MoveMemory_FUNC);
+#ifdef JNI_VERSION_1_2
+ if (IS_JNI_1_2) {
+ if (arg1) if ((lparg1 = (*env)->GetPrimitiveArrayCritical(env, arg1, NULL)) == NULL) goto fail;
+ } else
+#endif
+ {
+ if (arg1) if ((lparg1 = (*env)->GetCharArrayElements(env, arg1, NULL)) == NULL) goto fail;
+ }
+ MoveMemory((PVOID)arg0, (CONST VOID *)lparg1, arg2);
+fail:
+#ifdef JNI_VERSION_1_2
+ if (IS_JNI_1_2) {
+ if (arg1 && lparg1) (*env)->ReleasePrimitiveArrayCritical(env, arg1, lparg1, JNI_ABORT);
+ } else
+#endif
+ {
+ if (arg1 && lparg1) (*env)->ReleaseCharArrayElements(env, arg1, lparg1, JNI_ABORT);
+ }
+ Win32_NATIVE_EXIT(env, that, MoveMemory_FUNC);
+}
+#endif
+
+#ifndef NO_OleInitialize
+JNIEXPORT jint JNICALL Win32_NATIVE(OleInitialize)
+ (JNIEnv *env, jclass that, jint arg0)
+{
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, OleInitialize_FUNC);
+ rc = (jint)OleInitialize((LPVOID)arg0);
+ Win32_NATIVE_EXIT(env, that, OleInitialize_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_OleUninitialize
+JNIEXPORT void JNICALL Win32_NATIVE(OleUninitialize)
+ (JNIEnv *env, jclass that)
+{
+ Win32_NATIVE_ENTER(env, that, OleUninitialize_FUNC);
+ OleUninitialize();
+ Win32_NATIVE_EXIT(env, that, OleUninitialize_FUNC);
+}
+#endif
+
+#ifndef NO_PROCESS_1INFORMATION_1sizeof
+JNIEXPORT jint JNICALL Win32_NATIVE(PROCESS_1INFORMATION_1sizeof)
+ (JNIEnv *env, jclass that)
+{
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, PROCESS_1INFORMATION_1sizeof_FUNC);
+ rc = (jint)PROCESS_INFORMATION_sizeof();
+ Win32_NATIVE_EXIT(env, that, PROCESS_1INFORMATION_1sizeof_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_SHELLEXECUTEINFOW_1sizeof
+JNIEXPORT jint JNICALL Win32_NATIVE(SHELLEXECUTEINFOW_1sizeof)
+ (JNIEnv *env, jclass that)
+{
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, SHELLEXECUTEINFOW_1sizeof_FUNC);
+ rc = (jint)SHELLEXECUTEINFOW_sizeof();
+ Win32_NATIVE_EXIT(env, that, SHELLEXECUTEINFOW_1sizeof_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_STARTUPINFOW_1sizeof
+JNIEXPORT jint JNICALL Win32_NATIVE(STARTUPINFOW_1sizeof)
+ (JNIEnv *env, jclass that)
+{
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, STARTUPINFOW_1sizeof_FUNC);
+ rc = (jint)STARTUPINFOW_sizeof();
+ Win32_NATIVE_EXIT(env, that, STARTUPINFOW_1sizeof_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_SetCursorPos
+JNIEXPORT jint JNICALL Win32_NATIVE(SetCursorPos)
+ (JNIEnv *env, jclass that, jint arg0, jint arg1)
+{
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, SetCursorPos_FUNC);
+ rc = (jint)SetCursorPos(arg0, arg1);
+ Win32_NATIVE_EXIT(env, that, SetCursorPos_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_ShellExecuteExW
+JNIEXPORT jboolean JNICALL Win32_NATIVE(ShellExecuteExW)
+ (JNIEnv *env, jclass that, jobject arg0)
+{
+ SHELLEXECUTEINFOW _arg0, *lparg0=NULL;
+ jboolean rc = 0;
+ Win32_NATIVE_ENTER(env, that, ShellExecuteExW_FUNC);
+ if (arg0) if ((lparg0 = getSHELLEXECUTEINFOWFields(env, arg0, &_arg0)) == NULL) goto fail;
+ rc = (jboolean)ShellExecuteExW((LPSHELLEXECUTEINFOW)lparg0);
+fail:
+ if (arg0 && lparg0) setSHELLEXECUTEINFOWFields(env, arg0, lparg0);
+ Win32_NATIVE_EXIT(env, that, ShellExecuteExW_FUNC);
+ return rc;
+}
+#endif
+
+#ifndef NO_ToUnicode
+JNIEXPORT jint JNICALL Win32_NATIVE(ToUnicode)
+ (JNIEnv *env, jclass that, jint arg0, jint arg1, jbyteArray arg2, jcharArray arg3, jint arg4, jint arg5)
+{
+ jbyte *lparg2=NULL;
+ jchar *lparg3=NULL;
+ jint rc = 0;
+ Win32_NATIVE_ENTER(env, that, ToUnicode_FUNC);
+ if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail;
+ if (arg3) if ((lparg3 = (*env)->GetCharArrayElements(env, arg3, NULL)) == NULL) goto fail;
+ rc = (jint)ToUnicode(arg0, arg1, (PBYTE)lparg2, (LPWSTR)lparg3, arg4, arg5);
+fail:
+ if (arg3 && lparg3) (*env)->ReleaseCharArrayElements(env, arg3, lparg3, 0);
+ if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0);
+ Win32_NATIVE_EXIT(env, that, ToUnicode_FUNC);
+ return rc;
+}
+#endif
+
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com.h b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.h
index 498a91812f..1d6f24b935 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/com.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.h
@@ -9,6 +9,14 @@
* IBM Corporation - initial API and implementation
*******************************************************************************/
+#ifndef INC_win32_H
+#define INC_win32_H
+
+
#include "swt.h"
#include <ole2.h>
#include <objbase.h>
+#include <string.h>
+#include <windows.h>
+
+#endif /* INC_win32_H */ \ No newline at end of file
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_stats.c
new file mode 100644
index 0000000000..ba24afe2d4
--- /dev/null
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_stats.c
@@ -0,0 +1,68 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+#include "swt.h"
+#include "win32_stats.h"
+
+#ifdef NATIVE_STATS
+
+int Win32_nativeFunctionCount = 26;
+int Win32_nativeFunctionCallCount[26];
+char * Win32_nativeFunctionNames[] = {
+ "CloseHandle",
+ "CreateCursor",
+ "CreateIconIndirect",
+ "CreateProcessW",
+ "DeleteObject",
+ "DestroyIcon",
+ "EnableWindow",
+ "ExtractIconExW",
+ "GetCursorPos",
+ "GetIconInfo",
+ "GetKeyboardState",
+ "GetModuleHandleW",
+ "GetProcessHeap",
+ "HeapAlloc",
+ "HeapFree",
+ "LoadImage",
+ "MapVirtualKeyW",
+ "MoveMemory",
+ "OleInitialize",
+ "OleUninitialize",
+ "PROCESS_1INFORMATION_1sizeof",
+ "SHELLEXECUTEINFOW_1sizeof",
+ "STARTUPINFOW_1sizeof",
+ "SetCursorPos",
+ "ShellExecuteExW",
+ "ToUnicode",
+};
+
+#define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func
+
+JNIEXPORT jint JNICALL STATS_NATIVE(Win32_1GetFunctionCount)
+ (JNIEnv *env, jclass that)
+{
+ return Win32_nativeFunctionCount;
+}
+
+JNIEXPORT jstring JNICALL STATS_NATIVE(Win32_1GetFunctionName)
+ (JNIEnv *env, jclass that, jint index)
+{
+ return (*env)->NewStringUTF(env, Win32_nativeFunctionNames[index]);
+}
+
+JNIEXPORT jint JNICALL STATS_NATIVE(Win32_1GetFunctionCallCount)
+ (JNIEnv *env, jclass that, jint index)
+{
+ return Win32_nativeFunctionCallCount[index];
+}
+
+#endif
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_stats.h
new file mode 100644
index 0000000000..e9e481dec7
--- /dev/null
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_stats.h
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+#ifdef NATIVE_STATS
+extern int Win32_nativeFunctionCount;
+extern int Win32_nativeFunctionCallCount[];
+extern char* Win32_nativeFunctionNames[];
+#define Win32_NATIVE_ENTER(env, that, func) Win32_nativeFunctionCallCount[func]++;
+#define Win32_NATIVE_EXIT(env, that, func)
+#else
+#ifndef Win32_NATIVE_ENTER
+#define Win32_NATIVE_ENTER(env, that, func)
+#endif
+#ifndef Win32_NATIVE_EXIT
+#define Win32_NATIVE_EXIT(env, that, func)
+#endif
+#endif
+
+typedef enum {
+ CloseHandle_FUNC,
+ CreateCursor_FUNC,
+ CreateIconIndirect_FUNC,
+ CreateProcessW_FUNC,
+ DeleteObject_FUNC,
+ DestroyIcon_FUNC,
+ EnableWindow_FUNC,
+ ExtractIconExW_FUNC,
+ GetCursorPos_FUNC,
+ GetIconInfo_FUNC,
+ GetKeyboardState_FUNC,
+ GetModuleHandleW_FUNC,
+ GetProcessHeap_FUNC,
+ HeapAlloc_FUNC,
+ HeapFree_FUNC,
+ LoadImage_FUNC,
+ MapVirtualKeyW_FUNC,
+ MoveMemory_FUNC,
+ OleInitialize_FUNC,
+ OleUninitialize_FUNC,
+ PROCESS_1INFORMATION_1sizeof_FUNC,
+ SHELLEXECUTEINFOW_1sizeof_FUNC,
+ STARTUPINFOW_1sizeof_FUNC,
+ SetCursorPos_FUNC,
+ ShellExecuteExW_FUNC,
+ ToUnicode_FUNC,
+} Win32_FUNCS;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_structs.c b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_structs.c
new file mode 100644
index 0000000000..271c70aa5e
--- /dev/null
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_structs.c
@@ -0,0 +1,286 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+#include "swt.h"
+#include "win32_structs.h"
+
+#ifndef NO_ICONINFO
+typedef struct ICONINFO_FID_CACHE {
+ int cached;
+ jclass clazz;
+ jfieldID fIcon, xHotspot, yHotspot, hbmMask, hbmColor;
+} ICONINFO_FID_CACHE;
+
+ICONINFO_FID_CACHE ICONINFOFc;
+
+void cacheICONINFOFields(JNIEnv *env, jobject lpObject)
+{
+ if (ICONINFOFc.cached) return;
+ ICONINFOFc.clazz = (*env)->GetObjectClass(env, lpObject);
+ ICONINFOFc.fIcon = (*env)->GetFieldID(env, ICONINFOFc.clazz, "fIcon", "Z");
+ ICONINFOFc.xHotspot = (*env)->GetFieldID(env, ICONINFOFc.clazz, "xHotspot", "I");
+ ICONINFOFc.yHotspot = (*env)->GetFieldID(env, ICONINFOFc.clazz, "yHotspot", "I");
+ ICONINFOFc.hbmMask = (*env)->GetFieldID(env, ICONINFOFc.clazz, "hbmMask", "I");
+ ICONINFOFc.hbmColor = (*env)->GetFieldID(env, ICONINFOFc.clazz, "hbmColor", "I");
+ ICONINFOFc.cached = 1;
+}
+
+ICONINFO *getICONINFOFields(JNIEnv *env, jobject lpObject, ICONINFO *lpStruct)
+{
+ if (!ICONINFOFc.cached) cacheICONINFOFields(env, lpObject);
+ lpStruct->fIcon = (*env)->GetBooleanField(env, lpObject, ICONINFOFc.fIcon);
+ lpStruct->xHotspot = (*env)->GetIntField(env, lpObject, ICONINFOFc.xHotspot);
+ lpStruct->yHotspot = (*env)->GetIntField(env, lpObject, ICONINFOFc.yHotspot);
+ lpStruct->hbmMask = (HBITMAP)(*env)->GetIntField(env, lpObject, ICONINFOFc.hbmMask);
+ lpStruct->hbmColor = (HBITMAP)(*env)->GetIntField(env, lpObject, ICONINFOFc.hbmColor);
+ return lpStruct;
+}
+
+void setICONINFOFields(JNIEnv *env, jobject lpObject, ICONINFO *lpStruct)
+{
+ if (!ICONINFOFc.cached) cacheICONINFOFields(env, lpObject);
+ (*env)->SetBooleanField(env, lpObject, ICONINFOFc.fIcon, (jboolean)lpStruct->fIcon);
+ (*env)->SetIntField(env, lpObject, ICONINFOFc.xHotspot, (jint)lpStruct->xHotspot);
+ (*env)->SetIntField(env, lpObject, ICONINFOFc.yHotspot, (jint)lpStruct->yHotspot);
+ (*env)->SetIntField(env, lpObject, ICONINFOFc.hbmMask, (jint)lpStruct->hbmMask);
+ (*env)->SetIntField(env, lpObject, ICONINFOFc.hbmColor, (jint)lpStruct->hbmColor);
+}
+#endif
+
+#ifndef NO_POINT
+typedef struct POINT_FID_CACHE {
+ int cached;
+ jclass clazz;
+ jfieldID x, y;
+} POINT_FID_CACHE;
+
+POINT_FID_CACHE POINTFc;
+
+void cachePOINTFields(JNIEnv *env, jobject lpObject)
+{
+ if (POINTFc.cached) return;
+ POINTFc.clazz = (*env)->GetObjectClass(env, lpObject);
+ POINTFc.x = (*env)->GetFieldID(env, POINTFc.clazz, "x", "I");
+ POINTFc.y = (*env)->GetFieldID(env, POINTFc.clazz, "y", "I");
+ POINTFc.cached = 1;
+}
+
+POINT *getPOINTFields(JNIEnv *env, jobject lpObject, POINT *lpStruct)
+{
+ if (!POINTFc.cached) cachePOINTFields(env, lpObject);
+ lpStruct->x = (*env)->GetIntField(env, lpObject, POINTFc.x);
+ lpStruct->y = (*env)->GetIntField(env, lpObject, POINTFc.y);
+ return lpStruct;
+}
+
+void setPOINTFields(JNIEnv *env, jobject lpObject, POINT *lpStruct)
+{
+ if (!POINTFc.cached) cachePOINTFields(env, lpObject);
+ (*env)->SetIntField(env, lpObject, POINTFc.x, (jint)lpStruct->x);
+ (*env)->SetIntField(env, lpObject, POINTFc.y, (jint)lpStruct->y);
+}
+#endif
+
+#ifndef NO_PROCESS_INFORMATION
+typedef struct PROCESS_INFORMATION_FID_CACHE {
+ int cached;
+ jclass clazz;
+ jfieldID hProcess, hThread, dwProcessId, dwThreadId;
+} PROCESS_INFORMATION_FID_CACHE;
+
+PROCESS_INFORMATION_FID_CACHE PROCESS_INFORMATIONFc;
+
+void cachePROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject)
+{
+ if (PROCESS_INFORMATIONFc.cached) return;
+ PROCESS_INFORMATIONFc.clazz = (*env)->GetObjectClass(env, lpObject);
+ PROCESS_INFORMATIONFc.hProcess = (*env)->GetFieldID(env, PROCESS_INFORMATIONFc.clazz, "hProcess", "I");
+ PROCESS_INFORMATIONFc.hThread = (*env)->GetFieldID(env, PROCESS_INFORMATIONFc.clazz, "hThread", "I");
+ PROCESS_INFORMATIONFc.dwProcessId = (*env)->GetFieldID(env, PROCESS_INFORMATIONFc.clazz, "dwProcessId", "I");
+ PROCESS_INFORMATIONFc.dwThreadId = (*env)->GetFieldID(env, PROCESS_INFORMATIONFc.clazz, "dwThreadId", "I");
+ PROCESS_INFORMATIONFc.cached = 1;
+}
+
+PROCESS_INFORMATION *getPROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject, PROCESS_INFORMATION *lpStruct)
+{
+ if (!PROCESS_INFORMATIONFc.cached) cachePROCESS_INFORMATIONFields(env, lpObject);
+ lpStruct->hProcess = (HANDLE)(*env)->GetIntField(env, lpObject, PROCESS_INFORMATIONFc.hProcess);
+ lpStruct->hThread = (HANDLE)(*env)->GetIntField(env, lpObject, PROCESS_INFORMATIONFc.hThread);
+ lpStruct->dwProcessId = (*env)->GetIntField(env, lpObject, PROCESS_INFORMATIONFc.dwProcessId);
+ lpStruct->dwThreadId = (*env)->GetIntField(env, lpObject, PROCESS_INFORMATIONFc.dwThreadId);
+ return lpStruct;
+}
+
+void setPROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject, PROCESS_INFORMATION *lpStruct)
+{
+ if (!PROCESS_INFORMATIONFc.cached) cachePROCESS_INFORMATIONFields(env, lpObject);
+ (*env)->SetIntField(env, lpObject, PROCESS_INFORMATIONFc.hProcess, (jint)lpStruct->hProcess);
+ (*env)->SetIntField(env, lpObject, PROCESS_INFORMATIONFc.hThread, (jint)lpStruct->hThread);
+ (*env)->SetIntField(env, lpObject, PROCESS_INFORMATIONFc.dwProcessId, (jint)lpStruct->dwProcessId);
+ (*env)->SetIntField(env, lpObject, PROCESS_INFORMATIONFc.dwThreadId, (jint)lpStruct->dwThreadId);
+}
+#endif
+
+#ifndef NO_SHELLEXECUTEINFOW
+typedef struct SHELLEXECUTEINFOW_FID_CACHE {
+ int cached;
+ jclass clazz;
+ jfieldID cbSize, fMask, hwnd, lpVerb, lpFile, lpParameters, lpDirectory, nShow, hInstApp, lpIDList, lpClass, hkeyClass, dwHotKey, hIcon, hProcess;
+} SHELLEXECUTEINFOW_FID_CACHE;
+
+SHELLEXECUTEINFOW_FID_CACHE SHELLEXECUTEINFOWFc;
+
+void cacheSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject)
+{
+ if (SHELLEXECUTEINFOWFc.cached) return;
+ SHELLEXECUTEINFOWFc.clazz = (*env)->GetObjectClass(env, lpObject);
+ SHELLEXECUTEINFOWFc.cbSize = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "cbSize", "I");
+ SHELLEXECUTEINFOWFc.fMask = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "fMask", "I");
+ SHELLEXECUTEINFOWFc.hwnd = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "hwnd", "I");
+ SHELLEXECUTEINFOWFc.lpVerb = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "lpVerb", "I");
+ SHELLEXECUTEINFOWFc.lpFile = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "lpFile", "I");
+ SHELLEXECUTEINFOWFc.lpParameters = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "lpParameters", "I");
+ SHELLEXECUTEINFOWFc.lpDirectory = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "lpDirectory", "I");
+ SHELLEXECUTEINFOWFc.nShow = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "nShow", "I");
+ SHELLEXECUTEINFOWFc.hInstApp = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "hInstApp", "I");
+ SHELLEXECUTEINFOWFc.lpIDList = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "lpIDList", "I");
+ SHELLEXECUTEINFOWFc.lpClass = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "lpClass", "I");
+ SHELLEXECUTEINFOWFc.hkeyClass = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "hkeyClass", "I");
+ SHELLEXECUTEINFOWFc.dwHotKey = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "dwHotKey", "I");
+ SHELLEXECUTEINFOWFc.hIcon = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "hIcon", "I");
+ SHELLEXECUTEINFOWFc.hProcess = (*env)->GetFieldID(env, SHELLEXECUTEINFOWFc.clazz, "hProcess", "I");
+ SHELLEXECUTEINFOWFc.cached = 1;
+}
+
+SHELLEXECUTEINFOW *getSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject, SHELLEXECUTEINFOW *lpStruct)
+{
+ if (!SHELLEXECUTEINFOWFc.cached) cacheSHELLEXECUTEINFOWFields(env, lpObject);
+ lpStruct->cbSize = (*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.cbSize);
+ lpStruct->fMask = (*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.fMask);
+ lpStruct->hwnd = (HWND)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.hwnd);
+ lpStruct->lpVerb = (LPWSTR)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpVerb);
+ lpStruct->lpFile = (LPWSTR)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpFile);
+ lpStruct->lpParameters = (LPWSTR)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpParameters);
+ lpStruct->lpDirectory = (LPWSTR)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpDirectory);
+ lpStruct->nShow = (*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.nShow);
+ lpStruct->hInstApp = (HINSTANCE)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.hInstApp);
+ lpStruct->lpIDList = (LPVOID)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpIDList);
+ lpStruct->lpClass = (LPWSTR)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpClass);
+ lpStruct->hkeyClass = (HKEY)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.hkeyClass);
+ lpStruct->dwHotKey = (*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.dwHotKey);
+ lpStruct->hIcon = (HANDLE)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.hIcon);
+ lpStruct->hProcess = (HANDLE)(*env)->GetIntField(env, lpObject, SHELLEXECUTEINFOWFc.hProcess);
+ return lpStruct;
+}
+
+void setSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject, SHELLEXECUTEINFOW *lpStruct)
+{
+ if (!SHELLEXECUTEINFOWFc.cached) cacheSHELLEXECUTEINFOWFields(env, lpObject);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.cbSize, (jint)lpStruct->cbSize);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.fMask, (jint)lpStruct->fMask);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.hwnd, (jint)lpStruct->hwnd);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpVerb, (jint)lpStruct->lpVerb);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpFile, (jint)lpStruct->lpFile);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpParameters, (jint)lpStruct->lpParameters);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpDirectory, (jint)lpStruct->lpDirectory);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.nShow, (jint)lpStruct->nShow);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.hInstApp, (jint)lpStruct->hInstApp);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpIDList, (jint)lpStruct->lpIDList);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.lpClass, (jint)lpStruct->lpClass);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.hkeyClass, (jint)lpStruct->hkeyClass);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.dwHotKey, (jint)lpStruct->dwHotKey);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.hIcon, (jint)lpStruct->hIcon);
+ (*env)->SetIntField(env, lpObject, SHELLEXECUTEINFOWFc.hProcess, (jint)lpStruct->hProcess);
+}
+#endif
+
+#ifndef NO_STARTUPINFOW
+typedef struct STARTUPINFOW_FID_CACHE {
+ int cached;
+ jclass clazz;
+ jfieldID cb, lpReserved, lpDesktop, lpTitle, dwX, dwY, dwXSize, dwYSize, dwXCountChars, dwYCountChars, dwFillAttribute, dwFlags, wShowWindow, cbReserved2, lpReserved2, hStdInput, hStdOutput, hStdError;
+} STARTUPINFOW_FID_CACHE;
+
+STARTUPINFOW_FID_CACHE STARTUPINFOWFc;
+
+void cacheSTARTUPINFOWFields(JNIEnv *env, jobject lpObject)
+{
+ if (STARTUPINFOWFc.cached) return;
+ STARTUPINFOWFc.clazz = (*env)->GetObjectClass(env, lpObject);
+ STARTUPINFOWFc.cb = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "cb", "I");
+ STARTUPINFOWFc.lpReserved = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "lpReserved", "I");
+ STARTUPINFOWFc.lpDesktop = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "lpDesktop", "I");
+ STARTUPINFOWFc.lpTitle = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "lpTitle", "I");
+ STARTUPINFOWFc.dwX = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "dwX", "I");
+ STARTUPINFOWFc.dwY = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "dwY", "I");
+ STARTUPINFOWFc.dwXSize = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "dwXSize", "I");
+ STARTUPINFOWFc.dwYSize = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "dwYSize", "I");
+ STARTUPINFOWFc.dwXCountChars = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "dwXCountChars", "I");
+ STARTUPINFOWFc.dwYCountChars = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "dwYCountChars", "I");
+ STARTUPINFOWFc.dwFillAttribute = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "dwFillAttribute", "I");
+ STARTUPINFOWFc.dwFlags = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "dwFlags", "I");
+ STARTUPINFOWFc.wShowWindow = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "wShowWindow", "S");
+ STARTUPINFOWFc.cbReserved2 = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "cbReserved2", "S");
+ STARTUPINFOWFc.lpReserved2 = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "lpReserved2", "I");
+ STARTUPINFOWFc.hStdInput = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "hStdInput", "I");
+ STARTUPINFOWFc.hStdOutput = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "hStdOutput", "I");
+ STARTUPINFOWFc.hStdError = (*env)->GetFieldID(env, STARTUPINFOWFc.clazz, "hStdError", "I");
+ STARTUPINFOWFc.cached = 1;
+}
+
+STARTUPINFOW *getSTARTUPINFOWFields(JNIEnv *env, jobject lpObject, STARTUPINFOW *lpStruct)
+{
+ if (!STARTUPINFOWFc.cached) cacheSTARTUPINFOWFields(env, lpObject);
+ lpStruct->cb = (*env)->GetIntField(env, lpObject, STARTUPINFOWFc.cb);
+ lpStruct->lpReserved = (LPWSTR)(*env)->GetIntField(env, lpObject, STARTUPINFOWFc.lpReserved);
+ lpStruct->lpDesktop = (LPWSTR)(*env)->GetIntField(env, lpObject, STARTUPINFOWFc.lpDesktop);
+ lpStruct->lpTitle = (LPWSTR)(*env)->GetIntField(env, lpObject, STARTUPINFOWFc.lpTitle);
+ lpStruct->dwX = (*env)->GetIntField(env, lpObject, STARTUPINFOWFc.dwX);
+ lpStruct->dwY = (*env)->GetIntField(env, lpObject, STARTUPINFOWFc.dwY);
+ lpStruct->dwXSize = (*env)->GetIntField(env, lpObject, STARTUPINFOWFc.dwXSize);
+ lpStruct->dwYSize = (*env)->GetIntField(env, lpObject, STARTUPINFOWFc.dwYSize);
+ lpStruct->dwXCountChars = (*env)->GetIntField(env, lpObject, STARTUPINFOWFc.dwXCountChars);
+ lpStruct->dwYCountChars = (*env)->GetIntField(env, lpObject, STARTUPINFOWFc.dwYCountChars);
+ lpStruct->dwFillAttribute = (*env)->GetIntField(env, lpObject, STARTUPINFOWFc.dwFillAttribute);
+ lpStruct->dwFlags = (*env)->GetIntField(env, lpObject, STARTUPINFOWFc.dwFlags);
+ lpStruct->wShowWindow = (*env)->GetShortField(env, lpObject, STARTUPINFOWFc.wShowWindow);
+ lpStruct->cbReserved2 = (*env)->GetShortField(env, lpObject, STARTUPINFOWFc.cbReserved2);
+ lpStruct->lpReserved2 = (LPBYTE)(*env)->GetIntField(env, lpObject, STARTUPINFOWFc.lpReserved2);
+ lpStruct->hStdInput = (HANDLE)(*env)->GetIntField(env, lpObject, STARTUPINFOWFc.hStdInput);
+ lpStruct->hStdOutput = (HANDLE)(*env)->GetIntField(env, lpObject, STARTUPINFOWFc.hStdOutput);
+ lpStruct->hStdError = (HANDLE)(*env)->GetIntField(env, lpObject, STARTUPINFOWFc.hStdError);
+ return lpStruct;
+}
+
+void setSTARTUPINFOWFields(JNIEnv *env, jobject lpObject, STARTUPINFOW *lpStruct)
+{
+ if (!STARTUPINFOWFc.cached) cacheSTARTUPINFOWFields(env, lpObject);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.cb, (jint)lpStruct->cb);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.lpReserved, (jint)lpStruct->lpReserved);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.lpDesktop, (jint)lpStruct->lpDesktop);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.lpTitle, (jint)lpStruct->lpTitle);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.dwX, (jint)lpStruct->dwX);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.dwY, (jint)lpStruct->dwY);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.dwXSize, (jint)lpStruct->dwXSize);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.dwYSize, (jint)lpStruct->dwYSize);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.dwXCountChars, (jint)lpStruct->dwXCountChars);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.dwYCountChars, (jint)lpStruct->dwYCountChars);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.dwFillAttribute, (jint)lpStruct->dwFillAttribute);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.dwFlags, (jint)lpStruct->dwFlags);
+ (*env)->SetShortField(env, lpObject, STARTUPINFOWFc.wShowWindow, (jshort)lpStruct->wShowWindow);
+ (*env)->SetShortField(env, lpObject, STARTUPINFOWFc.cbReserved2, (jshort)lpStruct->cbReserved2);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.lpReserved2, (jint)lpStruct->lpReserved2);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.hStdInput, (jint)lpStruct->hStdInput);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.hStdOutput, (jint)lpStruct->hStdOutput);
+ (*env)->SetIntField(env, lpObject, STARTUPINFOWFc.hStdError, (jint)lpStruct->hStdError);
+}
+#endif
+
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_structs.h
new file mode 100644
index 0000000000..5864bb5300
--- /dev/null
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_structs.h
@@ -0,0 +1,73 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+#include "win32.h"
+
+#ifndef NO_ICONINFO
+void cacheICONINFOFields(JNIEnv *env, jobject lpObject);
+ICONINFO *getICONINFOFields(JNIEnv *env, jobject lpObject, ICONINFO *lpStruct);
+void setICONINFOFields(JNIEnv *env, jobject lpObject, ICONINFO *lpStruct);
+#define ICONINFO_sizeof() sizeof(ICONINFO)
+#else
+#define cacheICONINFOFields(a,b)
+#define getICONINFOFields(a,b,c) NULL
+#define setICONINFOFields(a,b,c)
+#define ICONINFO_sizeof() 0
+#endif
+
+#ifndef NO_POINT
+void cachePOINTFields(JNIEnv *env, jobject lpObject);
+POINT *getPOINTFields(JNIEnv *env, jobject lpObject, POINT *lpStruct);
+void setPOINTFields(JNIEnv *env, jobject lpObject, POINT *lpStruct);
+#define POINT_sizeof() sizeof(POINT)
+#else
+#define cachePOINTFields(a,b)
+#define getPOINTFields(a,b,c) NULL
+#define setPOINTFields(a,b,c)
+#define POINT_sizeof() 0
+#endif
+
+#ifndef NO_PROCESS_INFORMATION
+void cachePROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject);
+PROCESS_INFORMATION *getPROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject, PROCESS_INFORMATION *lpStruct);
+void setPROCESS_INFORMATIONFields(JNIEnv *env, jobject lpObject, PROCESS_INFORMATION *lpStruct);
+#define PROCESS_INFORMATION_sizeof() sizeof(PROCESS_INFORMATION)
+#else
+#define cachePROCESS_INFORMATIONFields(a,b)
+#define getPROCESS_INFORMATIONFields(a,b,c) NULL
+#define setPROCESS_INFORMATIONFields(a,b,c)
+#define PROCESS_INFORMATION_sizeof() 0
+#endif
+
+#ifndef NO_SHELLEXECUTEINFOW
+void cacheSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject);
+SHELLEXECUTEINFOW *getSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject, SHELLEXECUTEINFOW *lpStruct);
+void setSHELLEXECUTEINFOWFields(JNIEnv *env, jobject lpObject, SHELLEXECUTEINFOW *lpStruct);
+#define SHELLEXECUTEINFOW_sizeof() sizeof(SHELLEXECUTEINFOW)
+#else
+#define cacheSHELLEXECUTEINFOWFields(a,b)
+#define getSHELLEXECUTEINFOWFields(a,b,c) NULL
+#define setSHELLEXECUTEINFOWFields(a,b,c)
+#define SHELLEXECUTEINFOW_sizeof() 0
+#endif
+
+#ifndef NO_STARTUPINFOW
+void cacheSTARTUPINFOWFields(JNIEnv *env, jobject lpObject);
+STARTUPINFOW *getSTARTUPINFOWFields(JNIEnv *env, jobject lpObject, STARTUPINFOW *lpStruct);
+void setSTARTUPINFOWFields(JNIEnv *env, jobject lpObject, STARTUPINFOW *lpStruct);
+#define STARTUPINFOW_sizeof() sizeof(STARTUPINFOW)
+#else
+#define cacheSTARTUPINFOWFields(a,b)
+#define getSTARTUPINFOWFields(a,b,c) NULL
+#define setSTARTUPINFOWFields(a,b,c)
+#define STARTUPINFOW_sizeof() 0
+#endif
+
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/ICONINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/ICONINFO.java
index 28fc59980b..b5e2b24fb0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/ICONINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/ICONINFO.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
-package org.eclipse.swt.internal.wpf;
+package org.eclipse.swt.internal.win32;
public class ICONINFO {
public boolean fIcon;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/POINT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/POINT.java
index a9b55cee10..3f07037586 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/POINT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/POINT.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
-package org.eclipse.swt.internal.wpf;
+package org.eclipse.swt.internal.win32;
public class POINT {
public int x;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/PROCESS_INFORMATION.java b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/PROCESS_INFORMATION.java
index a95910c808..e7afbcddb5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/PROCESS_INFORMATION.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/PROCESS_INFORMATION.java
@@ -8,12 +8,12 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
-package org.eclipse.swt.internal.wpf;
+package org.eclipse.swt.internal.win32;
public class PROCESS_INFORMATION {
public int /*long*/ hProcess;
public int /*long*/ hThread;
public int dwProcessId;
public int dwThreadId;
- public static int sizeof = OS.PROCESS_INFORMATION_sizeof ();
+ public static int sizeof = Win32.PROCESS_INFORMATION_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/SHELLEXECUTEINFOW.java b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFOW.java
index 9c26b2c367..0fdf629c93 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/SHELLEXECUTEINFOW.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFOW.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
-package org.eclipse.swt.internal.wpf;
+package org.eclipse.swt.internal.win32;
public class SHELLEXECUTEINFOW {
public int cbSize;
@@ -31,6 +31,6 @@ public class SHELLEXECUTEINFOW {
// };
public int /*long*/ hIcon;
public int /*long*/ hProcess;
- public static final int sizeof = OS.SHELLEXECUTEINFOW_sizeof ();
+ public static final int sizeof = Win32.SHELLEXECUTEINFOW_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/STARTUPINFOW.java b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/STARTUPINFOW.java
index 0886702cff..21b4e8c779 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/STARTUPINFOW.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/STARTUPINFOW.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
-package org.eclipse.swt.internal.wpf;
+package org.eclipse.swt.internal.win32;
public class STARTUPINFOW {
public int cb;
@@ -29,5 +29,5 @@ public class STARTUPINFOW {
public int /*long*/ hStdInput;
public int /*long*/ hStdOutput;
public int /*long*/ hStdError;
- public static int sizeof = OS.STARTUPINFOW_sizeof ();
+ public static int sizeof = Win32.STARTUPINFOW_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/Win32.java b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/Win32.java
new file mode 100644
index 0000000000..4102f5fe62
--- /dev/null
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/org/eclipse/swt/internal/win32/Win32.java
@@ -0,0 +1,71 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.swt.internal.win32;
+
+
+import org.eclipse.swt.internal.*;
+
+public class Win32 extends C {
+ static {
+ Library.loadLibrary ("swt-win32"); //$NON-NLS-1$
+ }
+
+ /** GDI+ constants */
+ public static final int PixelFormat_Format24bppRgb = 137224;
+ public static final int PixelFormat_Format32bppRgb = 139273;
+ public static final int PixelFormat_Format32bppArgb = 2498570;
+ public static final int PixelFormat_Format16bppRgb555 = 135173;
+ public static final int PixelFormat_Format16bppRgb565 = 135174;
+ public static final int PixelFormat_Format16bppArgb1555 = 397319;
+
+ public static final int OIC_BANG = 0x7F03;
+ public static final int OIC_HAND = 0x7F01;
+ public static final int OIC_INFORMATION = 0x7F04;
+ public static final int OIC_QUES = 0x7F02;
+ public static final int OIC_WINLOGO = 0x7F05;
+ public static final int IMAGE_ICON = 0x1;
+ public static final int LR_SHARED = 0x8000;
+
+ public static int HEAP_ZERO_MEMORY = 0x8;
+ public static int SW_SHOW = 0x5;
+
+/** OLE Natives */
+public static final native int OleInitialize(int reserved);
+public static final native void OleUninitialize();
+
+/** Win32 Natives */
+public static final native boolean CloseHandle(int hObject);
+public static final native int CreateCursor (int hInst, int xHotSpot, int yHotSpot, int nWidth, int nHeight, byte [] pvANDPlane, byte [] pvXORPlane);
+public static final native boolean CreateProcessW(int lpApplicationName, char [] lpCommandLine, int lpProcessAttributes, int lpThreadAttributes, boolean bInheritHandles, int dwCreationFlags, int lpEnvironment, int lpCurrentDirectory, STARTUPINFOW lpStartupInfo, PROCESS_INFORMATION lpProcessInformation);
+public static final native int CreateIconIndirect (ICONINFO lplf);
+public static final native boolean DeleteObject (int hGdiObj);
+public static final native boolean DestroyIcon (int hIcon);
+public static final native void EnableWindow(int window, boolean enabled);
+public static final native int ExtractIconExW(char[] lpszFile, int nIconIndex, int [] phiconLarge, int [] phiconSmall, int nIcons);
+public static final native void GetCursorPos (POINT point);
+public static final native boolean GetIconInfo (int hIcon, ICONINFO piconinfo);
+public static final native boolean GetKeyboardState (byte [] lpKeyState);
+public static final native int GetProcessHeap();
+public static final native int GetModuleHandleW (char [] lpModuleName);
+public static final native int HeapAlloc (int hHeap, int dwFlags, int dwBytes);
+public static final native boolean HeapFree (int hHeap, int dwFlags, int lpMem);
+public static final native int LoadImage (int hinst, int lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
+public static final native int MapVirtualKeyW (int uCode, int uMapType);
+public static final native void MoveMemory (int Destination, char [] Source, int Length);
+public static final native int PROCESS_INFORMATION_sizeof();
+public static final native int SetCursorPos (int x, int y);
+public static final native boolean ShellExecuteExW(SHELLEXECUTEINFOW lpExecInfo);
+public static final native int SHELLEXECUTEINFOW_sizeof();
+public static final native int STARTUPINFOW_sizeof();
+public static final native int ToUnicode(int wVirtKey, int wScanCode, byte [] lpKeyState, char [] pwszBuff, int cchBuff, int wFlags);
+
+
+}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/wpf/org/eclipse/swt/program/Program.java b/bundles/org.eclipse.swt/Eclipse SWT Program/wpf/org/eclipse/swt/program/Program.java
index 1e0190ee3a..a3cf30ee5f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Program/wpf/org/eclipse/swt/program/Program.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Program/wpf/org/eclipse/swt/program/Program.java
@@ -11,6 +11,7 @@
package org.eclipse.swt.program;
import org.eclipse.swt.internal.wpf.*;
+import org.eclipse.swt.internal.win32.*;
import org.eclipse.swt.*;
import org.eclipse.swt.graphics.*;
@@ -234,19 +235,19 @@ public static Program [] getPrograms () {
*/
public static boolean launch (String fileName) {
if (fileName == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- int hHeap = OS.GetProcessHeap ();
+ int hHeap = Win32.GetProcessHeap ();
int length = fileName.length ();
char [] buffer = new char [length + 1];
fileName.getChars (0, length, buffer, 0);
int byteCount = buffer.length * 2;
- int lpFile = OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, byteCount);
- OS.MoveMemory (lpFile, buffer, byteCount);
+ int lpFile = Win32.HeapAlloc (hHeap, Win32.HEAP_ZERO_MEMORY, byteCount);
+ Win32.MoveMemory (lpFile, buffer, byteCount);
SHELLEXECUTEINFOW info = new SHELLEXECUTEINFOW ();
info.cbSize = SHELLEXECUTEINFOW.sizeof;
info.lpFile = lpFile;
- info.nShow = OS.SW_SHOW;
- boolean result = OS.ShellExecuteExW (info);
- if (lpFile != 0) OS.HeapFree (hHeap, 0, lpFile);
+ info.nShow = Win32.SW_SHOW;
+ boolean result = Win32.ShellExecuteExW (info);
+ if (lpFile != 0) Win32.HeapFree (hHeap, 0, lpFile);
return result;
}
@@ -286,9 +287,9 @@ public boolean execute (String fileName) {
STARTUPINFOW lpStartupInfo = new STARTUPINFOW ();
lpStartupInfo.cb = STARTUPINFOW.sizeof;
PROCESS_INFORMATION lpProcessInformation = new PROCESS_INFORMATION ();
- boolean success = OS.CreateProcessW (0, buffer, 0, 0, false, 0, 0, 0, lpStartupInfo, lpProcessInformation);
- if (lpProcessInformation.hProcess != 0) OS.CloseHandle (lpProcessInformation.hProcess);
- if (lpProcessInformation.hThread != 0) OS.CloseHandle (lpProcessInformation.hThread);
+ boolean success = Win32.CreateProcessW (0, buffer, 0, 0, false, 0, 0, 0, lpStartupInfo, lpProcessInformation);
+ if (lpProcessInformation.hProcess != 0) Win32.CloseHandle (lpProcessInformation.hProcess);
+ if (lpProcessInformation.hThread != 0) Win32.CloseHandle (lpProcessInformation.hThread);
return success;
}
@@ -314,7 +315,7 @@ public ImageData getImageData () {
char [] buffer = new char [length + 1];
fileName.getChars (0, length, buffer, 0);
int [] phiconSmall = new int [1], phiconLarge = null;
- OS.ExtractIconExW (buffer, nIconIndex, phiconLarge, phiconSmall, 1);
+ Win32.ExtractIconExW (buffer, nIconIndex, phiconLarge, phiconSmall, 1);
if (phiconSmall [0] == 0) return null;
int empty = OS.Int32Rect_Empty ();
int source = OS.Imaging_CreateBitmapSourceFromHIcon (phiconSmall [0], empty, 0);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Cursor.java b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Cursor.java
index 55fe007b28..44b0082149 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Cursor.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Cursor.java
@@ -12,6 +12,8 @@ package org.eclipse.swt.graphics;
import org.eclipse.swt.internal.wpf.*;
+import org.eclipse.swt.internal.win32.*;
+
import org.eclipse.swt.*;
/**
@@ -194,8 +196,8 @@ public Cursor(Device device, ImageData source, ImageData mask, int hotspotX, int
byte[] maskData = ImageData.convertPad(mask.data, mask.width, mask.height, mask.depth, mask.scanlinePad, 2);
/* Create the cursor */
- int hInst = OS.GetModuleHandleW(null);
- int cursor = OS.CreateCursor(hInst, hotspotX, hotspotY, source.width, source.height, sourceData, maskData);
+ int hInst = Win32.GetModuleHandleW(null);
+ int cursor = Win32.CreateCursor(hInst, hotspotX, hotspotY, source.width, source.height, sourceData, maskData);
if (cursor == 0) SWT.error(SWT.ERROR_NO_HANDLES);
int safeHandle = OS.gcnew_SWTSafeHandle(cursor, false);
if (safeHandle == 0) SWT.error(SWT.ERROR_NO_HANDLES);
@@ -256,7 +258,7 @@ public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) {
int pixelFormat = 0;
boolean transparent = source.maskData != null || source.transparentPixel != -1 || source.alpha != -1 || source.alphaData != null;
if (transparent) {
- pixelFormat = OS.PixelFormat_Format32bppArgb;
+ pixelFormat = Win32.PixelFormat_Format32bppArgb;
if (!(palette.isDirect && source.depth == 32 && redMask == 0xFF00 && greenMask == 0xFF0000 && blueMask == 0xFF000000)) {
newData = new ImageData(width, height, 32, new PaletteData(0xFF00, 0xFF0000, 0xFF000000));
}
@@ -266,32 +268,32 @@ public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) {
case 2:
case 4:
case 8:
- pixelFormat = OS.PixelFormat_Format24bppRgb;
+ pixelFormat = Win32.PixelFormat_Format24bppRgb;
newData = new ImageData(source.width, source.height, 24, new PaletteData(0xFF, 0xFF00, 0xFF0000));
break;
case 16:
if (redMask == 0x7C00 && greenMask == 0x3E0 && blueMask == 0x1F) {
- pixelFormat = OS.PixelFormat_Format16bppRgb555;
+ pixelFormat = Win32.PixelFormat_Format16bppRgb555;
} else if (redMask == 0xF800 && greenMask == 0x7E0 && blueMask == 0x1F) {
- pixelFormat = OS.PixelFormat_Format16bppRgb565;
+ pixelFormat = Win32.PixelFormat_Format16bppRgb565;
} else {
- pixelFormat = OS.PixelFormat_Format16bppRgb555;
+ pixelFormat = Win32.PixelFormat_Format16bppRgb555;
newData = new ImageData(source.width, source.height, 16, new PaletteData(0x7C00, 0x3E0, 0x1F));
}
break;
case 24:
if (redMask == 0xFF && greenMask == 0xFF00 && blueMask == 0xFF0000) {
- pixelFormat = OS.PixelFormat_Format24bppRgb;
+ pixelFormat = Win32.PixelFormat_Format24bppRgb;
} else {
- pixelFormat = OS.PixelFormat_Format24bppRgb;
+ pixelFormat = Win32.PixelFormat_Format24bppRgb;
newData = new ImageData(source.width, source.height, 24, new PaletteData(0xFF, 0xFF00, 0xFF0000));
}
break;
case 32:
if (redMask == 0xFF00 && greenMask == 0xFF0000 && blueMask == 0xFF000000) {
- pixelFormat = OS.PixelFormat_Format32bppRgb;
+ pixelFormat = Win32.PixelFormat_Format32bppRgb;
} else {
- pixelFormat = OS.PixelFormat_Format32bppRgb;
+ pixelFormat = Win32.PixelFormat_Format32bppRgb;
newData = new ImageData(source.width, source.height, 32, new PaletteData(0xFF00, 0xFF0000, 0xFF000000));
}
break;
@@ -363,14 +365,14 @@ public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) {
int hIcon = OS.Bitmap_GetHicon(bitmap);
if (hIcon == 0) SWT.error(SWT.ERROR_NO_HANDLES);
ICONINFO info = new ICONINFO();
- OS.GetIconInfo(hIcon, info);
+ Win32.GetIconInfo(hIcon, info);
info.fIcon = false;
info.xHotspot = hotspotX;
info.yHotspot = hotspotY;
- OS.DestroyIcon(hIcon);
- hIcon = OS.CreateIconIndirect(info);
- if (info.hbmColor != 0) OS.DeleteObject(info.hbmColor);
- if (info.hbmMask != 0)OS.DeleteObject(info.hbmMask);
+ Win32.DestroyIcon(hIcon);
+ hIcon = Win32.CreateIconIndirect(info);
+ if (info.hbmColor != 0) Win32.DeleteObject(info.hbmColor);
+ if (info.hbmMask != 0)Win32.DeleteObject(info.hbmMask);
if (hIcon == 0) SWT.error(SWT.ERROR_NO_HANDLES);
/* Create the cursor */
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Device.java
index b361dea014..3e1661bf8f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Device.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Device.java
@@ -23,8 +23,9 @@ public abstract class Device implements Drawable {
/* Debugging */
public static boolean DEBUG;
+ public static boolean TRACK;
boolean debug = DEBUG;
- boolean tracking = DEBUG;
+ boolean tracking = DEBUG || TRACK;
Error [] errors;
Object [] objects;
@@ -100,6 +101,7 @@ public Device(DeviceData data) {
debug = data.debug;
tracking = data.tracking;
}
+ tracking = true;
create (data);
init ();
if (tracking) {
@@ -536,8 +538,19 @@ public boolean isDisposed () {
* @since 3.3
*/
public boolean loadFont (String path) {
- //TODO
- return false;
+ checkDevice();
+ if (path == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
+ int length = path.length ();
+ char[] buffer = new char [length + 1];
+ path.getChars (0, length, buffer, 0);
+ int str = OS.gcnew_String(buffer);
+ int uri = OS.gcnew_Uri(str, OS.UriKind_RelativeOrAbsolute);
+ int list = OS.Fonts_GetTypefaces(uri);
+ int count = OS.TypefaceCollection_Count(list);
+ OS.GCHandle_Free(list);
+ OS.GCHandle_Free(uri);
+ OS.GCHandle_Free(str);
+ return count != 0;
}
void new_Object (Object object) {
@@ -588,6 +601,19 @@ protected void release () {
colors = null;
if (systemFont != null) systemFont.dispose();
systemFont = null;
+ if (objects != null) {
+ for (int i = 0; i < objects.length; i++) {
+ if (objects[i] != null) ((Resource)objects[i]).dispose();
+ }
+ }
+ if (TRACK & objects != null) {
+ for (int i = 0; i < objects.length; i++) {
+ if (objects[i] != null) {
+ System.err.println(objects[i]);
+ errors[i].printStackTrace();
+ }
+ }
+ }
}
/**
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Display.java
index 93f1ff2327..1cdeca18d6 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Display.java
@@ -11,6 +11,7 @@
package org.eclipse.swt.widgets;
import org.eclipse.swt.internal.wpf.*;
+import org.eclipse.swt.internal.win32.*;
import org.eclipse.swt.*;
import org.eclipse.swt.graphics.*;
@@ -672,7 +673,7 @@ protected void create (DeviceData data) {
}
void createDisplay (DeviceData data) {
- COM.OleInitialize (0);
+ Win32.OleInitialize (0);
application = OS.gcnew_Application();
if (application == 0) SWT.error(SWT.ERROR_NO_HANDLES);
OS.Application_ShutdownMode (application, OS.ShutdownMode_OnExplicitShutdown);
@@ -1038,7 +1039,7 @@ public Control getCursorControl () {
public Point getCursorLocation () {
checkDevice ();
POINT pt = new POINT ();
- OS.GetCursorPos (pt);
+ Win32.GetCursorPos (pt);
return new Point (pt.x, pt.y);
}
@@ -1513,43 +1514,43 @@ public Image getSystemImage (int id) {
switch (id) {
case SWT.ICON_ERROR: {
if (errorImage != null) return errorImage;
- int hIcon = OS.LoadImage (0, OS.OIC_HAND, OS.IMAGE_ICON, 0, 0, OS.LR_SHARED);
+ int hIcon = Win32.LoadImage (0, Win32.OIC_HAND, Win32.IMAGE_ICON, 0, 0, Win32.LR_SHARED);
int empty = OS.Int32Rect_Empty ();
int source = OS.Imaging_CreateBitmapSourceFromHIcon (hIcon, empty, 0);
errorImage = Image.wpf_new (this, SWT.BITMAP, source);
OS.GCHandle_Free (empty);
- OS.DestroyIcon (hIcon);
+ Win32.DestroyIcon (hIcon);
return errorImage;
}
case SWT.ICON_WORKING:
case SWT.ICON_INFORMATION: {
if (infoImage != null) return infoImage;
- int hIcon = OS.LoadImage (0, OS.OIC_INFORMATION, OS.IMAGE_ICON, 0, 0, OS.LR_SHARED);
+ int hIcon = Win32.LoadImage (0, Win32.OIC_INFORMATION, Win32.IMAGE_ICON, 0, 0, Win32.LR_SHARED);
int empty = OS.Int32Rect_Empty ();
int source = OS.Imaging_CreateBitmapSourceFromHIcon (hIcon, empty, 0);
infoImage = Image.wpf_new (this, SWT.BITMAP, source);
OS.GCHandle_Free (empty);
- OS.DestroyIcon (hIcon);
+ Win32.DestroyIcon (hIcon);
return infoImage;
}
case SWT.ICON_QUESTION: {
if (questionImage != null) return questionImage;
- int hIcon = OS.LoadImage (0, OS.OIC_QUES, OS.IMAGE_ICON, 0, 0, OS.LR_SHARED);
+ int hIcon = Win32.LoadImage (0, Win32.OIC_QUES, Win32.IMAGE_ICON, 0, 0, Win32.LR_SHARED);
int empty = OS.Int32Rect_Empty ();
int source = OS.Imaging_CreateBitmapSourceFromHIcon (hIcon, empty, 0);
questionImage = Image.wpf_new (this, SWT.BITMAP, source);
OS.GCHandle_Free (empty);
- OS.DestroyIcon (hIcon);
+ Win32.DestroyIcon (hIcon);
return questionImage;
}
case SWT.ICON_WARNING: {
if (warningIcon != null) return warningIcon;
- int hIcon = OS.LoadImage (0, OS.OIC_BANG, OS.IMAGE_ICON, 0, 0, OS.LR_SHARED);
+ int hIcon = Win32.LoadImage (0, Win32.OIC_BANG, Win32.IMAGE_ICON, 0, 0, Win32.LR_SHARED);
int empty = OS.Int32Rect_Empty ();
int source = OS.Imaging_CreateBitmapSourceFromHIcon (hIcon, empty, 0);
warningIcon = Image.wpf_new (this, SWT.BITMAP, source);
OS.GCHandle_Free (empty);
- OS.DestroyIcon (hIcon);
+ Win32.DestroyIcon (hIcon);
return warningIcon;
}
}
@@ -2308,7 +2309,7 @@ void releaseDisplay () {
shells = null;
/* Uninitialize OLE */
- COM.OleUninitialize ();
+ Win32.OleUninitialize ();
}
/**
@@ -2549,7 +2550,7 @@ void sendEvent (int eventType, Event event) {
*/
public void setCursorLocation (int x, int y) {
checkDevice ();
- OS.SetCursorPos (x, y);
+ Win32.SetCursorPos (x, y);
}
/**
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Shell.java
index fd42a77b2e..ed90bdaa89 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Shell.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Shell.java
@@ -12,6 +12,7 @@ package org.eclipse.swt.widgets;
import org.eclipse.swt.internal.wpf.*;
+import org.eclipse.swt.internal.win32.*;
import org.eclipse.swt.*;
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.events.*;
@@ -1318,7 +1319,7 @@ void updateModal () {
int source = OS.PresentationSource_FromVisual (handle);
if (source != 0) {
int hwnd = OS.HwndSource_Handle (source);
- OS.EnableWindow (OS.IntPtr_ToInt32 (hwnd), isActive ());
+ Win32.EnableWindow (OS.IntPtr_ToInt32 (hwnd), isActive ());
OS.GCHandle_Free (hwnd);
OS.GCHandle_Free (source);
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/TrayItem.java b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/TrayItem.java
index 1673f32ee7..230e32a870 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/TrayItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/TrayItem.java
@@ -15,6 +15,7 @@ import org.eclipse.swt.*;
import org.eclipse.swt.events.*;
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.internal.wpf.*;
+import org.eclipse.swt.internal.win32.*;
/**
* Instances of this class represent icons that can be placed on the
@@ -350,7 +351,7 @@ public void setImage (Image image) {
OS.BitmapSource_CopyPixels (newImage, rect, buffer, buffer.length, bytesPerLine);
OS.GCHandle_Free (rect);
OS.GCHandle_Free (newImage);
- int bitmap = OS.gcnew_Bitmap (width, height, bytesPerLine, OS.PixelFormat_Format32bppArgb, buffer);
+ int bitmap = OS.gcnew_Bitmap (width, height, bytesPerLine, Win32.PixelFormat_Format32bppArgb, buffer);//TODO
int hIcon = OS.Bitmap_GetHicon (bitmap);
OS.GCHandle_Free (bitmap);
int icon = OS.Icon_FromHandle (hIcon);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Widget.java b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Widget.java
index 9fe00b23f6..2014eeb05b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Widget.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Widget.java
@@ -13,6 +13,7 @@ package org.eclipse.swt.widgets;
import org.eclipse.swt.internal.*;
import org.eclipse.swt.internal.wpf.*;
+import org.eclipse.swt.internal.win32.*;
import org.eclipse.swt.*;
import org.eclipse.swt.events.*;
@@ -1360,15 +1361,15 @@ boolean setKeyState (Event event, int type, int e) {
}
boolean textual = false;
int vKey = OS.KeyInterop_VirtualKeyFromKey (key);
- int mapKey = OS.MapVirtualKeyW (vKey, 2);
+ int mapKey = Win32.MapVirtualKeyW (vKey, 2);
if ((mapKey & 0x80000000) != 0) {
display.deadChar = true;
return false;
}
char [] result = new char [1];
byte [] keyboard = new byte [256];
- OS.GetKeyboardState (keyboard);
- textual = OS.ToUnicode (vKey, 0, keyboard, result, 1, 0) == 1;
+ Win32.GetKeyboardState (keyboard);
+ textual = Win32.ToUnicode (vKey, 0, keyboard, result, 1, 0) == 1;
if (textual && type == SWT.KeyDown) {
if (display.deadChar) display.lastChar = result [0];
//TODO problem: in german, dead key + non-combing key