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
ac593bbd
Commit
ac593bbd
authored
Mar 17, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 17, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some warnings. removed some unneccessary includes, removed one
direct WND* access in controls/menu.c.
parent
eb6a9f08
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
17 deletions
+9
-17
menu.c
controls/menu.c
+4
-6
dataobject.c
dlls/shell32/dataobject.c
+2
-2
shlfolder.c
dlls/shell32/shlfolder.c
+1
-1
text.c
graphics/metafiledrv/text.c
+1
-6
winioctl.h
include/winioctl.h
+1
-1
kernel32.c
win32/kernel32.c
+0
-1
No files found.
controls/menu.c
View file @
ac593bbd
...
...
@@ -561,13 +561,11 @@ static MENUITEM *MENU_FindItemByCoords( POPUPMENU *menu,
POINT
pt
,
UINT
*
pos
)
{
MENUITEM
*
item
;
WND
*
wndPtr
;
UINT
i
;
RECT
wrect
;
if
(
!
(
wndPtr
=
WIN_FindWndPtr
(
menu
->
hWnd
)))
return
NULL
;
pt
.
x
-=
wndPtr
->
rectWindow
.
left
;
pt
.
y
-=
wndPtr
->
rectWindow
.
top
;
WIN_ReleaseWndPtr
(
wndPtr
);
if
(
!
GetWindowRect
(
menu
->
hWnd
,
&
wrect
))
return
NULL
;
pt
.
x
-=
wrect
.
left
;
pt
.
y
-=
wrect
.
top
;
item
=
menu
->
items
;
for
(
i
=
0
;
i
<
menu
->
nItems
;
i
++
,
item
++
)
{
...
...
@@ -4281,7 +4279,7 @@ BOOL WINAPI GetMenuItemRect (HWND hwnd, HMENU hMenu, UINT uItem,
if
(
itemMenu
==
NULL
)
return
FALSE
;
if
(
itemMenu
->
hWnd
==
NULL
)
if
(
itemMenu
->
hWnd
==
0
)
return
FALSE
;
referenceHwnd
=
itemMenu
->
hWnd
;
}
...
...
dlls/shell32/dataobject.c
View file @
ac593bbd
...
...
@@ -198,7 +198,7 @@ static HRESULT WINAPI IDataObject_fnQueryGetData(LPDATAOBJECT iface, LPFORMATETC
static
HRESULT
WINAPI
IDataObject_fnGetCanonicalFormatEtc
(
LPDATAOBJECT
iface
,
LPFORMATETC
pformatectIn
,
LPFORMATETC
pformatetcOut
);
static
HRESULT
WINAPI
IDataObject_fnSetData
(
LPDATAOBJECT
iface
,
LPFORMATETC
pformatetc
,
STGMEDIUM
*
pmedium
,
BOOL
fRelease
);
static
HRESULT
WINAPI
IDataObject_fnEnumFormatEtc
(
LPDATAOBJECT
iface
,
DWORD
dwDirection
,
IEnumFORMATETC
**
ppenumFormatEtc
);
static
HRESULT
WINAPI
IDataObject_fnDAdvise
(
LPDATAOBJECT
iface
,
LP
FORMATETC
*
pformatetc
,
DWORD
advf
,
IAdviseSink
*
pAdvSink
,
DWORD
*
pdwConnection
);
static
HRESULT
WINAPI
IDataObject_fnDAdvise
(
LPDATAOBJECT
iface
,
FORMATETC
*
pformatetc
,
DWORD
advf
,
IAdviseSink
*
pAdvSink
,
DWORD
*
pdwConnection
);
static
HRESULT
WINAPI
IDataObject_fnDUnadvise
(
LPDATAOBJECT
iface
,
DWORD
dwConnection
);
static
HRESULT
WINAPI
IDataObject_fnEnumDAdvise
(
LPDATAOBJECT
iface
,
IEnumSTATDATA
**
ppenumAdvise
);
...
...
@@ -447,7 +447,7 @@ static HRESULT WINAPI IDataObject_fnEnumFormatEtc(LPDATAOBJECT iface, DWORD dwDi
FIXME
(
shell
,
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDataObject_fnDAdvise
(
LPDATAOBJECT
iface
,
LP
FORMATETC
*
pformatetc
,
DWORD
advf
,
IAdviseSink
*
pAdvSink
,
DWORD
*
pdwConnection
)
static
HRESULT
WINAPI
IDataObject_fnDAdvise
(
LPDATAOBJECT
iface
,
FORMATETC
*
pformatetc
,
DWORD
advf
,
IAdviseSink
*
pAdvSink
,
DWORD
*
pdwConnection
)
{
ICOM_THIS
(
IDataObjectImpl
,
iface
);
FIXME
(
shell
,
"(%p)->()
\n
"
,
This
);
...
...
dlls/shell32/shlfolder.c
View file @
ac593bbd
...
...
@@ -76,7 +76,7 @@ static HRESULT WINAPI ISFDropTarget_QueryInterface(
}
if
(
*
ppvObj
)
{
IDropTarget_AddRef
((
I
SF
DropTarget
*
)
*
ppvObj
);
{
IDropTarget_AddRef
((
IDropTarget
*
)
*
ppvObj
);
TRACE
(
shell
,
"-- Interface: (%p)->(%p)
\n
"
,
ppvObj
,
*
ppvObj
);
return
S_OK
;
}
...
...
graphics/metafiledrv/text.c
View file @
ac593bbd
...
...
@@ -6,13 +6,8 @@
*/
#include <stdlib.h>
#include "windows.h"
#include "dc.h"
#include "gdi.h"
#include "callback.h"
#include "heap.h"
#include "windef.h"
#include "metafile.h"
#include "metafiledrv.h"
#include "debug.h"
#include "xmalloc.h"
...
...
include/winioctl.h
View file @
ac593bbd
...
...
@@ -207,7 +207,7 @@
#define PARTITION_EXTENDED 0x05
/* Extended partition entry */
#define PARTITION_HUGE 0x06
/* Huge partition MS-DOS V4 */
#define PARTITION_IFS 0x07
/* IFS Partition */
#define PARTITION_FAT 0x0B
/* FAT32 */
#define PARTITION_FAT
32
0x0B
/* FAT32 */
#define PARTITION_FAT32_XINT13 0x0C
/* FAT32 using extended int13 services */
#define PARTITION_XINT13 0x0E
/* Win95 partition using extended int13 services */
#define PARTITION_XINT13_EXTENDED 0x0F
/* Same as type 5 but uses extended int13 services */
...
...
win32/kernel32.c
View file @
ac593bbd
...
...
@@ -22,7 +22,6 @@
#include "heap.h"
#include "selectors.h"
#include "task.h"
#include "win.h"
#include "file.h"
#include "debug.h"
#include "flatthunk.h"
...
...
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