ntdll: Stub NtMakeTemporaryObject.
[wine/multimedia.git] / dlls / dplayx / name_server.h
bloba1d3dd7311e6b855126db607661330a8f83e7b16
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_DPLAYX_NAMESERVER
20 #define __WINE_DPLAYX_NAMESERVER
22 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "dplay.h"
27 #include "wine/dplaysp.h"
28 #include "dplayx_messages.h"
29 #include "dplay_global.h"
31 void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
32 void NS_SetRemoteComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
33 void NS_AddRemoteComputerAsNameServer( LPCVOID lpNSAddrHdr,
34 DWORD dwHdrSize,
35 LPCDPMSG_ENUMSESSIONSREPLY lpcMsg,
36 LPVOID lpNSInfo );
37 LPVOID NS_GetNSAddr( LPVOID lpNSInfo );
38 DWORD NS_GetNsMagic( LPVOID lpNSInfo );
39 DWORD NS_GetOtherMagic( LPVOID lpNSInfo );
40 void NS_SetLocalAddr( LPVOID lpNSInfo, LPCVOID lpHdr, DWORD dwHdrSize );
42 void NS_ReplyToEnumSessionsRequest( LPCVOID lpcMsg,
43 LPVOID* lplpReplyData,
44 LPDWORD lpdwReplySize,
45 IDirectPlay2Impl* lpDP );
47 HRESULT NS_SendSessionRequestBroadcast( LPCGUID lpcGuid,
48 DWORD dwFlags,
49 const SPINITDATA *lpSpData );
52 BOOL NS_InitializeSessionCache( LPVOID* lplpNSInfo );
53 void NS_DeleteSessionCache( LPVOID lpNSInfo );
54 void NS_InvalidateSessionCache( LPVOID lpNSInfo );
57 void NS_ResetSessionEnumeration( LPVOID lpNSInfo );
58 LPDPSESSIONDESC2 NS_WalkSessions( LPVOID lpNSInfo );
59 void NS_PruneSessionCache( LPVOID lpNSInfo );
61 #endif /* __WINE_DPLAYX_NAMESERVER */