mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 11:05:40 +00:00
Merge pull request #562 from leezer3/FileDropString
Fix file drop string marshalling
This commit is contained in:
commit
4d2b5722ee
|
@ -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