VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/lmserver.h@ 33252

Last change on this file since 33252 was 28475, checked in by vboxsync, 15 years ago

crOpenGL: update to wine 1.1.43

  • Property svn:eol-style set to native
File size: 3.4 KB
Line 
1/*
2 * Copyright (C) 2003 Juan Lang
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/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef _LMSERVER_
29#define _LMSERVER_
30
31#include <winsvc.h>
32#include <lmcons.h>
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38typedef struct _SERVER_INFO_100 {
39 DWORD sv100_platform_id;
40 LMSTR sv100_name;
41} SERVER_INFO_100, *PSERVER_INFO_100, *LPSERVER_INFO_100;
42
43typedef struct _SERVER_INFO_101 {
44 DWORD sv101_platform_id;
45 LMSTR sv101_name;
46 DWORD sv101_version_major;
47 DWORD sv101_version_minor;
48 DWORD sv101_type;
49 LMSTR sv101_comment;
50} SERVER_INFO_101, *PSERVER_INFO_101, *LPSERVER_INFO_101;
51
52NET_API_STATUS WINAPI NetServerEnum(LMCSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,DWORD,LMCSTR,LPDWORD);
53NET_API_STATUS WINAPI NetServerEnumEx(LMCSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,DWORD,LMCSTR,LMCSTR);
54NET_API_STATUS WINAPI NetServerGetInfo(LMSTR,DWORD,LPBYTE*);
55BOOL WINAPI SetServiceBits(SERVICE_STATUS_HANDLE,DWORD,BOOL,BOOL);
56
57#define SV_TYPE_WORKSTATION 0x00000001
58#define SV_TYPE_SERVER 0x00000002
59#define SV_TYPE_SQLSERVER 0x00000004
60#define SV_TYPE_DOMAIN_CTRL 0x00000008
61#define SV_TYPE_DOMAIN_BAKCTRL 0x00000010
62#define SV_TYPE_TIME_SOURCE 0x00000020
63#define SV_TYPE_AFP 0x00000040
64#define SV_TYPE_NOVELL 0x00000080
65#define SV_TYPE_DOMAIN_MEMBER 0x00000100
66#define SV_TYPE_PRINTQ_SERVER 0x00000200
67#define SV_TYPE_DIALIN_SERVER 0x00000400
68#define SV_TYPE_XENIX_SERVER 0x00000800
69#define SV_TYPE_SERVER_UNIX SV_TYPE_XENIX_SERVER
70#define SV_TYPE_NT 0x00001000
71#define SV_TYPE_WFW 0x00002000
72#define SV_TYPE_SERVER_MFPN 0x00004000
73#define SV_TYPE_SERVER_NT 0x00008000
74#define SV_TYPE_POTENTIAL_BROWSER 0x00010000
75#define SV_TYPE_BACKUP_BROWSER 0x00020000
76#define SV_TYPE_MASTER_BROWSER 0x00040000
77#define SV_TYPE_DOMAIN_MASTER 0x00080000
78#define SV_TYPE_SERVER_OSF 0x00100000
79#define SV_TYPE_SERVER_VMS 0x00200000
80#define SV_TYPE_WINDOWS 0x00400000
81#define SV_TYPE_DFS 0x00800000
82#define SV_TYPE_ALTERNATE_XPORT 0x20000000
83#define SV_TYPE_LOCAL_LIST_ONLY 0x40000000
84#define SV_TYPE_DOMAIN_ENUM 0x80000000
85#define SV_TYPE_ALL 0xFFFFFFFF
86
87#ifdef __cplusplus
88}
89#endif
90
91#endif /* ndef _LMSERVER_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette