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
e443ee51
Commit
e443ee51
authored
Feb 10, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gameux: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
02722b12
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
16 deletions
+15
-16
Makefile.in
dlls/gameux/Makefile.in
+0
-1
gameexplorer.c
dlls/gameux/gameexplorer.c
+7
-7
gamestatistics.c
dlls/gameux/gamestatistics.c
+8
-8
No files found.
dlls/gameux/Makefile.in
View file @
e443ee51
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
gameux.dll
IMPORTS
=
uuid shell32 oleaut32 ole32 user32 advapi32 shlwapi
...
...
dlls/gameux/gameexplorer.c
View file @
e443ee51
...
...
@@ -161,7 +161,7 @@ HRESULT GAMEUX_buildGameRegistryPath(GAME_INSTALL_SCOPE installScope,
if
(
SUCCEEDED
(
hr
))
lstrcpyW
(
*
lpRegistryPath
,
sRegistryPath
);
TRACE
(
"result: 0x%x, path: %s
\n
"
,
hr
,
debugstr_w
(
*
lpRegistryPath
));
TRACE
(
"result: 0x%
l
x, path: %s
\n
"
,
hr
,
debugstr_w
(
*
lpRegistryPath
));
return
hr
;
}
/*******************************************************************************
...
...
@@ -247,7 +247,7 @@ static HRESULT GAMEUX_WriteRegistryRecord(struct GAMEUX_GAME_DATA *GameData)
}
HeapFree
(
GetProcessHeap
(),
0
,
lpRegistryKey
);
TRACE
(
"returning 0x%x
\n
"
,
hr
);
TRACE
(
"returning 0x%
l
x
\n
"
,
hr
);
return
hr
;
}
/*******************************************************************************
...
...
@@ -536,7 +536,7 @@ static HRESULT GAMEUX_RegisterGame(LPCWSTR sGDFBinaryPath,
CloseHandle
(
thread
);
if
(
ret
!=
WAIT_OBJECT_0
)
{
ERR
(
"Wait failed (%#x).
\n
"
,
ret
);
ERR
(
"Wait failed (%#
l
x).
\n
"
,
ret
);
hr
=
E_FAIL
;
goto
done
;
}
...
...
@@ -549,7 +549,7 @@ static HRESULT GAMEUX_RegisterGame(LPCWSTR sGDFBinaryPath,
done:
GAMEUX_uninitGameData
(
&
GameData
);
TRACE
(
"returning 0x%08x
\n
"
,
hr
);
TRACE
(
"returning 0x%08
l
x
\n
"
,
hr
);
return
hr
;
}
/*******************************************************************************
...
...
@@ -685,7 +685,7 @@ static HRESULT GAMEUX_UpdateGame(LPGUID InstanceID) {
}
HeapFree
(
GetProcessHeap
(),
0
,
lpRegistryPath
);
TRACE
(
"returning 0x%x
\n
"
,
hr
);
TRACE
(
"returning 0x%
l
x
\n
"
,
hr
);
return
hr
;
}
/*******************************************************************************
...
...
@@ -818,7 +818,7 @@ static ULONG WINAPI GameExplorerImpl_AddRef(IGameExplorer *iface)
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p): ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -828,7 +828,7 @@ static ULONG WINAPI GameExplorerImpl_Release(IGameExplorer *iface)
LONG
ref
;
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p): ref=%
l
d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
...
...
dlls/gameux/gamestatistics.c
View file @
e443ee51
...
...
@@ -293,7 +293,7 @@ static HRESULT GAMEUX_updateStatisticsFile(struct GAMEUX_STATS *stats)
SysFreeString
(
bstrCategory
);
SysFreeString
(
bstrStatistics
);
SysFreeString
(
V_BSTR
(
&
vStatsFilePath
));
TRACE
(
"ret=0x%x
\n
"
,
hr
);
TRACE
(
"ret=0x%
l
x
\n
"
,
hr
);
return
hr
;
}
/*******************************************************************************
...
...
@@ -384,7 +384,7 @@ static HRESULT GAMEUX_getAppIdFromGDFPath(
HeapFree
(
GetProcessHeap
(),
0
,
lpRegistryPath
);
TRACE
(
"found app id: %s, return: %#x
\n
"
,
debugstr_w
(
lpApplicationId
),
hr
);
TRACE
(
"found app id: %s, return: %#
l
x
\n
"
,
debugstr_w
(
lpApplicationId
),
hr
);
return
hr
;
}
/*******************************************************************
...
...
@@ -606,7 +606,7 @@ static HRESULT GAMEUX_loadGameStatistics(struct GAMEUX_STATS *pStats,
if
(
FAILED
(
hr
))
return
hr
;
hr
=
GAMEUX_loadStatisticsFromFile
(
pStats
);
TRACE
(
"ldstats finished, res: %#x
\n
"
,
hr
);
TRACE
(
"ldstats finished, res: %#
l
x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
{
*
pOpenResult
=
GAMESTATS_OPEN_OPENED
;
...
...
@@ -621,7 +621,7 @@ static HRESULT GAMEUX_loadGameStatistics(struct GAMEUX_STATS *pStats,
else
hr
=
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
);
TRACE
(
"openResult=%#x ret=%#x
\n
"
,
*
pOpenResult
,
hr
);
TRACE
(
"openResult=%#x ret=%#
l
x
\n
"
,
*
pOpenResult
,
hr
);
return
hr
;
}
/*******************************************************************
...
...
@@ -672,7 +672,7 @@ static ULONG WINAPI GameStatisticsImpl_AddRef(IGameStatistics *iface)
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p): ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -682,7 +682,7 @@ static ULONG WINAPI GameStatisticsImpl_Release(IGameStatistics *iface)
LONG
ref
;
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p): ref=%
l
d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
...
...
@@ -1028,7 +1028,7 @@ static ULONG WINAPI GameStatisticsMgrImpl_AddRef(IGameStatisticsMgr *iface)
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p): ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -1038,7 +1038,7 @@ static ULONG WINAPI GameStatisticsMgrImpl_Release(IGameStatisticsMgr *iface)
LONG
ref
;
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p): ref=%
l
d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
...
...
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