Fix file drop string marshalling
This commit is contained in:
parent
526fbddd29
commit
89ed072d77
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue