[AMSTREAM] We don't need to define WIDL_C_INLINE_WRAPPERS here anymore.
[reactos.git] / dll / directx / wine / dplayx / name_server.h
1 /*
2 * Copyright 2000 Peter Hunnisett
3 *
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.
8 *
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.
13 *
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
17 */
18
19 #ifndef __WINE_DPLAYX_NAMESERVER
20 #define __WINE_DPLAYX_NAMESERVER
21
22 void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
23 void NS_AddRemoteComputerAsNameServer( LPCVOID lpNSAddrHdr,
24 DWORD dwHdrSize,
25 LPCDPMSG_ENUMSESSIONSREPLY lpcMsg,
26 LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
27 LPVOID NS_GetNSAddr( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
28 DWORD NS_GetNsMagic( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
29 void NS_SetLocalAddr( LPVOID lpNSInfo, LPCVOID lpHdr, DWORD dwHdrSize ) DECLSPEC_HIDDEN;
30
31 void NS_ReplyToEnumSessionsRequest( LPCVOID lpcMsg,
32 LPVOID* lplpReplyData,
33 LPDWORD lpdwReplySize,
34 IDirectPlayImpl *lpDP ) DECLSPEC_HIDDEN;
35
36 HRESULT NS_SendSessionRequestBroadcast( LPCGUID lpcGuid,
37 DWORD dwFlags,
38 const SPINITDATA *lpSpData ) DECLSPEC_HIDDEN;
39
40
41 BOOL NS_InitializeSessionCache( LPVOID* lplpNSInfo ) DECLSPEC_HIDDEN;
42 void NS_DeleteSessionCache( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
43 void NS_InvalidateSessionCache( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
44
45
46 void NS_ResetSessionEnumeration( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
47 LPDPSESSIONDESC2 NS_WalkSessions( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
48 void NS_PruneSessionCache( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
49
50 #endif /* __WINE_DPLAYX_NAMESERVER */