2002-03-10 00:29:33 +01:00
|
|
|
/*
|
|
|
|
* 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
|
2006-05-18 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2002-03-10 00:29:33 +01:00
|
|
|
*/
|
|
|
|
|
1999-11-07 06:49:28 +01:00
|
|
|
#ifndef __WINE_LMCONS_H
|
|
|
|
#define __WINE_LMCONS_H
|
|
|
|
|
2002-09-11 04:35:17 +02:00
|
|
|
/* Types */
|
|
|
|
|
|
|
|
#define NET_API_STATUS DWORD
|
2004-10-04 21:16:44 +02:00
|
|
|
#define API_RET_TYPE NET_API_STATUS
|
|
|
|
#define NET_API_FUNCTION WINAPI
|
2002-09-11 04:35:17 +02:00
|
|
|
|
2002-09-23 22:36:50 +02:00
|
|
|
#define MAX_PREFERRED_LENGTH ((DWORD) -1)
|
|
|
|
|
1999-11-07 06:49:28 +01:00
|
|
|
/* Lan manager API defines */
|
|
|
|
|
2006-09-04 18:46:34 +02:00
|
|
|
#define UNLEN 256
|
2004-03-01 22:18:49 +01:00
|
|
|
#define LM20_UNLEN 20
|
2006-09-04 18:46:34 +02:00
|
|
|
#define GNLEN UNLEN
|
2004-03-01 22:18:49 +01:00
|
|
|
#define LM20_GNLEN LM20_UNLEN
|
2006-09-04 18:46:34 +02:00
|
|
|
#define PWLEN 256
|
2004-03-01 22:18:49 +01:00
|
|
|
#define LM20_PWLEN 14
|
2006-09-04 18:46:34 +02:00
|
|
|
#define SHPWLEN 8
|
|
|
|
#define CNLEN 15
|
2004-03-01 22:18:49 +01:00
|
|
|
#define LM20_CNLEN CNLEN
|
2006-09-04 18:46:34 +02:00
|
|
|
#define DNLEN CNLEN
|
2004-03-01 22:18:49 +01:00
|
|
|
#define LM20_DNLEN DNLEN
|
2006-09-04 18:46:34 +02:00
|
|
|
#define UNCLEN (CNLEN+2)
|
2004-03-01 22:18:49 +01:00
|
|
|
#define LM20_UNCLEN (LM20_CNLEN+2)
|
2006-09-04 18:46:34 +02:00
|
|
|
#define NNLEN 80
|
|
|
|
#define LM20_NNLEN 12
|
2004-03-01 22:18:49 +01:00
|
|
|
#define RMLEN (UNCLEN+1+NNLEN)
|
|
|
|
#define LM20_RMLEN (LM20_UNCLEN+1+LM20_NNLEN)
|
2006-09-04 18:46:34 +02:00
|
|
|
#define SNLEN 80
|
2004-03-01 22:18:49 +01:00
|
|
|
#define LM20_SNLEN 15
|
2006-09-04 18:46:34 +02:00
|
|
|
#define STXTLEN 256
|
2004-03-01 22:18:49 +01:00
|
|
|
#define LM20_STXTLEN 63
|
|
|
|
#define PATHLEN 256
|
|
|
|
#define LM20_PATHLEN 256
|
2006-09-04 18:46:34 +02:00
|
|
|
#define DEVLEN 80
|
2004-03-01 22:18:49 +01:00
|
|
|
#define LM20_DEVLEN 8
|
2006-09-04 18:46:34 +02:00
|
|
|
#define EVLEN 16
|
|
|
|
#define CLTYPE_LEN 12
|
1999-11-07 06:49:28 +01:00
|
|
|
|
2003-12-08 22:45:44 +01:00
|
|
|
/* 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
|
2004-03-01 22:18:49 +01:00
|
|
|
|
|
|
|
#define LMSTR LPWSTR
|
|
|
|
#define LMCSTR LPCWSTR
|
|
|
|
|
1999-11-07 06:49:28 +01:00
|
|
|
#endif
|