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
185b4bf6
Commit
185b4bf6
authored
May 26, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
May 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: DPLAYX_SetLocalSession() and DPLAYX_CopyIntoSessionDesc2A() are unused so remove them.
parent
fb9e4afd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
49 deletions
+0
-49
dplayx_global.c
dlls/dplayx/dplayx_global.c
+0
-43
dplayx_global.h
dlls/dplayx/dplayx_global.h
+0
-2
name_server.c
dlls/dplayx/name_server.c
+0
-4
No files found.
dlls/dplayx/dplayx_global.c
View file @
185b4bf6
...
...
@@ -995,49 +995,6 @@ HRESULT DPLAYX_SetConnectionSettingsW
return
DP_OK
;
}
/* Copy an ANSI session desc structure to the given buffer */
static
BOOL
DPLAYX_CopyIntoSessionDesc2A
(
LPDPSESSIONDESC2
lpSessionDest
,
LPCDPSESSIONDESC2
lpSessionSrc
)
{
CopyMemory
(
lpSessionDest
,
lpSessionSrc
,
sizeof
(
*
lpSessionSrc
)
);
if
(
lpSessionSrc
->
u1
.
lpszSessionNameA
)
{
if
((
lpSessionDest
->
u1
.
lpszSessionNameA
=
HeapAlloc
(
GetProcessHeap
(),
0
,
strlen
(
lpSessionSrc
->
u1
.
lpszSessionNameA
)
+
1
)))
strcpy
(
lpSessionDest
->
u1
.
lpszSessionNameA
,
lpSessionSrc
->
u1
.
lpszSessionNameA
);
}
if
(
lpSessionSrc
->
u2
.
lpszPasswordA
)
{
if
((
lpSessionDest
->
u2
.
lpszPasswordA
=
HeapAlloc
(
GetProcessHeap
(),
0
,
strlen
(
lpSessionSrc
->
u2
.
lpszPasswordA
)
+
1
)))
strcpy
(
lpSessionDest
->
u2
.
lpszPasswordA
,
lpSessionSrc
->
u2
.
lpszPasswordA
);
}
return
TRUE
;
}
void
DPLAYX_SetLocalSession
(
LPCDPSESSIONDESC2
lpsd
)
{
UINT
i
;
/* FIXME: Is this an error if it exists already? */
/* Crude/wrong implementation for now. Just always add to first empty spot */
for
(
i
=
0
;
i
<
numSupportedSessions
;
i
++
)
{
/* Is this one empty? */
if
(
sessionData
[
i
].
dwSize
==
0
)
{
DPLAYX_CopyIntoSessionDesc2A
(
&
sessionData
[
i
],
lpsd
);
break
;
}
}
}
BOOL
DPLAYX_WaitForConnectionSettings
(
BOOL
bWait
)
{
LPDPLAYX_LOBBYDATA
lpLobbyData
;
...
...
dlls/dplayx/dplayx_global.h
View file @
185b4bf6
...
...
@@ -51,8 +51,6 @@ BOOL DPLAYX_AnyLobbiesWaitingForConnSettings(void);
BOOL
DPLAYX_SetLobbyHandles
(
DWORD
dwAppID
,
HANDLE
hStart
,
HANDLE
hDeath
,
HANDLE
hConnRead
);
void
DPLAYX_SetLocalSession
(
LPCDPSESSIONDESC2
lpsd
);
BOOL
DPLAYX_SetLobbyMsgThreadId
(
DWORD
dwAppId
,
DWORD
dwThreadId
);
...
...
dlls/dplayx/name_server.c
View file @
185b4bf6
...
...
@@ -74,10 +74,6 @@ static DPQ_DECL_DELETECB( cbDeleteNSNodeFromHeap, lpNSCacheData );
*/
void
NS_SetLocalComputerAsNameServer
(
LPCDPSESSIONDESC2
lpsd
,
LPVOID
lpNSInfo
)
{
#if 0
/* FIXME: Remove this method? */
DPLAYX_SetLocalSession( lpsd );
#endif
lpNSCache
lpCache
=
(
lpNSCache
)
lpNSInfo
;
lpCache
->
bNsIsLocal
=
TRUE
;
...
...
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