1 | /*
|
---|
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
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Oracle 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, Oracle 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 __WINE_LMWKSTA_H
|
---|
29 | #define __WINE_LMWKSTA_H
|
---|
30 |
|
---|
31 | #include <lmcons.h>
|
---|
32 |
|
---|
33 | #ifdef __cplusplus
|
---|
34 | extern "C" {
|
---|
35 | #endif
|
---|
36 |
|
---|
37 | typedef struct _WKSTA_TRANSPORT_INFO_0 {
|
---|
38 | DWORD wkti0_quality_of_service;
|
---|
39 | DWORD wkti0_number_of_vcs;
|
---|
40 | LMSTR wkti0_transport_name;
|
---|
41 | LMSTR wkti0_transport_address;
|
---|
42 | BOOL wkti0_wan_ish;
|
---|
43 | } WKSTA_TRANSPORT_INFO_0, *PWKSTA_TRANSPORT_INFO_0, *LPWKSTA_TRANSPORT_INFO_0;
|
---|
44 |
|
---|
45 | typedef struct _WKSTA_USER_INFO_0 {
|
---|
46 | LMSTR wkui0_username;
|
---|
47 | } WKSTA_USER_INFO_0, *PWKSTA_USER_INFO_0, *LPWKSTA_USER_INFO_0;
|
---|
48 |
|
---|
49 | typedef struct _WKSTA_USER_INFO_1 {
|
---|
50 | LMSTR wkui1_username;
|
---|
51 | LMSTR wkui1_logon_domain;
|
---|
52 | LMSTR wkui1_oth_domains;
|
---|
53 | LMSTR wkui1_logon_server;
|
---|
54 | } WKSTA_USER_INFO_1, *PWKSTA_USER_INFO_1, *LPWKSTA_USER_INFO_1;
|
---|
55 |
|
---|
56 | typedef struct _WKSTA_USER_INFO_1101 {
|
---|
57 | LMSTR wkui1101_oth_domains;
|
---|
58 | } WKSTA_USER_INFO_1101, *PWKSTA_USER_INFO_1101, *LPWKSTA_USER_INFO_1101;
|
---|
59 |
|
---|
60 | typedef struct _WKSTA_INFO_100 {
|
---|
61 | DWORD wki100_platform_id;
|
---|
62 | LMSTR wki100_computername;
|
---|
63 | LMSTR wki100_langroup;
|
---|
64 | DWORD wki100_ver_major;
|
---|
65 | DWORD wki100_ver_minor;
|
---|
66 | } WKSTA_INFO_100, *PWKSTA_INFO_100, *LPWKSTA_INFO_100;
|
---|
67 |
|
---|
68 | typedef struct _WKSTA_INFO_101 {
|
---|
69 | DWORD wki101_platform_id;
|
---|
70 | LMSTR wki101_computername;
|
---|
71 | LMSTR wki101_langroup;
|
---|
72 | DWORD wki101_ver_major;
|
---|
73 | DWORD wki101_ver_minor;
|
---|
74 | LMSTR wki101_lanroot;
|
---|
75 | } WKSTA_INFO_101, *PWKSTA_INFO_101, *LPWKSTA_INFO_101;
|
---|
76 |
|
---|
77 | typedef struct _WKSTA_INFO_102 {
|
---|
78 | DWORD wki102_platform_id;
|
---|
79 | LMSTR wki102_computername;
|
---|
80 | LMSTR wki102_langroup;
|
---|
81 | DWORD wki102_ver_major;
|
---|
82 | DWORD wki102_ver_minor;
|
---|
83 | LMSTR wki102_lanroot;
|
---|
84 | DWORD wki102_logged_on_users;
|
---|
85 | } WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102;
|
---|
86 |
|
---|
87 | /* workstation */
|
---|
88 | NET_API_STATUS WINAPI NetWkstaGetInfo(LMSTR,DWORD,LPBYTE*);
|
---|
89 | NET_API_STATUS WINAPI NetWkstaSetInfo(LMSTR,DWORD,LPBYTE,LPDWORD);
|
---|
90 | NET_API_STATUS WINAPI NetWkstaTransportAdd(LMSTR,DWORD,LPBYTE,LPDWORD);
|
---|
91 | NET_API_STATUS WINAPI NetWkstaTransportDel(LMSTR,LMSTR,DWORD);
|
---|
92 | NET_API_STATUS WINAPI NetWkstaTransportEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
|
---|
93 | NET_API_STATUS WINAPI NetWkstaUserGetInfo(LMSTR,DWORD,LPBYTE*);
|
---|
94 | NET_API_STATUS WINAPI NetWkstaUserSetInfo(LMSTR,DWORD,LPBYTE,LPDWORD);
|
---|
95 | NET_API_STATUS WINAPI NetWkstaUserEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
|
---|
96 |
|
---|
97 | #ifdef __cplusplus
|
---|
98 | }
|
---|
99 | #endif
|
---|
100 |
|
---|
101 | #endif
|
---|