ReactOS 0.4.17-dev-966-gf06eace
name_server.h
Go to the documentation of this file.
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#include <stdarg.h>
23
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"
30
33 DWORD dwHdrSize,
35 DWORD msgSize,
36 LPVOID lpNSInfo );
37void NS_SetLocalAddr( LPVOID lpNSInfo, LPCVOID lpHdr, DWORD dwHdrSize );
38
40 LPVOID* lplpReplyData,
41 LPDWORD lpdwReplySize,
42 IDirectPlayImpl *lpDP );
43
47 const SPINITDATA *lpSpData );
48
49
51void NS_DeleteSessionCache( LPVOID lpNSInfo );
52void NS_InvalidateSessionCache( LPVOID lpNSInfo );
53
54
55void NS_ResetSessionEnumeration( LPVOID lpNSInfo );
56LPDPSESSIONDESC2 NS_WalkSessions( LPVOID lpNSInfo, void **spMessageHeader, BOOL ansi );
57void NS_PruneSessionCache( LPVOID lpNSInfo );
58
59#endif /* __WINE_DPLAYX_NAMESERVER */
static UCHAR password[]
Definition: bcrypt.c:520
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
CONST void * LPCVOID
Definition: minwindef.h:164
HRESULT NS_SendSessionRequestBroadcast(LPCGUID lpcGuid, DWORD dwFlags, WCHAR *password, const SPINITDATA *lpSpData)
Definition: name_server.c:192
void NS_SetLocalComputerAsNameServer(LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo)
Definition: name_server.c:88
BOOL NS_InitializeSessionCache(LPVOID *lplpNSInfo)
Definition: name_server.c:262
void NS_InvalidateSessionCache(LPVOID lpNSInfo)
Definition: name_server.c:245
void NS_AddRemoteComputerAsNameServer(LPCVOID lpNSAddrHdr, DWORD dwHdrSize, LPCDPMSG_ENUMSESSIONSREPLY lpcMsg, DWORD msgSize, LPVOID lpNSInfo)
Definition: name_server.c:101
void NS_ResetSessionEnumeration(LPVOID lpNSInfo)
Definition: name_server.c:290
void NS_ReplyToEnumSessionsRequest(LPCVOID lpcMsg, LPVOID *lplpReplyData, LPDWORD lpdwReplySize, IDirectPlayImpl *lpDP)
void NS_PruneSessionCache(LPVOID lpNSInfo)
Definition: name_server.c:332
LPDPSESSIONDESC2 NS_WalkSessions(LPVOID lpNSInfo, void **spMessageHeader, BOOL ansi)
Definition: name_server.c:306
void NS_SetLocalAddr(LPVOID lpNSInfo, LPCVOID lpHdr, DWORD dwHdrSize)
Definition: name_server.c:180
void NS_DeleteSessionCache(LPVOID lpNSInfo)
Definition: name_server.c:283
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
Definition: netsh.h:141
short WCHAR
Definition: pedump.c:58
uint32_t * LPDWORD
Definition: typedefs.h:59
static UINT WPARAM LPARAM BOOL ansi
Definition: misc.c:135