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
5ecdbb1f
Commit
5ecdbb1f
authored
Oct 06, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiagn: Win64 printf format warning fixes.
parent
10ee330a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
Makefile.in
dlls/dxdiagn/Makefile.in
+0
-1
container.c
dlls/dxdiagn/container.c
+4
-4
dxdiag_main.c
dlls/dxdiagn/dxdiag_main.c
+1
-1
provider.c
dlls/dxdiagn/provider.c
+2
-2
No files found.
dlls/dxdiagn/Makefile.in
View file @
5ecdbb1f
...
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE
=
dxdiagn.dll
IMPORTS
=
version ole32 oleaut32 user32 advapi32 kernel32
EXTRALIBS
=
-lstrmiids
-ldxguid
-luuid
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
\
container.c
\
...
...
dlls/dxdiagn/container.c
View file @
5ecdbb1f
...
...
@@ -48,7 +48,7 @@ static ULONG WINAPI IDxDiagContainerImpl_AddRef(PDXDIAGCONTAINER iface) {
IDxDiagContainerImpl
*
This
=
(
IDxDiagContainerImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(ref before=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(ref before=%u)
\n
"
,
This
,
refCount
-
1
);
DXDIAGN_LockModule
();
...
...
@@ -59,7 +59,7 @@ static ULONG WINAPI IDxDiagContainerImpl_Release(PDXDIAGCONTAINER iface) {
IDxDiagContainerImpl
*
This
=
(
IDxDiagContainerImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(ref before=%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(ref before=%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -86,7 +86,7 @@ static HRESULT WINAPI IDxDiagContainerImpl_EnumChildContainerNames(PDXDIAGCONTAI
IDxDiagContainerImpl_SubContainer
*
p
=
NULL
;
DWORD
i
=
0
;
TRACE
(
"(%p, %
lu, %s, %l
u)
\n
"
,
iface
,
dwIndex
,
debugstr_w
(
pwszContainer
),
cchContainer
);
TRACE
(
"(%p, %
u, %s, %
u)
\n
"
,
iface
,
dwIndex
,
debugstr_w
(
pwszContainer
),
cchContainer
);
if
(
NULL
==
pwszContainer
)
{
return
E_INVALIDARG
;
...
...
@@ -182,7 +182,7 @@ static HRESULT WINAPI IDxDiagContainerImpl_EnumPropNames(PDXDIAGCONTAINER iface,
IDxDiagContainerImpl_Property
*
p
=
NULL
;
DWORD
i
=
0
;
FIXME
(
"(%p, %
lu, %s, %l
u)
\n
"
,
iface
,
dwIndex
,
debugstr_w
(
pwszPropName
),
cchPropName
);
FIXME
(
"(%p, %
u, %s, %
u)
\n
"
,
iface
,
dwIndex
,
debugstr_w
(
pwszPropName
),
cchPropName
);
if
(
NULL
==
pwszPropName
)
{
return
E_INVALIDARG
;
...
...
dlls/dxdiagn/dxdiag_main.c
View file @
5ecdbb1f
...
...
@@ -30,7 +30,7 @@ LONG DXDIAGN_refCount = 0;
/* At process attach */
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p,%
l
x,%p
\n
"
,
hInstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"%p,%x,%p
\n
"
,
hInstDLL
,
fdwReason
,
lpvReserved
);
if
(
fdwReason
==
DLL_PROCESS_ATTACH
)
{
DisableThreadLibraryCalls
(
hInstDLL
);
}
...
...
dlls/dxdiagn/provider.c
View file @
5ecdbb1f
...
...
@@ -54,7 +54,7 @@ static ULONG WINAPI IDxDiagProviderImpl_AddRef(PDXDIAGPROVIDER iface) {
IDxDiagProviderImpl
*
This
=
(
IDxDiagProviderImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(ref before=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(ref before=%u)
\n
"
,
This
,
refCount
-
1
);
DXDIAGN_LockModule
();
...
...
@@ -65,7 +65,7 @@ static ULONG WINAPI IDxDiagProviderImpl_Release(PDXDIAGPROVIDER iface) {
IDxDiagProviderImpl
*
This
=
(
IDxDiagProviderImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(ref before=%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(ref before=%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
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