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
6512ed52
Commit
6512ed52
authored
May 15, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
May 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: NS_GetOtherMagic() is not used, so remove it.
parent
61a8b946
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
13 deletions
+0
-13
dplayx_messages.c
dlls/dplayx/dplayx_messages.c
+0
-4
name_server.c
dlls/dplayx/name_server.c
+0
-8
name_server.h
dlls/dplayx/name_server.h
+0
-1
No files found.
dlls/dplayx/dplayx_messages.c
View file @
6512ed52
...
...
@@ -329,11 +329,7 @@ HRESULT DP_MSG_ForwardPlayerCreation( IDirectPlay2AImpl* This, DPID dpidServer )
lpMsgBody
->
unknown4
[
5
]
=
0x0
;
lpMsgBody
->
unknown4
[
6
]
=
0x0
;
#if 0
lpMsgBody->unknown4[7] = NS_GetOtherMagic( This->dp2->lpNameServerData )
#else
lpMsgBody
->
unknown4
[
7
]
=
NS_GetNsMagic
(
This
->
dp2
->
lpNameServerData
);
#endif
TRACE
(
"Setting second magic to 0x%08x
\n
"
,
lpMsgBody
->
unknown4
[
7
]
);
lpMsgBody
->
unknown4
[
8
]
=
0x0
;
...
...
dlls/dplayx/name_server.c
View file @
6512ed52
...
...
@@ -183,14 +183,6 @@ DWORD NS_GetNsMagic( LPVOID lpNSInfo )
return
lpHdrInfo
[
1
];
}
/* Get the magic number associated with the non NS end */
DWORD
NS_GetOtherMagic
(
LPVOID
lpNSInfo
)
{
lpNSCache
lpCache
=
(
lpNSCache
)
lpNSInfo
;
return
((
LPDWORD
)
lpCache
->
lpLocalAddrHdr
)[
1
];
}
void
NS_SetLocalAddr
(
LPVOID
lpNSInfo
,
LPCVOID
lpHdr
,
DWORD
dwHdrSize
)
{
lpNSCache
lpCache
=
(
lpNSCache
)
lpNSInfo
;
...
...
dlls/dplayx/name_server.h
View file @
6512ed52
...
...
@@ -35,7 +35,6 @@ void NS_AddRemoteComputerAsNameServer( LPCVOID lpNSAddrHdr,
LPVOID
lpNSInfo
);
LPVOID
NS_GetNSAddr
(
LPVOID
lpNSInfo
);
DWORD
NS_GetNsMagic
(
LPVOID
lpNSInfo
);
DWORD
NS_GetOtherMagic
(
LPVOID
lpNSInfo
);
void
NS_SetLocalAddr
(
LPVOID
lpNSInfo
,
LPCVOID
lpHdr
,
DWORD
dwHdrSize
);
void
NS_ReplyToEnumSessionsRequest
(
LPCVOID
lpcMsg
,
...
...
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