Release 20040914.
[wine/gsoc-2012-control.git] / include / lmwksta.h
blob2db1b6160db27ccc52a45285ce76b52bc09f78b9
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_LMWKSTA_H
20 #define __WINE_LMWKSTA_H
22 #include <lmcons.h>
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
28 typedef struct _WKSTA_TRANSPORT_INFO_0 {
29 DWORD wkti0_quality_of_service;
30 DWORD wkti0_number_of_vcs;
31 LPWSTR wkti0_transport_name;
32 LPWSTR wkti0_transport_address;
33 BOOL wkti0_wan_ish;
34 } WKSTA_TRANSPORT_INFO_0, *PWKSTA_TRANSPORT_INFO_0, *LPWKSTA_TRANSPORT_INFO_0;
36 typedef struct _WKSTA_USER_INFO_0 {
37 LPWSTR wkui0_username;
38 } WKSTA_USER_INFO_0, *PWKSTA_USER_INFO_0, *LPWKSTA_USER_INFO_0;
40 typedef struct _WKSTA_USER_INFO_1 {
41 LPWSTR wkui1_username;
42 LPWSTR wkui1_logon_domain;
43 LPWSTR wkui1_oth_domains;
44 LPWSTR wkui1_logon_server;
45 } WKSTA_USER_INFO_1, *PWKSTA_USER_INFO_1, *LPWKSTA_USER_INFO_1;
47 typedef struct _WKSTA_USER_INFO_1101 {
48 LPWSTR wkui1101_oth_domains;
49 } WKSTA_USER_INFO_1101, *PWKSTA_USER_INFO_1101, *LPWKSTA_USER_INFO_1101;
51 typedef struct _WKSTA_INFO_100 {
52 DWORD wki100_platform_id;
53 LPWSTR wki100_computername;
54 LPWSTR wki100_langroup;
55 DWORD wki100_ver_major;
56 DWORD wki100_ver_minor;
57 } WKSTA_INFO_100, *PWKSTA_INFO_100, *LPWKSTA_INFO_100;
59 typedef struct _WKSTA_INFO_101 {
60 DWORD wki101_platform_id;
61 LPWSTR wki101_computername;
62 LPWSTR wki101_langroup;
63 DWORD wki101_ver_major;
64 DWORD wki101_ver_minor;
65 LPWSTR wki101_lanroot;
66 } WKSTA_INFO_101, *PWKSTA_INFO_101, *LPWKSTA_INFO_101;
68 typedef struct _WKSTA_INFO_102 {
69 DWORD wki102_platform_id;
70 LPWSTR wki102_computername;
71 LPWSTR wki102_langroup;
72 DWORD wki102_ver_major;
73 DWORD wki102_ver_minor;
74 LPWSTR wki102_lanroot;
75 DWORD wki102_logged_on_users;
76 } WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102;
78 /* workstation */
79 NET_API_STATUS WINAPI NetWkstaUserGetInfo(LPWSTR reserved, DWORD level, PBYTE* bufptr);
80 NET_API_STATUS WINAPI NetWkstaGetInfo(LPWSTR servername, DWORD level, PBYTE *bufptr);
82 #ifdef __cplusplus
84 #endif
86 #endif