winecfg: Add a 256x256 icon.
[wine.git] / include / lmwksta.h
blobb35f28a1b56ebdc7ce205e9afecfbe6a4beb7f35
1 /*
2 * Copyright 2002 Andriy Palamarchuk
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.
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.
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
19 #ifndef __WINE_LMWKSTA_H
20 #define __WINE_LMWKSTA_H
22 #include <lmcons.h>
23 #include <lmuseflg.h>
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 typedef struct _WKSTA_TRANSPORT_INFO_0 {
30 DWORD wkti0_quality_of_service;
31 DWORD wkti0_number_of_vcs;
32 LMSTR wkti0_transport_name;
33 LMSTR wkti0_transport_address;
34 BOOL wkti0_wan_ish;
35 } WKSTA_TRANSPORT_INFO_0, *PWKSTA_TRANSPORT_INFO_0, *LPWKSTA_TRANSPORT_INFO_0;
37 typedef struct _WKSTA_USER_INFO_0 {
38 LMSTR wkui0_username;
39 } WKSTA_USER_INFO_0, *PWKSTA_USER_INFO_0, *LPWKSTA_USER_INFO_0;
41 typedef struct _WKSTA_USER_INFO_1 {
42 LMSTR wkui1_username;
43 LMSTR wkui1_logon_domain;
44 LMSTR wkui1_oth_domains;
45 LMSTR wkui1_logon_server;
46 } WKSTA_USER_INFO_1, *PWKSTA_USER_INFO_1, *LPWKSTA_USER_INFO_1;
48 typedef struct _WKSTA_USER_INFO_1101 {
49 LMSTR wkui1101_oth_domains;
50 } WKSTA_USER_INFO_1101, *PWKSTA_USER_INFO_1101, *LPWKSTA_USER_INFO_1101;
52 typedef struct _WKSTA_INFO_100 {
53 DWORD wki100_platform_id;
54 LMSTR wki100_computername;
55 LMSTR wki100_langroup;
56 DWORD wki100_ver_major;
57 DWORD wki100_ver_minor;
58 } WKSTA_INFO_100, *PWKSTA_INFO_100, *LPWKSTA_INFO_100;
60 typedef struct _WKSTA_INFO_101 {
61 DWORD wki101_platform_id;
62 LMSTR wki101_computername;
63 LMSTR wki101_langroup;
64 DWORD wki101_ver_major;
65 DWORD wki101_ver_minor;
66 LMSTR wki101_lanroot;
67 } WKSTA_INFO_101, *PWKSTA_INFO_101, *LPWKSTA_INFO_101;
69 typedef struct _WKSTA_INFO_102 {
70 DWORD wki102_platform_id;
71 LMSTR wki102_computername;
72 LMSTR wki102_langroup;
73 DWORD wki102_ver_major;
74 DWORD wki102_ver_minor;
75 LMSTR wki102_lanroot;
76 DWORD wki102_logged_on_users;
77 } WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102;
79 /* workstation */
80 NET_API_STATUS WINAPI NetWkstaGetInfo(LMSTR,DWORD,LPBYTE*);
81 NET_API_STATUS WINAPI NetWkstaSetInfo(LMSTR,DWORD,LPBYTE,LPDWORD);
82 NET_API_STATUS WINAPI NetWkstaTransportAdd(LMSTR,DWORD,LPBYTE,LPDWORD);
83 NET_API_STATUS WINAPI NetWkstaTransportDel(LMSTR,LMSTR,DWORD);
84 NET_API_STATUS WINAPI NetWkstaTransportEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
85 NET_API_STATUS WINAPI NetWkstaUserGetInfo(LMSTR,DWORD,LPBYTE*);
86 NET_API_STATUS WINAPI NetWkstaUserSetInfo(LMSTR,DWORD,LPBYTE,LPDWORD);
87 NET_API_STATUS WINAPI NetWkstaUserEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
89 #ifdef __cplusplus
91 #endif
93 #endif