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
5a1ede33
Commit
5a1ede33
authored
Oct 23, 2002
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile the dplayx dll with STRICT defined.
parent
353529b2
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
17 deletions
+14
-17
Makefile.in
dlls/dplayx/Makefile.in
+0
-2
dplay.c
dlls/dplayx/dplay.c
+4
-4
dplayx_global.c
dlls/dplayx/dplayx_global.c
+8
-8
dplayx_main.c
dlls/dplayx/dplayx_main.c
+1
-2
dplobby.c
dlls/dplayx/dplobby.c
+1
-1
No files found.
dlls/dplayx/Makefile.in
View file @
5a1ede33
EXTRADEFS
=
-DWINE_NO_STRICT
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
...
...
@@ -26,4 +25,3 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
dlls/dplayx/dplay.c
View file @
5a1ede33
...
...
@@ -1218,7 +1218,7 @@ lpPlayerData DP_CreatePlayer( IDirectPlay2Impl* This, LPDPID lpid,
)
{
/* FIXME: Memory leak */
ERR
(
"Can't duplicate player msg handle %
x
\n
"
,
hEvent
);
ERR
(
"Can't duplicate player msg handle %
p
\n
"
,
hEvent
);
}
}
...
...
@@ -1400,12 +1400,12 @@ static HRESULT WINAPI DP_IF_CreatePlayer
DWORD
dwFlags
,
BOOL
bAnsi
)
{
H
ANDLE
hr
=
DP_OK
;
H
RESULT
hr
=
DP_OK
;
lpPlayerData
lpPData
;
lpPlayerList
lpPList
;
DWORD
dwCreateFlags
=
0
;
TRACE
(
"(%p)->(%p,%p,%
d
,%p,0x%08lx,0x%08lx,%u)
\n
"
,
TRACE
(
"(%p)->(%p,%p,%
p
,%p,0x%08lx,0x%08lx,%u)
\n
"
,
This
,
lpidPlayer
,
lpPlayerName
,
hEvent
,
lpData
,
dwDataSize
,
dwFlags
,
bAnsi
);
...
...
@@ -2168,7 +2168,7 @@ static void DP_KillEnumSessionThread( IDirectPlay2Impl* This )
/* Does a thread exist? If so we were doing an async enum session */
if
(
This
->
dp2
->
hEnumSessionThread
!=
INVALID_HANDLE_VALUE
)
{
TRACE
(
"Killing EnumSession thread %
u
\n
"
,
TRACE
(
"Killing EnumSession thread %
p
\n
"
,
This
->
dp2
->
hEnumSessionThread
);
/* Request that the thread kill itself nicely */
...
...
dlls/dplayx/dplayx_global.c
View file @
5a1ede33
...
...
@@ -223,14 +223,14 @@ BOOL DPLAYX_ConstructData(void)
/* First instance creates the semaphore. Others just use it */
if
(
GetLastError
()
==
ERROR_SUCCESS
)
{
TRACE
(
"Semaphore %
u
created
\n
"
,
hDplayxSema
);
TRACE
(
"Semaphore %
p
created
\n
"
,
hDplayxSema
);
/* The semaphore creator will also build the shared memory */
bInitializeSharedMemory
=
TRUE
;
}
else
if
(
GetLastError
()
==
ERROR_ALREADY_EXISTS
)
{
TRACE
(
"Found semaphore handle %
u
\n
"
,
hDplayxSema
);
TRACE
(
"Found semaphore handle %
p
\n
"
,
hDplayxSema
);
}
else
{
...
...
@@ -251,11 +251,11 @@ BOOL DPLAYX_ConstructData(void)
if
(
GetLastError
()
==
ERROR_SUCCESS
)
{
TRACE
(
"File mapped %
u
created
\n
"
,
hDplayxSharedMem
);
TRACE
(
"File mapped %
p
created
\n
"
,
hDplayxSharedMem
);
}
else
if
(
GetLastError
()
==
ERROR_ALREADY_EXISTS
)
{
TRACE
(
"Found FileMapping handle %
u
\n
"
,
hDplayxSharedMem
);
TRACE
(
"Found FileMapping handle %
p
\n
"
,
hDplayxSharedMem
);
}
else
{
...
...
@@ -337,7 +337,7 @@ BOOL DPLAYX_ConstructData(void)
{
BOOL
bSuccess
;
bSuccess
=
SetEvent
(
hInformOnStart
);
TRACE
(
"Signalling lobby app start event %
u
%s
\n
"
,
TRACE
(
"Signalling lobby app start event %
p
%s
\n
"
,
hInformOnStart
,
bSuccess
?
"succeed"
:
"failed"
);
/* Close out handle */
...
...
@@ -364,7 +364,7 @@ BOOL DPLAYX_DestructData(void)
{
BOOL
bSuccess
;
bSuccess
=
SetEvent
(
hInformOnDeath
);
TRACE
(
"Signalling lobby app death event %
u
%s
\n
"
,
TRACE
(
"Signalling lobby app death event %
p
%s
\n
"
,
hInformOnDeath
,
bSuccess
?
"succeed"
:
"failed"
);
/* Close out handle */
...
...
@@ -633,7 +633,7 @@ HRESULT DPLAYX_GetConnectionSettingsA
{
BOOL
bSuccess
;
bSuccess
=
SetEvent
(
hInformOnSettingRead
);
TRACE
(
"Signalling setting read event %
u
%s
\n
"
,
TRACE
(
"Signalling setting read event %
p
%s
\n
"
,
hInformOnSettingRead
,
bSuccess
?
"succeed"
:
"failed"
);
/* Close out handle */
...
...
@@ -755,7 +755,7 @@ HRESULT DPLAYX_GetConnectionSettingsW
{
BOOL
bSuccess
;
bSuccess
=
SetEvent
(
hInformOnSettingRead
);
TRACE
(
"Signalling setting read event %
u
%s
\n
"
,
TRACE
(
"Signalling setting read event %
p
%s
\n
"
,
hInformOnSettingRead
,
bSuccess
?
"succeed"
:
"failed"
);
/* Close out handle */
...
...
dlls/dplayx/dplayx_main.c
View file @
5a1ede33
...
...
@@ -33,7 +33,7 @@ DWORD gdwDPlaySPRefCount = 0; /* FIXME: Should it be initialized here? */
BOOL
WINAPI
DPLAYX_LibMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(%
u
,0x%08lx,%p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"(%
p
,0x%08lx,%p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
{
...
...
@@ -71,4 +71,3 @@ HRESULT WINAPI DPLAYX_DllCanUnloadNow(void)
return
hr
;
}
dlls/dplayx/dplobby.c
View file @
5a1ede33
...
...
@@ -1218,7 +1218,7 @@ static HRESULT WINAPI IDirectPlayLobbyAImpl_RunApplication
DWORD
dwSuspendCount
;
HANDLE
hStart
,
hDeath
,
hSettingRead
;
TRACE
(
"(%p)->(0x%08lx,%p,%p,%
x
)
\n
"
,
TRACE
(
"(%p)->(0x%08lx,%p,%p,%
p
)
\n
"
,
This
,
dwFlags
,
lpdwAppID
,
lpConn
,
hReceiveEvent
);
if
(
dwFlags
!=
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