summaryrefslogtreecommitdiffstats
path: root/src/VBox/Devices/Graphics/shaderlib/wine/include/lmcons.h
blob: dea8082e43e659534a85c8dec06deecbaccde985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*
 * Copyright (C) 1999 Rein Klazes
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

/*
 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
 * a choice of LGPL license versions is made available with the language indicating
 * that LGPLv2 or any later version may be used, or where a choice of which version
 * of the LGPL is applied is otherwise unspecified.
 */

#ifndef __WINE_LMCONS_H
#define __WINE_LMCONS_H

/* Types */

#define NET_API_STATUS          DWORD
#define API_RET_TYPE            NET_API_STATUS
#define NET_API_FUNCTION        WINAPI

#define MAX_PREFERRED_LENGTH            ((DWORD) -1)

/* Lan manager API defines */

#define UNLEN       256
#define LM20_UNLEN  20
#define GNLEN       UNLEN
#define LM20_GNLEN  LM20_UNLEN
#define PWLEN       256
#define LM20_PWLEN  14
#define SHPWLEN     8
#define CNLEN       15
#define LM20_CNLEN  CNLEN
#define DNLEN       CNLEN
#define LM20_DNLEN  DNLEN
#define UNCLEN      (CNLEN+2)
#define LM20_UNCLEN (LM20_CNLEN+2)
#define NNLEN       80
#define LM20_NNLEN  12
#define RMLEN       (UNCLEN+1+NNLEN)
#define LM20_RMLEN  (LM20_UNCLEN+1+LM20_NNLEN)
#define SNLEN       80
#define LM20_SNLEN  15
#define STXTLEN     256
#define LM20_STXTLEN 63
#define PATHLEN     256
#define LM20_PATHLEN 256
#define DEVLEN      80
#define LM20_DEVLEN 8
#define EVLEN       16
#define CLTYPE_LEN  12

/* platform IDs */
#define PLATFORM_ID_DOS 300
#define PLATFORM_ID_OS2 400
#define PLATFORM_ID_NT  500
#define PLATFORM_ID_OSF 600
#define PLATFORM_ID_VMS 700

#define LMSTR LPWSTR
#define LMCSTR LPCWSTR

#endif