diff --git a/src/OpenTK/Platform/Windows/API.cs b/src/OpenTK/Platform/Windows/API.cs index 23d4ba28..d218106c 100644 --- a/src/OpenTK/Platform/Windows/API.cs +++ b/src/OpenTK/Platform/Windows/API.cs @@ -128,13 +128,13 @@ namespace OpenTK.Platform.Windows internal static class Functions { - [DllImport("shell32.dll")] + [DllImport("shell32.dll", CharSet = CharSet.Auto)] internal static extern bool DragAcceptFiles( IntPtr handle, [MarshalAs(UnmanagedType.Bool)] bool fAccept ); - [DllImport("shell32.dll")] + [DllImport("shell32.dll", CharSet = CharSet.Auto)] internal static extern uint DragQueryFile( HDROP hDrop, uint iFile,