Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
dea3d786
Commit
dea3d786
authored
Jan 02, 2001
by
François Gouget
Committed by
Alexandre Julliard
Jan 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved HDROP to shellapi.h.
parent
504973de
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
shellole.c
dlls/shell32/shellole.c
+1
-0
shellapi.h
include/shellapi.h
+2
-0
windef.h
include/windef.h
+0
-2
event.c
windows/x11drv/event.c
+4
-3
No files found.
dlls/shell32/shellole.c
View file @
dea3d786
...
...
@@ -10,6 +10,7 @@
#include <string.h>
#include "shlobj.h"
#include "shellapi.h"
#include "shlguid.h"
#include "winreg.h"
#include "wine/unicode.h"
...
...
include/shellapi.h
View file @
dea3d786
...
...
@@ -9,6 +9,8 @@ extern "C" {
#include "pshpack1.h"
DECLARE_HANDLE
(
HDROP
);
/******************************************
* DragObject
*/
...
...
include/windef.h
View file @
dea3d786
...
...
@@ -67,7 +67,6 @@ DECLARE_OLD_HANDLE(HBITMAP);
DECLARE_OLD_HANDLE
(
HBRUSH
);
DECLARE_HANDLE
(
HCOLORSPACE
);
DECLARE_OLD_HANDLE
(
HDC
);
DECLARE_OLD_HANDLE
(
HDROP
);
DECLARE_OLD_HANDLE
(
HDRVR
);
DECLARE_OLD_HANDLE
(
HDWP
);
DECLARE_OLD_HANDLE
(
HENHMETAFILE
);
...
...
@@ -87,7 +86,6 @@ DECLARE_OLD_HANDLE(HMIXEROBJ);
DECLARE_OLD_HANDLE
(
HMMIO
);
DECLARE_OLD_HANDLE
(
HPALETTE
);
DECLARE_OLD_HANDLE
(
HPEN
);
DECLARE_OLD_HANDLE
(
HQUEUE
);
DECLARE_OLD_HANDLE
(
HRGN
);
DECLARE_OLD_HANDLE
(
HRSRC
);
DECLARE_OLD_HANDLE
(
HTASK
);
...
...
windows/x11drv/event.c
View file @
dea3d786
...
...
@@ -41,6 +41,7 @@
#include "file.h"
#include "windef.h"
#include "x11drv.h"
#include "shellapi.h"
DEFAULT_DEBUG_CHANNEL
(
event
);
DECLARE_DEBUG_CHANNEL
(
win
);
...
...
@@ -1628,7 +1629,7 @@ static void EVENT_DropFromOffiX( HWND hWnd, XClientMessageEvent *event )
p
+=
strlen
(
p
)
+
1
;
}
*
p_drop
=
'\0'
;
PostMessageA
(
hWnd
,
WM_DROPFILES
,
hDrop
,
0L
);
PostMessageA
(
hWnd
,
WM_DROPFILES
,
(
WPARAM
)
hDrop
,
0L
);
}
}
}
...
...
@@ -1708,7 +1709,7 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event )
pDropWnd
=
WIN_FindWndPtr
(
hWnd
);
drop_len
+=
sizeof
(
DROPFILES
)
+
1
;
hDrop
=
(
HDROP
)
GlobalAlloc
(
GMEM_SHARE
,
drop_len
);
hDrop
=
GlobalAlloc
(
GMEM_SHARE
,
drop_len
);
lpDrop
=
(
DROPFILES
*
)
GlobalLock
(
hDrop
);
if
(
lpDrop
)
{
...
...
@@ -1752,7 +1753,7 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event )
}
GlobalUnlock
(
hDrop
);
PostMessageA
(
hWnd
,
WM_DROPFILES
,
hDrop
,
0L
);
PostMessageA
(
hWnd
,
WM_DROPFILES
,
(
WPARAM
)
hDrop
,
0L
);
}
WIN_ReleaseWndPtr
(
pDropWnd
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment