Fixed another regression in PlaySound.
[wine.git] / dlls / dplayx / name_server.h
blobed0c1e715bdde3d65a54cf1f0f16bef692950222
1 /*
2 * Copyright 2000 Peter Hunnisett
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_DPLAYX_NAMESERVER
20 #define __WINE_DPLAYX_NAMESERVER
22 #include "dplay.h"
23 #include "dplaysp.h"
24 #include "dplayx_messages.h"
25 #include "dplay_global.h"
27 void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
28 void NS_SetRemoteComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
29 void NS_AddRemoteComputerAsNameServer( LPCVOID lpNSAddrHdr,
30 DWORD dwHdrSize,
31 LPDPMSG_ENUMSESSIONSREPLY lpMsg,
32 LPVOID lpNSInfo );
33 LPVOID NS_GetNSAddr( LPVOID lpNSInfo );
34 DWORD NS_GetNsMagic( LPVOID lpNSInfo );
35 DWORD NS_GetOtherMagic( LPVOID lpNSInfo );
36 void NS_SetLocalAddr( LPVOID lpNSInfo, LPCVOID lpHdr, DWORD dwHdrSize );
38 void NS_ReplyToEnumSessionsRequest( LPCVOID lpcMsg,
39 LPVOID* lplpReplyData,
40 LPDWORD lpdwReplySize,
41 IDirectPlay2Impl* lpDP );
43 HRESULT NS_SendSessionRequestBroadcast( LPCGUID lpcGuid,
44 DWORD dwFlags,
45 LPSPINITDATA lpSpData );
48 BOOL NS_InitializeSessionCache( LPVOID* lplpNSInfo );
49 void NS_DeleteSessionCache( LPVOID lpNSInfo );
50 void NS_InvalidateSessionCache( LPVOID lpNSInfo );
53 void NS_ResetSessionEnumeration( LPVOID lpNSInfo );
54 LPDPSESSIONDESC2 NS_WalkSessions( LPVOID lpNSInfo );
55 void NS_PruneSessionCache( LPVOID lpNSInfo );
57 #endif /* __WINE_DPLAYX_NAMESERVER */