Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f8ee161a
Commit
f8ee161a
authored
Sep 12, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some traces to use the right printf format and avoid typecasts.
parent
f8cb48b5
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
94 additions
and
98 deletions
+94
-98
device.c
dlls/dinput/device.c
+2
-2
dinput_main.c
dlls/dinput/dinput_main.c
+4
-4
joystick_linux.c
dlls/dinput/joystick_linux.c
+5
-5
joystick_linuxinput.c
dlls/dinput/joystick_linuxinput.c
+5
-5
keyboard.c
dlls/dinput/keyboard.c
+5
-5
mouse.c
dlls/dinput/mouse.c
+6
-6
buffer.c
dlls/dsound/buffer.c
+2
-2
duplex.c
dlls/dsound/duplex.c
+4
-4
ds3d.c
dlls/dsound/tests/ds3d.c
+8
-8
ds3d8.c
dlls/dsound/tests/ds3d8.c
+6
-8
dsound.c
dlls/dsound/tests/dsound.c
+4
-5
dsound8.c
dlls/dsound/tests/dsound8.c
+5
-5
printdrv.c
dlls/gdi/printdrv.c
+1
-1
imm.c
dlls/imm32/imm.c
+1
-1
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+12
-12
change.c
dlls/kernel/change.c
+1
-1
except.c
dlls/kernel/except.c
+2
-2
msrle32.c
dlls/msrle32/msrle32.c
+1
-2
cdrom.c
dlls/ntdll/cdrom.c
+3
-3
ole2.c
dlls/ole32/ole2.c
+2
-2
cursoricon.c
dlls/user/cursoricon.c
+2
-2
clipboard.c
dlls/x11drv/clipboard.c
+7
-7
xim.c
dlls/x11drv/xim.c
+6
-6
No files found.
dlls/dinput/device.c
View file @
f8ee161a
...
@@ -464,7 +464,7 @@ HRESULT WINAPI IDirectInputDevice2AImpl_SetCooperativeLevel(
...
@@ -464,7 +464,7 @@ HRESULT WINAPI IDirectInputDevice2AImpl_SetCooperativeLevel(
LPDIRECTINPUTDEVICE8A
iface
,
HWND
hwnd
,
DWORD
dwflags
LPDIRECTINPUTDEVICE8A
iface
,
HWND
hwnd
,
DWORD
dwflags
)
{
)
{
IDirectInputDevice2AImpl
*
This
=
(
IDirectInputDevice2AImpl
*
)
iface
;
IDirectInputDevice2AImpl
*
This
=
(
IDirectInputDevice2AImpl
*
)
iface
;
TRACE
(
"(this=%p,
0x%08lx,0x%08lx)
\n
"
,
This
,(
DWORD
)
hwnd
,
dwflags
);
TRACE
(
"(this=%p,
%p,0x%08lx)
\n
"
,
This
,
hwnd
,
dwflags
);
if
(
TRACE_ON
(
dinput
))
{
if
(
TRACE_ON
(
dinput
))
{
TRACE
(
" cooperative level : "
);
TRACE
(
" cooperative level : "
);
_dump_cooperativelevel_DI
(
dwflags
);
_dump_cooperativelevel_DI
(
dwflags
);
...
@@ -476,7 +476,7 @@ HRESULT WINAPI IDirectInputDevice2AImpl_SetEventNotification(
...
@@ -476,7 +476,7 @@ HRESULT WINAPI IDirectInputDevice2AImpl_SetEventNotification(
LPDIRECTINPUTDEVICE8A
iface
,
HANDLE
hnd
LPDIRECTINPUTDEVICE8A
iface
,
HANDLE
hnd
)
{
)
{
IDirectInputDevice2AImpl
*
This
=
(
IDirectInputDevice2AImpl
*
)
iface
;
IDirectInputDevice2AImpl
*
This
=
(
IDirectInputDevice2AImpl
*
)
iface
;
FIXME
(
"(this=%p,
0x%08lx): stub
\n
"
,
This
,(
DWORD
)
hnd
);
FIXME
(
"(this=%p,
%p): stub
\n
"
,
This
,
hnd
);
return
DI_OK
;
return
DI_OK
;
}
}
...
...
dlls/dinput/dinput_main.c
View file @
f8ee161a
...
@@ -86,7 +86,7 @@ HRESULT WINAPI DirectInputCreateEx(
...
@@ -86,7 +86,7 @@ HRESULT WINAPI DirectInputCreateEx(
{
{
IDirectInputImpl
*
This
;
IDirectInputImpl
*
This
;
TRACE
(
"(
0x%08lx,%04lx,%s,%p,%p)
\n
"
,
(
DWORD
)
hinst
,
dwVersion
,
debugstr_guid
(
riid
),
ppDI
,
punkOuter
);
TRACE
(
"(
%p,%04lx,%s,%p,%p)
\n
"
,
hinst
,
dwVersion
,
debugstr_guid
(
riid
),
ppDI
,
punkOuter
);
if
(
IsEqualGUID
(
&
IID_IDirectInputA
,
riid
)
||
if
(
IsEqualGUID
(
&
IID_IDirectInputA
,
riid
)
||
IsEqualGUID
(
&
IID_IDirectInput2A
,
riid
)
||
IsEqualGUID
(
&
IID_IDirectInput2A
,
riid
)
||
...
@@ -141,7 +141,7 @@ HRESULT WINAPI DirectInputCreateEx(
...
@@ -141,7 +141,7 @@ HRESULT WINAPI DirectInputCreateEx(
HRESULT
WINAPI
DirectInputCreateA
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
LPDIRECTINPUTA
*
ppDI
,
LPUNKNOWN
punkOuter
)
HRESULT
WINAPI
DirectInputCreateA
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
LPDIRECTINPUTA
*
ppDI
,
LPUNKNOWN
punkOuter
)
{
{
IDirectInputImpl
*
This
;
IDirectInputImpl
*
This
;
TRACE
(
"(
0x%08lx,%04lx,%p,%p)
\n
"
,
(
DWORD
)
hinst
,
dwVersion
,
ppDI
,
punkOuter
);
TRACE
(
"(
%p,%04lx,%p,%p)
\n
"
,
hinst
,
dwVersion
,
ppDI
,
punkOuter
);
This
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
IDirectInputImpl
));
This
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
IDirectInputImpl
));
This
->
lpVtbl
=
&
ddi7avt
;
This
->
lpVtbl
=
&
ddi7avt
;
This
->
ref
=
1
;
This
->
ref
=
1
;
...
@@ -157,7 +157,7 @@ HRESULT WINAPI DirectInputCreateA(HINSTANCE hinst, DWORD dwVersion, LPDIRECTINPU
...
@@ -157,7 +157,7 @@ HRESULT WINAPI DirectInputCreateA(HINSTANCE hinst, DWORD dwVersion, LPDIRECTINPU
HRESULT
WINAPI
DirectInputCreateW
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
LPDIRECTINPUTW
*
ppDI
,
LPUNKNOWN
punkOuter
)
HRESULT
WINAPI
DirectInputCreateW
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
LPDIRECTINPUTW
*
ppDI
,
LPUNKNOWN
punkOuter
)
{
{
IDirectInputImpl
*
This
;
IDirectInputImpl
*
This
;
TRACE
(
"(
0x%08lx,%04lx,%p,%p)
\n
"
,
(
DWORD
)
hinst
,
dwVersion
,
ppDI
,
punkOuter
);
TRACE
(
"(
%p,%04lx,%p,%p)
\n
"
,
hinst
,
dwVersion
,
ppDI
,
punkOuter
);
This
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
IDirectInputImpl
));
This
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
IDirectInputImpl
));
This
->
lpVtbl
=
&
ddi7wvt
;
This
->
lpVtbl
=
&
ddi7wvt
;
This
->
ref
=
1
;
This
->
ref
=
1
;
...
@@ -384,7 +384,7 @@ static HRESULT WINAPI IDirectInputAImpl_RunControlPanel(LPDIRECTINPUT7A iface,
...
@@ -384,7 +384,7 @@ static HRESULT WINAPI IDirectInputAImpl_RunControlPanel(LPDIRECTINPUT7A iface,
HWND
hwndOwner
,
HWND
hwndOwner
,
DWORD
dwFlags
)
{
DWORD
dwFlags
)
{
IDirectInputImpl
*
This
=
(
IDirectInputImpl
*
)
iface
;
IDirectInputImpl
*
This
=
(
IDirectInputImpl
*
)
iface
;
FIXME
(
"(%p)->(%
08lx,%08lx): stub
\n
"
,
This
,
(
DWORD
)
hwndOwner
,
dwFlags
);
FIXME
(
"(%p)->(%
p,%08lx): stub
\n
"
,
This
,
hwndOwner
,
dwFlags
);
return
DI_OK
;
return
DI_OK
;
}
}
...
...
dlls/dinput/joystick_linux.c
View file @
f8ee161a
...
@@ -1131,7 +1131,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(
...
@@ -1131,7 +1131,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(
_dump_DIPROPHEADER
(
ph
);
_dump_DIPROPHEADER
(
ph
);
if
(
!
HIWORD
(
rguid
))
{
if
(
!
HIWORD
(
rguid
))
{
switch
(
(
DWORD
)
rguid
)
{
switch
(
LOWORD
(
rguid
)
)
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
LPCDIPROPDWORD
pd
=
(
LPCDIPROPDWORD
)
ph
;
LPCDIPROPDWORD
pd
=
(
LPCDIPROPDWORD
)
ph
;
TRACE
(
"buffersize = %ld
\n
"
,
pd
->
dwData
);
TRACE
(
"buffersize = %ld
\n
"
,
pd
->
dwData
);
...
@@ -1196,7 +1196,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(
...
@@ -1196,7 +1196,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(
break
;
break
;
}
}
default:
default:
FIXME
(
"Unknown type %
ld (%s)
\n
"
,(
DWORD
)
rguid
,
debugstr_guid
(
rguid
));
FIXME
(
"Unknown type %
p (%s)
\n
"
,
rguid
,
debugstr_guid
(
rguid
));
break
;
break
;
}
}
}
}
...
@@ -1212,7 +1212,7 @@ static HRESULT WINAPI JoystickAImpl_SetEventNotification(
...
@@ -1212,7 +1212,7 @@ static HRESULT WINAPI JoystickAImpl_SetEventNotification(
)
{
)
{
JoystickImpl
*
This
=
(
JoystickImpl
*
)
iface
;
JoystickImpl
*
This
=
(
JoystickImpl
*
)
iface
;
TRACE
(
"(this=%p,
0x%08lx)
\n
"
,
This
,(
DWORD
)
hnd
);
TRACE
(
"(this=%p,
%p)
\n
"
,
This
,
hnd
);
This
->
hEvent
=
hnd
;
This
->
hEvent
=
hnd
;
return
DI_OK
;
return
DI_OK
;
}
}
...
@@ -1427,7 +1427,7 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(
...
@@ -1427,7 +1427,7 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(
_dump_DIPROPHEADER
(
pdiph
);
_dump_DIPROPHEADER
(
pdiph
);
if
(
!
HIWORD
(
rguid
))
{
if
(
!
HIWORD
(
rguid
))
{
switch
(
(
DWORD
)
rguid
)
{
switch
(
LOWORD
(
rguid
)
)
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
LPDIPROPDWORD
pd
=
(
LPDIPROPDWORD
)
pdiph
;
LPDIPROPDWORD
pd
=
(
LPDIPROPDWORD
)
pdiph
;
TRACE
(
" return buffersize = %d
\n
"
,
This
->
queue_len
);
TRACE
(
" return buffersize = %d
\n
"
,
This
->
queue_len
);
...
@@ -1468,7 +1468,7 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(
...
@@ -1468,7 +1468,7 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(
break
;
break
;
}
}
default:
default:
FIXME
(
"Unknown type %
ld (%s)
\n
"
,(
DWORD
)
rguid
,
debugstr_guid
(
rguid
));
FIXME
(
"Unknown type %
p (%s)
\n
"
,
rguid
,
debugstr_guid
(
rguid
));
break
;
break
;
}
}
}
}
...
...
dlls/dinput/joystick_linuxinput.c
View file @
f8ee161a
...
@@ -795,7 +795,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -795,7 +795,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
FIXME
(
"ph.dwSize = %ld, ph.dwHeaderSize =%ld, ph.dwObj = %ld, ph.dwHow= %ld
\n
"
,
ph
->
dwSize
,
ph
->
dwHeaderSize
,
ph
->
dwObj
,
ph
->
dwHow
);
FIXME
(
"ph.dwSize = %ld, ph.dwHeaderSize =%ld, ph.dwObj = %ld, ph.dwHow= %ld
\n
"
,
ph
->
dwSize
,
ph
->
dwHeaderSize
,
ph
->
dwObj
,
ph
->
dwHow
);
if
(
!
HIWORD
(
rguid
))
{
if
(
!
HIWORD
(
rguid
))
{
switch
(
(
DWORD
)
rguid
)
{
switch
(
LOWORD
(
rguid
)
)
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
LPCDIPROPDWORD
pd
=
(
LPCDIPROPDWORD
)
ph
;
LPCDIPROPDWORD
pd
=
(
LPCDIPROPDWORD
)
ph
;
...
@@ -831,7 +831,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -831,7 +831,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
break
;
break
;
}
}
default:
default:
FIXME
(
"Unknown type %
ld (%s)
\n
"
,(
DWORD
)
rguid
,
debugstr_guid
(
rguid
));
FIXME
(
"Unknown type %
p (%s)
\n
"
,
rguid
,
debugstr_guid
(
rguid
));
break
;
break
;
}
}
}
}
...
@@ -847,7 +847,7 @@ static HRESULT WINAPI JoystickAImpl_SetEventNotification(
...
@@ -847,7 +847,7 @@ static HRESULT WINAPI JoystickAImpl_SetEventNotification(
)
{
)
{
JoystickImpl
*
This
=
(
JoystickImpl
*
)
iface
;
JoystickImpl
*
This
=
(
JoystickImpl
*
)
iface
;
TRACE
(
"(this=%p,
0x%08lx)
\n
"
,
This
,(
DWORD
)
hnd
);
TRACE
(
"(this=%p,
%p)
\n
"
,
This
,
hnd
);
This
->
hEvent
=
hnd
;
This
->
hEvent
=
hnd
;
return
DI_OK
;
return
DI_OK
;
}
}
...
@@ -1114,7 +1114,7 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -1114,7 +1114,7 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(LPDIRECTINPUTDEVICE8A iface,
_dump_DIPROPHEADER
(
pdiph
);
_dump_DIPROPHEADER
(
pdiph
);
if
(
!
HIWORD
(
rguid
))
{
if
(
!
HIWORD
(
rguid
))
{
switch
(
(
DWORD
)
rguid
)
{
switch
(
LOWORD
(
rguid
)
)
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
LPDIPROPDWORD
pd
=
(
LPDIPROPDWORD
)
pdiph
;
LPDIPROPDWORD
pd
=
(
LPDIPROPDWORD
)
pdiph
;
...
@@ -1135,7 +1135,7 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -1135,7 +1135,7 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(LPDIRECTINPUTDEVICE8A iface,
}
}
default:
default:
FIXME
(
"Unknown type %
ld (%s)
\n
"
,(
DWORD
)
rguid
,
debugstr_guid
(
rguid
));
FIXME
(
"Unknown type %
p (%s)
\n
"
,
rguid
,
debugstr_guid
(
rguid
));
break
;
break
;
}
}
}
}
...
...
dlls/dinput/keyboard.c
View file @
f8ee161a
...
@@ -342,7 +342,7 @@ static HRESULT WINAPI SysKeyboardAImpl_SetProperty(
...
@@ -342,7 +342,7 @@ static HRESULT WINAPI SysKeyboardAImpl_SetProperty(
TRACE
(
"(size=%ld,headersize=%ld,obj=%ld,how=%ld
\n
"
,
TRACE
(
"(size=%ld,headersize=%ld,obj=%ld,how=%ld
\n
"
,
ph
->
dwSize
,
ph
->
dwHeaderSize
,
ph
->
dwObj
,
ph
->
dwHow
);
ph
->
dwSize
,
ph
->
dwHeaderSize
,
ph
->
dwObj
,
ph
->
dwHow
);
if
(
!
HIWORD
(
rguid
))
{
if
(
!
HIWORD
(
rguid
))
{
switch
(
(
DWORD
)
rguid
)
{
switch
(
LOWORD
(
rguid
)
)
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
LPCDIPROPDWORD
pd
=
(
LPCDIPROPDWORD
)
ph
;
LPCDIPROPDWORD
pd
=
(
LPCDIPROPDWORD
)
ph
;
...
@@ -356,7 +356,7 @@ static HRESULT WINAPI SysKeyboardAImpl_SetProperty(
...
@@ -356,7 +356,7 @@ static HRESULT WINAPI SysKeyboardAImpl_SetProperty(
break
;
break
;
}
}
default:
default:
WARN
(
"Unknown type %
ld
\n
"
,(
DWORD
)
rguid
);
WARN
(
"Unknown type %
p
\n
"
,
rguid
);
break
;
break
;
}
}
}
}
...
@@ -373,7 +373,7 @@ static HRESULT WINAPI SysKeyboardAImpl_GetProperty(
...
@@ -373,7 +373,7 @@ static HRESULT WINAPI SysKeyboardAImpl_GetProperty(
TRACE
(
"(size=%ld,headersize=%ld,obj=%ld,how=%ld
\n
"
,
TRACE
(
"(size=%ld,headersize=%ld,obj=%ld,how=%ld
\n
"
,
ph
->
dwSize
,
ph
->
dwHeaderSize
,
ph
->
dwObj
,
ph
->
dwHow
);
ph
->
dwSize
,
ph
->
dwHeaderSize
,
ph
->
dwObj
,
ph
->
dwHow
);
if
(
!
HIWORD
(
rguid
))
{
if
(
!
HIWORD
(
rguid
))
{
switch
(
(
DWORD
)
rguid
)
{
switch
(
LOWORD
(
rguid
)
)
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
LPDIPROPDWORD
pd
=
(
LPDIPROPDWORD
)
ph
;
LPDIPROPDWORD
pd
=
(
LPDIPROPDWORD
)
ph
;
...
@@ -387,7 +387,7 @@ static HRESULT WINAPI SysKeyboardAImpl_GetProperty(
...
@@ -387,7 +387,7 @@ static HRESULT WINAPI SysKeyboardAImpl_GetProperty(
break
;
break
;
}
}
default:
default:
WARN
(
"Unknown type %
ld
\n
"
,(
DWORD
)
rguid
);
WARN
(
"Unknown type %
p
\n
"
,
rguid
);
break
;
break
;
}
}
}
}
...
@@ -597,7 +597,7 @@ static HRESULT WINAPI SysKeyboardAImpl_SetEventNotification(LPDIRECTINPUTDEVICE8
...
@@ -597,7 +597,7 @@ static HRESULT WINAPI SysKeyboardAImpl_SetEventNotification(LPDIRECTINPUTDEVICE8
HANDLE
hnd
)
{
HANDLE
hnd
)
{
SysKeyboardImpl
*
This
=
(
SysKeyboardImpl
*
)
iface
;
SysKeyboardImpl
*
This
=
(
SysKeyboardImpl
*
)
iface
;
TRACE
(
"(this=%p,
0x%08lx)
\n
"
,
This
,(
DWORD
)
hnd
);
TRACE
(
"(this=%p,
%p)
\n
"
,
This
,
hnd
);
This
->
hEvent
=
hnd
;
This
->
hEvent
=
hnd
;
return
DI_OK
;
return
DI_OK
;
...
...
dlls/dinput/mouse.c
View file @
f8ee161a
...
@@ -361,7 +361,7 @@ static HRESULT WINAPI SysMouseAImpl_SetCooperativeLevel(
...
@@ -361,7 +361,7 @@ static HRESULT WINAPI SysMouseAImpl_SetCooperativeLevel(
{
{
SysMouseImpl
*
This
=
(
SysMouseImpl
*
)
iface
;
SysMouseImpl
*
This
=
(
SysMouseImpl
*
)
iface
;
TRACE
(
"(this=%p,
0x%08lx,0x%08lx)
\n
"
,
This
,(
DWORD
)
hwnd
,
dwflags
);
TRACE
(
"(this=%p,
%p,0x%08lx)
\n
"
,
This
,
hwnd
,
dwflags
);
if
(
TRACE_ON
(
dinput
))
{
if
(
TRACE_ON
(
dinput
))
{
TRACE
(
" cooperative level : "
);
TRACE
(
" cooperative level : "
);
...
@@ -824,7 +824,7 @@ static HRESULT WINAPI SysMouseAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -824,7 +824,7 @@ static HRESULT WINAPI SysMouseAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
TRACE
(
"(this=%p,%s,%p)
\n
"
,
This
,
debugstr_guid
(
rguid
),
ph
);
TRACE
(
"(this=%p,%s,%p)
\n
"
,
This
,
debugstr_guid
(
rguid
),
ph
);
if
(
!
HIWORD
(
rguid
))
{
if
(
!
HIWORD
(
rguid
))
{
switch
(
(
DWORD
)
rguid
)
{
switch
(
LOWORD
(
rguid
)
)
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
LPCDIPROPDWORD
pd
=
(
LPCDIPROPDWORD
)
ph
;
LPCDIPROPDWORD
pd
=
(
LPCDIPROPDWORD
)
ph
;
...
@@ -843,7 +843,7 @@ static HRESULT WINAPI SysMouseAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -843,7 +843,7 @@ static HRESULT WINAPI SysMouseAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
break
;
break
;
}
}
default:
default:
FIXME
(
"Unknown type %
ld (%s)
\n
"
,(
DWORD
)
rguid
,
debugstr_guid
(
rguid
));
FIXME
(
"Unknown type %
p (%s)
\n
"
,
rguid
,
debugstr_guid
(
rguid
));
break
;
break
;
}
}
}
}
...
@@ -867,7 +867,7 @@ static HRESULT WINAPI SysMouseAImpl_GetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -867,7 +867,7 @@ static HRESULT WINAPI SysMouseAImpl_GetProperty(LPDIRECTINPUTDEVICE8A iface,
_dump_DIPROPHEADER
(
pdiph
);
_dump_DIPROPHEADER
(
pdiph
);
if
(
!
HIWORD
(
rguid
))
{
if
(
!
HIWORD
(
rguid
))
{
switch
(
(
DWORD
)
rguid
)
{
switch
(
LOWORD
(
rguid
)
)
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
case
(
DWORD
)
DIPROP_BUFFERSIZE
:
{
LPDIPROPDWORD
pd
=
(
LPDIPROPDWORD
)
pdiph
;
LPDIPROPDWORD
pd
=
(
LPDIPROPDWORD
)
pdiph
;
...
@@ -902,7 +902,7 @@ static HRESULT WINAPI SysMouseAImpl_GetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -902,7 +902,7 @@ static HRESULT WINAPI SysMouseAImpl_GetProperty(LPDIRECTINPUTDEVICE8A iface,
}
}
default:
default:
FIXME
(
"Unknown type %
ld (%s)
\n
"
,(
DWORD
)
rguid
,
debugstr_guid
(
rguid
));
FIXME
(
"Unknown type %
p (%s)
\n
"
,
rguid
,
debugstr_guid
(
rguid
));
break
;
break
;
}
}
}
}
...
@@ -919,7 +919,7 @@ static HRESULT WINAPI SysMouseAImpl_SetEventNotification(LPDIRECTINPUTDEVICE8A i
...
@@ -919,7 +919,7 @@ static HRESULT WINAPI SysMouseAImpl_SetEventNotification(LPDIRECTINPUTDEVICE8A i
HANDLE
hnd
)
{
HANDLE
hnd
)
{
SysMouseImpl
*
This
=
(
SysMouseImpl
*
)
iface
;
SysMouseImpl
*
This
=
(
SysMouseImpl
*
)
iface
;
TRACE
(
"(this=%p,
0x%08lx)
\n
"
,
This
,(
DWORD
)
hnd
);
TRACE
(
"(this=%p,
%p)
\n
"
,
This
,
hnd
);
This
->
hEvent
=
hnd
;
This
->
hEvent
=
hnd
;
...
...
dlls/dsound/buffer.c
View file @
f8ee161a
...
@@ -89,8 +89,8 @@ static HRESULT WINAPI IDirectSoundNotifyImpl_SetNotificationPositions(
...
@@ -89,8 +89,8 @@ static HRESULT WINAPI IDirectSoundNotifyImpl_SetNotificationPositions(
if
(
TRACE_ON
(
dsound
))
{
if
(
TRACE_ON
(
dsound
))
{
unsigned
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
howmuch
;
i
++
)
for
(
i
=
0
;
i
<
howmuch
;
i
++
)
TRACE
(
"notify at %ld to
0x%08lx
\n
"
,
TRACE
(
"notify at %ld to
%p
\n
"
,
notify
[
i
].
dwOffset
,
(
DWORD
)
notify
[
i
].
hEventNotify
);
notify
[
i
].
dwOffset
,
notify
[
i
].
hEventNotify
);
}
}
if
(
This
->
dsb
->
hwnotify
)
{
if
(
This
->
dsb
->
hwnotify
)
{
...
...
dlls/dsound/duplex.c
View file @
f8ee161a
...
@@ -91,9 +91,9 @@ DirectSoundFullDuplexCreate(
...
@@ -91,9 +91,9 @@ DirectSoundFullDuplexCreate(
LPUNKNOWN
pUnkOuter
)
LPUNKNOWN
pUnkOuter
)
{
{
IDirectSoundFullDuplexImpl
**
ippDSFD
=
(
IDirectSoundFullDuplexImpl
**
)
ppDSFD
;
IDirectSoundFullDuplexImpl
**
ippDSFD
=
(
IDirectSoundFullDuplexImpl
**
)
ppDSFD
;
TRACE
(
"(%s,%s,%p,%p,%
lx
,%lx,%p,%p,%p,%p)
\n
"
,
debugstr_guid
(
pcGuidCaptureDevice
),
TRACE
(
"(%s,%s,%p,%p,%
p
,%lx,%p,%p,%p,%p)
\n
"
,
debugstr_guid
(
pcGuidCaptureDevice
),
debugstr_guid
(
pcGuidRenderDevice
),
pcDSCBufferDesc
,
pcDSBufferDesc
,
debugstr_guid
(
pcGuidRenderDevice
),
pcDSCBufferDesc
,
pcDSBufferDesc
,
(
DWORD
)
hWnd
,
dwLevel
,
ppDSFD
,
ppDSCBuffer8
,
ppDSBuffer8
,
pUnkOuter
);
hWnd
,
dwLevel
,
ppDSFD
,
ppDSCBuffer8
,
ppDSBuffer8
,
pUnkOuter
);
if
(
pUnkOuter
)
{
if
(
pUnkOuter
)
{
WARN
(
"pUnkOuter != 0
\n
"
);
WARN
(
"pUnkOuter != 0
\n
"
);
...
@@ -185,8 +185,8 @@ IDirectSoundFullDuplexImpl_Initialize(
...
@@ -185,8 +185,8 @@ IDirectSoundFullDuplexImpl_Initialize(
IDirectSoundCaptureBufferImpl
**
ippdscb
=
(
IDirectSoundCaptureBufferImpl
**
)
lplpDirectSoundCaptureBuffer8
;
IDirectSoundCaptureBufferImpl
**
ippdscb
=
(
IDirectSoundCaptureBufferImpl
**
)
lplpDirectSoundCaptureBuffer8
;
IDirectSoundBufferImpl
**
ippdsc
=
(
IDirectSoundBufferImpl
**
)
lplpDirectSoundBuffer8
;
IDirectSoundBufferImpl
**
ippdsc
=
(
IDirectSoundBufferImpl
**
)
lplpDirectSoundBuffer8
;
FIXME
(
"(%p,%s,%s,%p,%p,%
lx
,%lx,%p,%p) stub!
\n
"
,
This
,
debugstr_guid
(
pCaptureGuid
),
FIXME
(
"(%p,%s,%s,%p,%p,%
p
,%lx,%p,%p) stub!
\n
"
,
This
,
debugstr_guid
(
pCaptureGuid
),
debugstr_guid
(
pRendererGuid
),
lpDscBufferDesc
,
lpDsBufferDesc
,
(
DWORD
)
hWnd
,
dwLevel
,
debugstr_guid
(
pRendererGuid
),
lpDscBufferDesc
,
lpDsBufferDesc
,
hWnd
,
dwLevel
,
ippdscb
,
ippdsc
);
ippdscb
,
ippdsc
);
return
E_FAIL
;
return
E_FAIL
;
...
...
dlls/dsound/tests/ds3d.c
View file @
f8ee161a
...
@@ -452,8 +452,8 @@ void test_buffer(LPDIRECTSOUND dso, LPDIRECTSOUNDBUFFER dsbo,
...
@@ -452,8 +452,8 @@ void test_buffer(LPDIRECTSOUND dso, LPDIRECTSOUNDBUFFER dsbo,
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
DXGetErrorString8
(
rc
));
ok
(
temp_buffer
==
dsbo
,
"COM interface broken:
0x%08lx != 0x%08lx
\n
"
,
ok
(
temp_buffer
==
dsbo
,
"COM interface broken:
%p != %p
\n
"
,
(
DWORD
)
temp_buffer
,(
DWORD
)
dsbo
);
temp_buffer
,
dsbo
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
"should have 1
\n
"
,
ref
);
"should have 1
\n
"
,
ref
);
...
@@ -465,8 +465,8 @@ void test_buffer(LPDIRECTSOUND dso, LPDIRECTSOUNDBUFFER dsbo,
...
@@ -465,8 +465,8 @@ void test_buffer(LPDIRECTSOUND dso, LPDIRECTSOUNDBUFFER dsbo,
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
"IDirectSound3DBuffer_QueryInterface() failed: %s
\n
"
,
"IDirectSound3DBuffer_QueryInterface() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
DXGetErrorString8
(
rc
));
ok
(
temp_buffer
==
dsbo
,
"COM interface broken:
0x%08lx != 0x%08lx
\n
"
,
ok
(
temp_buffer
==
dsbo
,
"COM interface broken:
%p != %p
\n
"
,
(
DWORD
)
temp_buffer
,(
DWORD
)
dsbo
);
temp_buffer
,
dsbo
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
"should have 1
\n
"
,
ref
);
"should have 1
\n
"
,
ref
);
...
@@ -1130,8 +1130,8 @@ static HRESULT test_primary_3d_with_listener(LPGUID lpGuid)
...
@@ -1130,8 +1130,8 @@ static HRESULT test_primary_3d_with_listener(LPGUID lpGuid)
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
DXGetErrorString8
(
rc
));
ok
(
temp_buffer
==
primary
,
ok
(
temp_buffer
==
primary
,
"COM interface broken:
0x%08lx != 0x%08lx
\n
"
,
"COM interface broken:
%p != %p
\n
"
,
(
DWORD
)
temp_buffer
,(
DWORD
)
primary
);
temp_buffer
,
primary
);
if
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
)
{
if
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
)
{
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
...
@@ -1144,8 +1144,8 @@ static HRESULT test_primary_3d_with_listener(LPGUID lpGuid)
...
@@ -1144,8 +1144,8 @@ static HRESULT test_primary_3d_with_listener(LPGUID lpGuid)
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
DXGetErrorString8
(
rc
));
ok
(
temp_buffer
==
primary
,
ok
(
temp_buffer
==
primary
,
"COM interface broken:
0x%08lx != 0x%08lx
\n
"
,
"COM interface broken:
%p != %p
\n
"
,
(
DWORD
)
temp_buffer
,(
DWORD
)
primary
);
temp_buffer
,
primary
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
"should have 1
\n
"
,
ref
);
"should have 1
\n
"
,
ref
);
...
...
dlls/dsound/tests/ds3d8.c
View file @
f8ee161a
...
@@ -339,8 +339,8 @@ void test_buffer8(LPDIRECTSOUND8 dso, LPDIRECTSOUNDBUFFER dsbo,
...
@@ -339,8 +339,8 @@ void test_buffer8(LPDIRECTSOUND8 dso, LPDIRECTSOUNDBUFFER dsbo,
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
DXGetErrorString8
(
rc
));
ok
(
temp_buffer
==
dsbo
,
"COM interface broken:
0x%08lx != 0x%08lx
\n
"
,
ok
(
temp_buffer
==
dsbo
,
"COM interface broken:
%p != %p
\n
"
,
(
DWORD
)
temp_buffer
,(
DWORD
)
dsbo
);
temp_buffer
,
dsbo
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
"should have 1
\n
"
,
ref
);
"should have 1
\n
"
,
ref
);
...
@@ -351,8 +351,8 @@ void test_buffer8(LPDIRECTSOUND8 dso, LPDIRECTSOUNDBUFFER dsbo,
...
@@ -351,8 +351,8 @@ void test_buffer8(LPDIRECTSOUND8 dso, LPDIRECTSOUNDBUFFER dsbo,
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
"IDirectSound3DBuffer_QueryInterface() failed: %s
\n
"
,
"IDirectSound3DBuffer_QueryInterface() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
DXGetErrorString8
(
rc
));
ok
(
temp_buffer
==
dsbo
,
"COM interface broken:
0x%08lx != 0x%08lx
\n
"
,
ok
(
temp_buffer
==
dsbo
,
"COM interface broken:
%p != %p
\n
"
,
(
DWORD
)
temp_buffer
,(
DWORD
)
dsbo
);
temp_buffer
,
dsbo
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
"should have 1
\n
"
,
ref
);
"should have 1
\n
"
,
ref
);
...
@@ -1024,8 +1024,7 @@ static HRESULT test_primary_3d_with_listener8(LPGUID lpGuid)
...
@@ -1024,8 +1024,7 @@ static HRESULT test_primary_3d_with_listener8(LPGUID lpGuid)
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
DXGetErrorString8
(
rc
));
ok
(
temp_buffer
==
primary
,
"COM interface broken: 0x%08lx != "
ok
(
temp_buffer
==
primary
,
"COM interface broken: %p != %p
\n
"
,
temp_buffer
,
primary
);
"0x%08lx
\n
"
,(
DWORD
)
temp_buffer
,(
DWORD
)
primary
);
if
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
)
{
if
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
)
{
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
...
@@ -1037,8 +1036,7 @@ static HRESULT test_primary_3d_with_listener8(LPGUID lpGuid)
...
@@ -1037,8 +1036,7 @@ static HRESULT test_primary_3d_with_listener8(LPGUID lpGuid)
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
"IDirectSoundBuffer_QueryInterface() failed: %s
\n
"
,
DXGetErrorString8
(
rc
));
DXGetErrorString8
(
rc
));
ok
(
temp_buffer
==
primary
,
"COM interface broken: 0x%08lx != "
ok
(
temp_buffer
==
primary
,
"COM interface broken: %p != %p
\n
"
,
temp_buffer
,
primary
);
"0x%08lx
\n
"
,(
DWORD
)
temp_buffer
,(
DWORD
)
primary
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ref
=
IDirectSoundBuffer_Release
(
temp_buffer
);
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
ok
(
ref
==
1
,
"IDirectSoundBuffer_Release() has %d references, "
"should have 1
\n
"
,
ref
);
"should have 1
\n
"
,
ref
);
...
...
dlls/dsound/tests/dsound.c
View file @
f8ee161a
...
@@ -291,8 +291,7 @@ static HRESULT test_dsound(LPGUID lpGuid)
...
@@ -291,8 +291,7 @@ static HRESULT test_dsound(LPGUID lpGuid)
ref
=
IDirectSound_Release
(
dso1
);
ref
=
IDirectSound_Release
(
dso1
);
ok
(
ref
==
0
,
"IDirectSound_Release() has %d references, should have "
ok
(
ref
==
0
,
"IDirectSound_Release() has %d references, should have "
"0
\n
"
,
ref
);
"0
\n
"
,
ref
);
ok
(
dso
!=
dso1
,
"DirectSound objects should be unique: "
ok
(
dso
!=
dso1
,
"DirectSound objects should be unique: dso=%p,dso1=%p
\n
"
,
dso
,
dso1
);
"dso=0x%08lx,dso1=0x%08lx
\n
"
,(
DWORD
)
dso
,(
DWORD
)
dso1
);
}
}
/* Release the first DirectSound object */
/* Release the first DirectSound object */
...
@@ -385,13 +384,13 @@ static HRESULT test_primary(LPGUID lpGuid)
...
@@ -385,13 +384,13 @@ static HRESULT test_primary(LPGUID lpGuid)
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
0
,
&
primary
,
NULL
);
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
0
,
&
primary
,
NULL
);
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
"IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
"IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
"dsbo=
0x%lx
\n
"
,
DXGetErrorString8
(
rc
),(
DWORD
)
primary
);
"dsbo=
%p
\n
"
,
DXGetErrorString8
(
rc
),
primary
);
/* DSOUND: Error: Invalid buffer description pointer */
/* DSOUND: Error: Invalid buffer description pointer */
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
0
,
NULL
);
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
0
,
NULL
);
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
"IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
"IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
"dsbo=0x%
lx
\n
"
,
DXGetErrorString8
(
rc
),(
DWORD
)
primary
);
"dsbo=0x%
p
\n
"
,
DXGetErrorString8
(
rc
),
primary
);
ZeroMemory
(
&
bufdesc
,
sizeof
(
bufdesc
));
ZeroMemory
(
&
bufdesc
,
sizeof
(
bufdesc
));
...
@@ -400,7 +399,7 @@ static HRESULT test_primary(LPGUID lpGuid)
...
@@ -400,7 +399,7 @@ static HRESULT test_primary(LPGUID lpGuid)
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
primary
,
NULL
);
rc
=
IDirectSound_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
primary
,
NULL
);
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
"IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
"IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
"primary=
0x%lx
\n
"
,
DXGetErrorString8
(
rc
),(
DWORD
)
primary
);
"primary=
%p
\n
"
,
DXGetErrorString8
(
rc
),
primary
);
/* We must call SetCooperativeLevel before calling CreateSoundBuffer */
/* We must call SetCooperativeLevel before calling CreateSoundBuffer */
/* DSOUND: Setting DirectSound cooperative level to DSSCL_PRIORITY */
/* DSOUND: Setting DirectSound cooperative level to DSSCL_PRIORITY */
...
...
dlls/dsound/tests/dsound8.c
View file @
f8ee161a
...
@@ -306,7 +306,7 @@ static HRESULT test_dsound8(LPGUID lpGuid)
...
@@ -306,7 +306,7 @@ static HRESULT test_dsound8(LPGUID lpGuid)
ok
(
ref
==
0
,
"IDirectSound8_Release() has %d references, "
ok
(
ref
==
0
,
"IDirectSound8_Release() has %d references, "
"should have 0
\n
"
,
ref
);
"should have 0
\n
"
,
ref
);
ok
(
dso
!=
dso1
,
"DirectSound8 objects should be unique: "
ok
(
dso
!=
dso1
,
"DirectSound8 objects should be unique: "
"dso=
0x%08lx,dso1=0x%08lx
\n
"
,(
DWORD
)
dso
,(
DWORD
)
dso1
);
"dso=
%p,dso1=%p
\n
"
,
dso
,
dso1
);
}
}
/* Release the first DirectSound8 object */
/* Release the first DirectSound8 object */
...
@@ -410,14 +410,14 @@ static HRESULT test_primary8(LPGUID lpGuid)
...
@@ -410,14 +410,14 @@ static HRESULT test_primary8(LPGUID lpGuid)
rc
=
IDirectSound8_CreateSoundBuffer
(
dso
,
0
,
&
primary
,
NULL
);
rc
=
IDirectSound8_CreateSoundBuffer
(
dso
,
0
,
&
primary
,
NULL
);
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
"IDirectSound8_CreateSoundBuffer() should have returned "
"IDirectSound8_CreateSoundBuffer() should have returned "
"DSERR_INVALIDPARAM, returned: rc=%s,dsbo=
0x%lx
\n
"
,
"DSERR_INVALIDPARAM, returned: rc=%s,dsbo=
%p
\n
"
,
DXGetErrorString8
(
rc
),
(
DWORD
)
primary
);
DXGetErrorString8
(
rc
),
primary
);
/* DSOUND: Error: Invalid buffer description pointer */
/* DSOUND: Error: Invalid buffer description pointer */
rc
=
IDirectSound8_CreateSoundBuffer
(
dso
,
&
bufdesc
,
0
,
NULL
);
rc
=
IDirectSound8_CreateSoundBuffer
(
dso
,
&
bufdesc
,
0
,
NULL
);
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
"IDirectSound8_CreateSoundBuffer() should have failed: rc=%s,"
"IDirectSound8_CreateSoundBuffer() should have failed: rc=%s,"
"dsbo=
0x%lx
\n
"
,
DXGetErrorString8
(
rc
),(
DWORD
)
primary
);
"dsbo=
%p
\n
"
,
DXGetErrorString8
(
rc
),
primary
);
ZeroMemory
(
&
bufdesc
,
sizeof
(
bufdesc
));
ZeroMemory
(
&
bufdesc
,
sizeof
(
bufdesc
));
...
@@ -426,7 +426,7 @@ static HRESULT test_primary8(LPGUID lpGuid)
...
@@ -426,7 +426,7 @@ static HRESULT test_primary8(LPGUID lpGuid)
rc
=
IDirectSound8_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
primary
,
NULL
);
rc
=
IDirectSound8_CreateSoundBuffer
(
dso
,
&
bufdesc
,
&
primary
,
NULL
);
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
ok
(
rc
==
DSERR_INVALIDPARAM
&&
primary
==
0
,
"IDirectSound8_CreateSoundBuffer() should have failed: rc=%s,"
"IDirectSound8_CreateSoundBuffer() should have failed: rc=%s,"
"primary=
0x%lx
\n
"
,
DXGetErrorString8
(
rc
),(
DWORD
)
primary
);
"primary=
%p
\n
"
,
DXGetErrorString8
(
rc
),
primary
);
/* We must call SetCooperativeLevel before calling CreateSoundBuffer */
/* We must call SetCooperativeLevel before calling CreateSoundBuffer */
/* DSOUND: Setting DirectSound cooperative level to DSSCL_PRIORITY */
/* DSOUND: Setting DirectSound cooperative level to DSSCL_PRIORITY */
...
...
dlls/gdi/printdrv.c
View file @
f8ee161a
...
@@ -635,7 +635,7 @@ INT16 WINAPI WriteSpool16(HPJOB16 hJob, LPSTR lpData, INT16 cch)
...
@@ -635,7 +635,7 @@ INT16 WINAPI WriteSpool16(HPJOB16 hJob, LPSTR lpData, INT16 cch)
int
nRet
=
SP_ERROR
;
int
nRet
=
SP_ERROR
;
PPRINTJOB
pPrintJob
=
NULL
;
PPRINTJOB
pPrintJob
=
NULL
;
TRACE
(
"%04x %
08lx %04x
\n
"
,
hJob
,
(
DWORD
)
lpData
,
cch
);
TRACE
(
"%04x %
p %04x
\n
"
,
hJob
,
lpData
,
cch
);
pPrintJob
=
FindPrintJobFromHandle
(
hJob
);
pPrintJob
=
FindPrintJobFromHandle
(
hJob
);
if
(
pPrintJob
!=
NULL
&&
pPrintJob
->
fd
>=
0
&&
cch
)
if
(
pPrintJob
!=
NULL
&&
pPrintJob
->
fd
>=
0
&&
cch
)
...
...
dlls/imm32/imm.c
View file @
f8ee161a
...
@@ -740,7 +740,7 @@ HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
...
@@ -740,7 +740,7 @@ HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
the_name
,
WS_POPUPWINDOW
|
WS_CAPTION
,
0
,
0
,
120
,
55
,
0
,
0
,
the_name
,
WS_POPUPWINDOW
|
WS_CAPTION
,
0
,
0
,
120
,
55
,
0
,
0
,
hImeInst
,
0
);
hImeInst
,
0
);
TRACE
(
"Default created (
0x%x)
\n
"
,(
INT
)
hwndDefault
);
TRACE
(
"Default created (
%p)
\n
"
,
hwndDefault
);
}
}
return
(
HWND
)
hwndDefault
;
return
(
HWND
)
hwndDefault
;
...
...
dlls/iphlpapi/iphlpapi_main.c
View file @
f8ee161a
...
@@ -114,8 +114,8 @@ DWORD WINAPI AllocateAndGetIfTableFromStack(PMIB_IFTABLE *ppIfTable,
...
@@ -114,8 +114,8 @@ DWORD WINAPI AllocateAndGetIfTableFromStack(PMIB_IFTABLE *ppIfTable,
{
{
DWORD
ret
;
DWORD
ret
;
TRACE
(
"ppIfTable %p, bOrder %
ld, heap 0x%08lx
, flags 0x%08lx
\n
"
,
ppIfTable
,
TRACE
(
"ppIfTable %p, bOrder %
d, heap %p
, flags 0x%08lx
\n
"
,
ppIfTable
,
(
DWORD
)
bOrder
,
(
DWORD
)
heap
,
flags
);
bOrder
,
heap
,
flags
);
if
(
!
ppIfTable
)
if
(
!
ppIfTable
)
ret
=
ERROR_INVALID_PARAMETER
;
ret
=
ERROR_INVALID_PARAMETER
;
else
{
else
{
...
@@ -155,8 +155,8 @@ DWORD WINAPI AllocateAndGetIpAddrTableFromStack(PMIB_IPADDRTABLE *ppIpAddrTable,
...
@@ -155,8 +155,8 @@ DWORD WINAPI AllocateAndGetIpAddrTableFromStack(PMIB_IPADDRTABLE *ppIpAddrTable,
{
{
DWORD
ret
;
DWORD
ret
;
TRACE
(
"ppIpAddrTable %p, bOrder %
ld, heap 0x%08lx
, flags 0x%08lx
\n
"
,
TRACE
(
"ppIpAddrTable %p, bOrder %
d, heap %p
, flags 0x%08lx
\n
"
,
ppIpAddrTable
,
(
DWORD
)
bOrder
,
(
DWORD
)
heap
,
flags
);
ppIpAddrTable
,
bOrder
,
heap
,
flags
);
if
(
!
ppIpAddrTable
)
if
(
!
ppIpAddrTable
)
ret
=
ERROR_INVALID_PARAMETER
;
ret
=
ERROR_INVALID_PARAMETER
;
else
{
else
{
...
@@ -196,8 +196,8 @@ DWORD WINAPI AllocateAndGetIpForwardTableFromStack(PMIB_IPFORWARDTABLE *
...
@@ -196,8 +196,8 @@ DWORD WINAPI AllocateAndGetIpForwardTableFromStack(PMIB_IPFORWARDTABLE *
{
{
DWORD
ret
;
DWORD
ret
;
TRACE
(
"ppIpForwardTable %p, bOrder %
ld, heap 0x%08lx
, flags 0x%08lx
\n
"
,
TRACE
(
"ppIpForwardTable %p, bOrder %
d, heap %p
, flags 0x%08lx
\n
"
,
ppIpForwardTable
,
(
DWORD
)
bOrder
,
(
DWORD
)
heap
,
flags
);
ppIpForwardTable
,
bOrder
,
heap
,
flags
);
if
(
!
ppIpForwardTable
)
if
(
!
ppIpForwardTable
)
ret
=
ERROR_INVALID_PARAMETER
;
ret
=
ERROR_INVALID_PARAMETER
;
else
{
else
{
...
@@ -237,8 +237,8 @@ DWORD WINAPI AllocateAndGetIpNetTableFromStack(PMIB_IPNETTABLE *ppIpNetTable,
...
@@ -237,8 +237,8 @@ DWORD WINAPI AllocateAndGetIpNetTableFromStack(PMIB_IPNETTABLE *ppIpNetTable,
{
{
DWORD
ret
;
DWORD
ret
;
TRACE
(
"ppIpNetTable %p, bOrder %
ld, heap 0x%08lx
, flags 0x%08lx
\n
"
,
TRACE
(
"ppIpNetTable %p, bOrder %
d, heap %p
, flags 0x%08lx
\n
"
,
ppIpNetTable
,
(
DWORD
)
bOrder
,
(
DWORD
)
heap
,
flags
);
ppIpNetTable
,
bOrder
,
heap
,
flags
);
if
(
!
ppIpNetTable
)
if
(
!
ppIpNetTable
)
ret
=
ERROR_INVALID_PARAMETER
;
ret
=
ERROR_INVALID_PARAMETER
;
else
{
else
{
...
@@ -278,8 +278,8 @@ DWORD WINAPI AllocateAndGetTcpTableFromStack(PMIB_TCPTABLE *ppTcpTable,
...
@@ -278,8 +278,8 @@ DWORD WINAPI AllocateAndGetTcpTableFromStack(PMIB_TCPTABLE *ppTcpTable,
{
{
DWORD
ret
;
DWORD
ret
;
TRACE
(
"ppTcpTable %p, bOrder %
ld, heap 0x%08lx
, flags 0x%08lx
\n
"
,
TRACE
(
"ppTcpTable %p, bOrder %
d, heap %p
, flags 0x%08lx
\n
"
,
ppTcpTable
,
(
DWORD
)
bOrder
,
(
DWORD
)
heap
,
flags
);
ppTcpTable
,
bOrder
,
heap
,
flags
);
if
(
!
ppTcpTable
)
if
(
!
ppTcpTable
)
ret
=
ERROR_INVALID_PARAMETER
;
ret
=
ERROR_INVALID_PARAMETER
;
else
{
else
{
...
@@ -319,8 +319,8 @@ DWORD WINAPI AllocateAndGetUdpTableFromStack(PMIB_UDPTABLE *ppUdpTable,
...
@@ -319,8 +319,8 @@ DWORD WINAPI AllocateAndGetUdpTableFromStack(PMIB_UDPTABLE *ppUdpTable,
{
{
DWORD
ret
;
DWORD
ret
;
TRACE
(
"ppUdpTable %p, bOrder %
ld, heap 0x%08lx
, flags 0x%08lx
\n
"
,
TRACE
(
"ppUdpTable %p, bOrder %
d, heap %p
, flags 0x%08lx
\n
"
,
ppUdpTable
,
(
DWORD
)
bOrder
,
(
DWORD
)
heap
,
flags
);
ppUdpTable
,
bOrder
,
heap
,
flags
);
if
(
!
ppUdpTable
)
if
(
!
ppUdpTable
)
ret
=
ERROR_INVALID_PARAMETER
;
ret
=
ERROR_INVALID_PARAMETER
;
else
{
else
{
...
...
dlls/kernel/change.c
View file @
f8ee161a
...
@@ -128,7 +128,7 @@ BOOL WINAPI FindCloseChangeNotification( HANDLE handle )
...
@@ -128,7 +128,7 @@ BOOL WINAPI FindCloseChangeNotification( HANDLE handle )
*/
*/
FARPROC16
WINAPI
FileCDR16
(
FARPROC16
x
)
FARPROC16
WINAPI
FileCDR16
(
FARPROC16
x
)
{
{
FIXME
(
"(
0x%8x): stub
\n
"
,
(
int
)
x
);
FIXME
(
"(
%p): stub
\n
"
,
x
);
return
(
FARPROC16
)
TRUE
;
return
(
FARPROC16
)
TRUE
;
}
}
...
...
dlls/kernel/except.c
View file @
f8ee161a
...
@@ -168,8 +168,8 @@ static int format_exception_msg( const EXCEPTION_POINTERS *ptr, char *buffer, in
...
@@ -168,8 +168,8 @@ static int format_exception_msg( const EXCEPTION_POINTERS *ptr, char *buffer, in
else
else
#endif
#endif
len2
=
snprintf
(
buffer
+
len
,
size
-
len
,
len2
=
snprintf
(
buffer
+
len
,
size
-
len
,
" at address
0x%08lx
.
\n
Do you wish to debug it ?"
,
" at address
%p
.
\n
Do you wish to debug it ?"
,
(
DWORD
)
ptr
->
ExceptionRecord
->
ExceptionAddress
);
ptr
->
ExceptionRecord
->
ExceptionAddress
);
if
((
len2
<
0
)
||
(
len
>=
size
-
len
))
if
((
len2
<
0
)
||
(
len
>=
size
-
len
))
return
-
1
;
return
-
1
;
return
len
+
len2
;
return
len
+
len2
;
...
...
dlls/msrle32/msrle32.c
View file @
f8ee161a
...
@@ -1789,8 +1789,7 @@ LRESULT CALLBACK MSRLE32_DriverProc(DWORD dwDrvID, HDRVR hDrv, UINT uMsg,
...
@@ -1789,8 +1789,7 @@ LRESULT CALLBACK MSRLE32_DriverProc(DWORD dwDrvID, HDRVR hDrv, UINT uMsg,
{
{
CodecInfo
*
pi
=
(
CodecInfo
*
)
dwDrvID
;
CodecInfo
*
pi
=
(
CodecInfo
*
)
dwDrvID
;
TRACE
(
"(%p,%p,0x%04X,0x%08lX,0x%08lX)
\n
"
,
(
LPVOID
)
dwDrvID
,
(
LPVOID
)
hDrv
,
TRACE
(
"(%lx,%p,0x%04X,0x%08lX,0x%08lX)
\n
"
,
dwDrvID
,
hDrv
,
uMsg
,
lParam1
,
lParam2
);
uMsg
,
lParam1
,
lParam2
);
switch
(
uMsg
)
{
switch
(
uMsg
)
{
/* standard driver messages */
/* standard driver messages */
...
...
dlls/ntdll/cdrom.c
View file @
f8ee161a
...
@@ -2004,9 +2004,9 @@ NTSTATUS CDROM_DeviceIoControl(HANDLE hDevice,
...
@@ -2004,9 +2004,9 @@ NTSTATUS CDROM_DeviceIoControl(HANDLE hDevice,
NTSTATUS
status
=
STATUS_SUCCESS
;
NTSTATUS
status
=
STATUS_SUCCESS
;
int
fd
,
dev
;
int
fd
,
dev
;
TRACE
(
"%
lx %s %lx %ld %lx
%ld %p
\n
"
,
TRACE
(
"%
p %s %p %ld %p
%ld %p
\n
"
,
(
DWORD
)
hDevice
,
iocodex
(
dwIoControlCode
),
(
DWORD
)
lpInBuffer
,
nInBufferSize
,
hDevice
,
iocodex
(
dwIoControlCode
),
lpInBuffer
,
nInBufferSize
,
(
DWORD
)
lpOutBuffer
,
nOutBufferSize
,
piosb
);
lpOutBuffer
,
nOutBufferSize
,
piosb
);
piosb
->
Information
=
0
;
piosb
->
Information
=
0
;
...
...
dlls/ole32/ole2.c
View file @
f8ee161a
...
@@ -1339,8 +1339,8 @@ HRESULT WINAPI OleSetMenuDescriptor(
...
@@ -1339,8 +1339,8 @@ HRESULT WINAPI OleSetMenuDescriptor(
if
(
lpFrame
||
lpActiveObject
)
if
(
lpFrame
||
lpActiveObject
)
{
{
FIXME
(
"(%
x
, %p, %p, %p, %p), Context sensitive help filtering not implemented!
\n
"
,
FIXME
(
"(%
p
, %p, %p, %p, %p), Context sensitive help filtering not implemented!
\n
"
,
(
unsigned
int
)
hOleMenu
,
hOleMenu
,
hwndFrame
,
hwndFrame
,
hwndActiveObject
,
hwndActiveObject
,
lpFrame
,
lpFrame
,
...
...
dlls/user/cursoricon.c
View file @
f8ee161a
...
@@ -691,8 +691,8 @@ HICON WINAPI CreateIconFromResourceEx( LPBYTE bits, UINT cbSize,
...
@@ -691,8 +691,8 @@ HICON WINAPI CreateIconFromResourceEx( LPBYTE bits, UINT cbSize,
hotspot
.
x
=
ICON_HOTSPOT
;
hotspot
.
x
=
ICON_HOTSPOT
;
hotspot
.
y
=
ICON_HOTSPOT
;
hotspot
.
y
=
ICON_HOTSPOT
;
TRACE_
(
cursor
)(
"%
08x
(%u bytes), ver %08x, %ix%i %s %s
\n
"
,
TRACE_
(
cursor
)(
"%
p
(%u bytes), ver %08x, %ix%i %s %s
\n
"
,
(
unsigned
)
bits
,
cbSize
,
(
unsigned
)
dwVersion
,
width
,
height
,
bits
,
cbSize
,
(
unsigned
)
dwVersion
,
width
,
height
,
bIcon
?
"icon"
:
"cursor"
,
(
cFlag
&
LR_MONOCHROME
)
?
"mono"
:
""
);
bIcon
?
"icon"
:
"cursor"
,
(
cFlag
&
LR_MONOCHROME
)
?
"mono"
:
""
);
if
(
dwVersion
==
0x00020000
)
if
(
dwVersion
==
0x00020000
)
{
{
...
...
dlls/x11drv/clipboard.c
View file @
f8ee161a
...
@@ -646,8 +646,8 @@ static BOOL X11DRV_CLIPBOARD_InsertClipboardData(UINT wFormat, HANDLE16 hData16,
...
@@ -646,8 +646,8 @@ static BOOL X11DRV_CLIPBOARD_InsertClipboardData(UINT wFormat, HANDLE16 hData16,
{
{
LPWINE_CLIPDATA
lpData
=
X11DRV_CLIPBOARD_LookupData
(
wFormat
);
LPWINE_CLIPDATA
lpData
=
X11DRV_CLIPBOARD_LookupData
(
wFormat
);
TRACE
(
"format=%d lpData=%p hData16=%08x hData32=%
08x flags=0x%08lx
\n
"
,
TRACE
(
"format=%d lpData=%p hData16=%08x hData32=%
p flags=0x%08lx
\n
"
,
wFormat
,
lpData
,
hData16
,
(
unsigned
int
)
hData32
,
flags
);
wFormat
,
lpData
,
hData16
,
hData32
,
flags
);
if
(
lpData
)
if
(
lpData
)
{
{
...
@@ -809,8 +809,8 @@ static BOOL X11DRV_CLIPBOARD_RenderFormat(LPWINE_CLIPDATA lpData)
...
@@ -809,8 +809,8 @@ static BOOL X11DRV_CLIPBOARD_RenderFormat(LPWINE_CLIPDATA lpData)
{
{
BOOL
bret
=
TRUE
;
BOOL
bret
=
TRUE
;
TRACE
(
" 0x%04x hData32(
0x%08x) hData16(0x%08x)
\n
"
,
TRACE
(
" 0x%04x hData32(
%p) hData16(0x%08x)
\n
"
,
lpData
->
wFormatID
,
(
unsigned
int
)
lpData
->
hData32
,
lpData
->
hData16
);
lpData
->
wFormatID
,
lpData
->
hData32
,
lpData
->
hData16
);
if
(
lpData
->
hData32
||
lpData
->
hData16
)
if
(
lpData
->
hData32
||
lpData
->
hData16
)
return
bret
;
/* Already rendered */
return
bret
;
/* Already rendered */
...
@@ -1897,7 +1897,7 @@ static HANDLE X11DRV_CLIPBOARD_SerializeMetafile(INT wformat, HANDLE hdata, LPDW
...
@@ -1897,7 +1897,7 @@ static HANDLE X11DRV_CLIPBOARD_SerializeMetafile(INT wformat, HANDLE hdata, LPDW
{
{
HANDLE
h
=
0
;
HANDLE
h
=
0
;
TRACE
(
" wFormat=%d hdata=%
08x out=%d
\n
"
,
wformat
,
(
unsigned
int
)
hdata
,
out
);
TRACE
(
" wFormat=%d hdata=%
p out=%d
\n
"
,
wformat
,
hdata
,
out
);
if
(
out
)
/* Serialize out, caller should free memory */
if
(
out
)
/* Serialize out, caller should free memory */
{
{
...
@@ -2404,8 +2404,8 @@ BOOL X11DRV_GetClipboardData(UINT wFormat, HANDLE16* phData16, HANDLE* phData32)
...
@@ -2404,8 +2404,8 @@ BOOL X11DRV_GetClipboardData(UINT wFormat, HANDLE16* phData16, HANDLE* phData32)
if
(
phData32
)
if
(
phData32
)
*
phData32
=
lpRender
->
hData32
;
*
phData32
=
lpRender
->
hData32
;
TRACE
(
" returning hData16(%04x) hData32(%
04x) (type %d)
\n
"
,
TRACE
(
" returning hData16(%04x) hData32(%
p) (type %d)
\n
"
,
lpRender
->
hData16
,
(
unsigned
int
)
lpRender
->
hData32
,
lpRender
->
wFormatID
);
lpRender
->
hData16
,
lpRender
->
hData32
,
lpRender
->
wFormatID
);
return
lpRender
->
hData16
||
lpRender
->
hData32
;
return
lpRender
->
hData16
||
lpRender
->
hData32
;
}
}
...
...
dlls/x11drv/xim.c
View file @
f8ee161a
...
@@ -487,8 +487,8 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
...
@@ -487,8 +487,8 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
"*"
,
/*FIXME*/
"*"
,
/*FIXME*/
&
list
,
&
count
,
NULL
);
&
list
,
&
count
,
NULL
);
TRACE
(
"ximFontSet =
0x%x
\n
"
,
(
unsigned
int
)
fontSet
);
TRACE
(
"ximFontSet =
%p
\n
"
,
fontSet
);
TRACE
(
"list =
0x%x, count = %d
\n
"
,
(
unsigned
int
)
list
,
count
);
TRACE
(
"list =
%p, count = %d
\n
"
,
list
,
count
);
if
(
list
!=
NULL
)
if
(
list
!=
NULL
)
{
{
...
@@ -521,7 +521,7 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
...
@@ -521,7 +521,7 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
XNPreeditDrawCallback
,
&
P_DrawCB
,
XNPreeditDrawCallback
,
&
P_DrawCB
,
XNPreeditCaretCallback
,
&
P_CaretCB
,
XNPreeditCaretCallback
,
&
P_CaretCB
,
NULL
);
NULL
);
TRACE
(
"preedit =
0x%x
\n
"
,
(
unsigned
int
)
preedit
);
TRACE
(
"preedit =
%p
\n
"
,
preedit
);
}
}
else
else
{
{
...
@@ -532,7 +532,7 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
...
@@ -532,7 +532,7 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
XNPreeditCaretCallback
,
&
P_CaretCB
,
XNPreeditCaretCallback
,
&
P_CaretCB
,
NULL
);
NULL
);
TRACE
(
"preedit =
0x%x
\n
"
,
(
unsigned
int
)
preedit
);
TRACE
(
"preedit =
%p
\n
"
,
preedit
);
}
}
if
((
ximStyle
&
(
XIMStatusNothing
|
XIMStatusNone
))
==
0
)
if
((
ximStyle
&
(
XIMStatusNothing
|
XIMStatusNone
))
==
0
)
...
@@ -540,7 +540,7 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
...
@@ -540,7 +540,7 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
status
=
XVaCreateNestedList
(
0
,
status
=
XVaCreateNestedList
(
0
,
XNFontSet
,
fontSet
,
XNFontSet
,
fontSet
,
NULL
);
NULL
);
TRACE
(
"status =
0x%x
\n
"
,
(
unsigned
int
)
status
);
TRACE
(
"status =
%p
\n
"
,
status
);
}
}
if
(
preedit
!=
NULL
&&
status
!=
NULL
)
if
(
preedit
!=
NULL
&&
status
!=
NULL
)
...
@@ -580,7 +580,7 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
...
@@ -580,7 +580,7 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
NULL
);
NULL
);
}
}
TRACE
(
"xic =
0x%x
\n
"
,
(
unsigned
int
)
xic
);
TRACE
(
"xic =
%p
\n
"
,
xic
);
if
(
preedit
!=
NULL
)
if
(
preedit
!=
NULL
)
XFree
(
preedit
);
XFree
(
preedit
);
...
...
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