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
2539004f
Commit
2539004f
authored
May 14, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
May 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Use a proper plural for the repliesExpected field name.
parent
a6dbc28b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
dplay.c
dlls/dplayx/dplay.c
+1
-1
dplay_global.h
dlls/dplayx/dplay_global.h
+2
-2
dplayx_messages.c
dlls/dplayx/dplayx_messages.c
+2
-2
No files found.
dlls/dplayx/dplay.c
View file @
2539004f
...
@@ -278,7 +278,7 @@ static BOOL DP_CreateDirectPlay2( LPVOID lpDP )
...
@@ -278,7 +278,7 @@ static BOOL DP_CreateDirectPlay2( LPVOID lpDP )
DPQ_INIT
(
This
->
dp2
->
receiveMsgs
);
DPQ_INIT
(
This
->
dp2
->
receiveMsgs
);
DPQ_INIT
(
This
->
dp2
->
sendMsgs
);
DPQ_INIT
(
This
->
dp2
->
sendMsgs
);
DPQ_INIT
(
This
->
dp2
->
repl
y
sExpected
);
DPQ_INIT
(
This
->
dp2
->
repl
ie
sExpected
);
if
(
!
NS_InitializeSessionCache
(
&
This
->
dp2
->
lpNameServerData
)
)
if
(
!
NS_InitializeSessionCache
(
&
This
->
dp2
->
lpNameServerData
)
)
{
{
...
...
dlls/dplayx/dplay_global.h
View file @
2539004f
...
@@ -67,7 +67,7 @@ typedef struct tagDP_MSG_REPLY_STRUCT
...
@@ -67,7 +67,7 @@ typedef struct tagDP_MSG_REPLY_STRUCT
typedef
struct
tagDP_MSG_REPLY_STRUCT_LIST
typedef
struct
tagDP_MSG_REPLY_STRUCT_LIST
{
{
DPQ_ENTRY
(
tagDP_MSG_REPLY_STRUCT_LIST
)
repl
y
sExpected
;
DPQ_ENTRY
(
tagDP_MSG_REPLY_STRUCT_LIST
)
repl
ie
sExpected
;
DP_MSG_REPLY_STRUCT
replyExpected
;
DP_MSG_REPLY_STRUCT
replyExpected
;
}
DP_MSG_REPLY_STRUCT_LIST
,
*
LPDP_MSG_REPLY_STRUCT_LIST
;
}
DP_MSG_REPLY_STRUCT_LIST
,
*
LPDP_MSG_REPLY_STRUCT_LIST
;
...
@@ -193,7 +193,7 @@ typedef struct tagDirectPlay2Data
...
@@ -193,7 +193,7 @@ typedef struct tagDirectPlay2Data
enum
SPSTATE
connectionInitialized
;
enum
SPSTATE
connectionInitialized
;
/* Expected messages queue */
/* Expected messages queue */
DPQ_HEAD
(
tagDP_MSG_REPLY_STRUCT_LIST
)
repl
y
sExpected
;
DPQ_HEAD
(
tagDP_MSG_REPLY_STRUCT_LIST
)
repl
ie
sExpected
;
}
DirectPlay2Data
;
}
DirectPlay2Data
;
typedef
struct
tagDirectPlay3Data
typedef
struct
tagDirectPlay3Data
...
...
dlls/dplayx/dplayx_messages.c
View file @
2539004f
...
@@ -172,7 +172,7 @@ HANDLE DP_MSG_BuildAndLinkReplyStruct( IDirectPlay2Impl* This,
...
@@ -172,7 +172,7 @@ HANDLE DP_MSG_BuildAndLinkReplyStruct( IDirectPlay2Impl* This,
/* Insert into the message queue while locked */
/* Insert into the message queue while locked */
EnterCriticalSection
(
&
This
->
unk
->
DP_lock
);
EnterCriticalSection
(
&
This
->
unk
->
DP_lock
);
DPQ_INSERT
(
This
->
dp2
->
repl
ysExpected
,
lpReplyStructList
,
reply
sExpected
);
DPQ_INSERT
(
This
->
dp2
->
repl
iesExpected
,
lpReplyStructList
,
replie
sExpected
);
LeaveCriticalSection
(
&
This
->
unk
->
DP_lock
);
LeaveCriticalSection
(
&
This
->
unk
->
DP_lock
);
return
lpReplyStructList
->
replyExpected
.
hReceipt
;
return
lpReplyStructList
->
replyExpected
.
hReceipt
;
...
@@ -433,7 +433,7 @@ void DP_MSG_ReplyReceived( IDirectPlay2AImpl* This, WORD wCommandId,
...
@@ -433,7 +433,7 @@ void DP_MSG_ReplyReceived( IDirectPlay2AImpl* This, WORD wCommandId,
* avoid problems.
* avoid problems.
*/
*/
EnterCriticalSection
(
&
This
->
unk
->
DP_lock
);
EnterCriticalSection
(
&
This
->
unk
->
DP_lock
);
DPQ_REMOVE_ENTRY
(
This
->
dp2
->
repl
ysExpected
,
reply
sExpected
,
replyExpected
.
wExpectedReply
,
DPQ_REMOVE_ENTRY
(
This
->
dp2
->
repl
iesExpected
,
replie
sExpected
,
replyExpected
.
wExpectedReply
,
==
,
wCommandId
,
lpReplyList
);
==
,
wCommandId
,
lpReplyList
);
LeaveCriticalSection
(
&
This
->
unk
->
DP_lock
);
LeaveCriticalSection
(
&
This
->
unk
->
DP_lock
);
...
...
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