blob: 6bc2faff62692b7fb4a38776dbfcbc28b6a7c2a5 [file] [log] [blame]
Andriy Palamarchukb812c902002-09-11 02:35:17 +00001/*
2 * Copyright 2002 Andriy Palamarchuk
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
Jonathan Ernst360a3f92006-05-18 14:49:52 +020016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Andriy Palamarchukb812c902002-09-11 02:35:17 +000017 */
18
19#ifndef __WINE_LMWKSTA_H
20#define __WINE_LMWKSTA_H
21
22#include <lmcons.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
Uwe Bonnes51e48392003-02-14 23:29:24 +000028typedef struct _WKSTA_TRANSPORT_INFO_0 {
29 DWORD wkti0_quality_of_service;
30 DWORD wkti0_number_of_vcs;
Francois Gouget9fae03b2007-08-08 10:41:51 +020031 LMSTR wkti0_transport_name;
32 LMSTR wkti0_transport_address;
Uwe Bonnes51e48392003-02-14 23:29:24 +000033 BOOL wkti0_wan_ish;
34} WKSTA_TRANSPORT_INFO_0, *PWKSTA_TRANSPORT_INFO_0, *LPWKSTA_TRANSPORT_INFO_0;
35
Andriy Palamarchukb812c902002-09-11 02:35:17 +000036typedef struct _WKSTA_USER_INFO_0 {
Francois Gouget9fae03b2007-08-08 10:41:51 +020037 LMSTR wkui0_username;
Andriy Palamarchukb812c902002-09-11 02:35:17 +000038} WKSTA_USER_INFO_0, *PWKSTA_USER_INFO_0, *LPWKSTA_USER_INFO_0;
39
40typedef struct _WKSTA_USER_INFO_1 {
Francois Gouget9fae03b2007-08-08 10:41:51 +020041 LMSTR wkui1_username;
42 LMSTR wkui1_logon_domain;
43 LMSTR wkui1_oth_domains;
44 LMSTR wkui1_logon_server;
Andriy Palamarchukb812c902002-09-11 02:35:17 +000045} WKSTA_USER_INFO_1, *PWKSTA_USER_INFO_1, *LPWKSTA_USER_INFO_1;
46
47typedef struct _WKSTA_USER_INFO_1101 {
Francois Gouget9fae03b2007-08-08 10:41:51 +020048 LMSTR wkui1101_oth_domains;
Andriy Palamarchukb812c902002-09-11 02:35:17 +000049} WKSTA_USER_INFO_1101, *PWKSTA_USER_INFO_1101, *LPWKSTA_USER_INFO_1101;
50
Juan Lang216a0df2003-12-08 21:45:44 +000051typedef struct _WKSTA_INFO_100 {
52 DWORD wki100_platform_id;
Francois Gouget9fae03b2007-08-08 10:41:51 +020053 LMSTR wki100_computername;
54 LMSTR wki100_langroup;
Juan Lang216a0df2003-12-08 21:45:44 +000055 DWORD wki100_ver_major;
56 DWORD wki100_ver_minor;
57} WKSTA_INFO_100, *PWKSTA_INFO_100, *LPWKSTA_INFO_100;
58
59typedef struct _WKSTA_INFO_101 {
60 DWORD wki101_platform_id;
Francois Gouget9fae03b2007-08-08 10:41:51 +020061 LMSTR wki101_computername;
62 LMSTR wki101_langroup;
Juan Lang216a0df2003-12-08 21:45:44 +000063 DWORD wki101_ver_major;
64 DWORD wki101_ver_minor;
Francois Gouget9fae03b2007-08-08 10:41:51 +020065 LMSTR wki101_lanroot;
Juan Lang216a0df2003-12-08 21:45:44 +000066} WKSTA_INFO_101, *PWKSTA_INFO_101, *LPWKSTA_INFO_101;
67
68typedef struct _WKSTA_INFO_102 {
69 DWORD wki102_platform_id;
Francois Gouget9fae03b2007-08-08 10:41:51 +020070 LMSTR wki102_computername;
71 LMSTR wki102_langroup;
Juan Lang216a0df2003-12-08 21:45:44 +000072 DWORD wki102_ver_major;
73 DWORD wki102_ver_minor;
Francois Gouget9fae03b2007-08-08 10:41:51 +020074 LMSTR wki102_lanroot;
Juan Lang216a0df2003-12-08 21:45:44 +000075 DWORD wki102_logged_on_users;
76} WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102;
77
Andriy Palamarchukb812c902002-09-11 02:35:17 +000078/* workstation */
Francois Gouget9fae03b2007-08-08 10:41:51 +020079NET_API_STATUS WINAPI NetWkstaGetInfo(LMSTR,DWORD,LPBYTE*);
80NET_API_STATUS WINAPI NetWkstaSetInfo(LMSTR,DWORD,LPBYTE,LPDWORD);
81NET_API_STATUS WINAPI NetWkstaTransportAdd(LMSTR,DWORD,LPBYTE,LPDWORD);
82NET_API_STATUS WINAPI NetWkstaTransportDel(LMSTR,LMSTR,DWORD);
83NET_API_STATUS WINAPI NetWkstaTransportEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
84NET_API_STATUS WINAPI NetWkstaUserGetInfo(LMSTR,DWORD,LPBYTE*);
85NET_API_STATUS WINAPI NetWkstaUserSetInfo(LMSTR,DWORD,LPBYTE,LPDWORD);
Vladimir Pankratovee120e02008-07-30 17:07:05 +050086NET_API_STATUS WINAPI NetWkstaUserEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
Andriy Palamarchukb812c902002-09-11 02:35:17 +000087
88#ifdef __cplusplus
89}
90#endif
91
92#endif