Move resize memory block to winedos and make it resize in place and
[wine] / include / lmwksta.h
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #ifndef __WINE_LMWKSTA_H
20 #define __WINE_LMWKSTA_H
21
22 #include <lmcons.h>
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 /* NetBIOS */
29 UCHAR WINAPI Netbios(PNCB pncb);
30
31 typedef struct _WKSTA_TRANSPORT_INFO_0 {
32   DWORD wkti0_quality_of_service;
33   DWORD wkti0_number_of_vcs;
34   LPWSTR wkti0_transport_name;
35   LPWSTR wkti0_transport_address;
36   BOOL wkti0_wan_ish;
37 } WKSTA_TRANSPORT_INFO_0, *PWKSTA_TRANSPORT_INFO_0, *LPWKSTA_TRANSPORT_INFO_0;
38
39 typedef struct _WKSTA_USER_INFO_0 {
40     LPWSTR  wkui0_username;
41 } WKSTA_USER_INFO_0, *PWKSTA_USER_INFO_0, *LPWKSTA_USER_INFO_0;
42
43 typedef struct _WKSTA_USER_INFO_1 {
44     LPWSTR  wkui1_username;
45     LPWSTR  wkui1_logon_domain;
46     LPWSTR  wkui1_oth_domains;
47     LPWSTR  wkui1_logon_server;
48 } WKSTA_USER_INFO_1, *PWKSTA_USER_INFO_1, *LPWKSTA_USER_INFO_1;
49
50 typedef struct _WKSTA_USER_INFO_1101 {
51     LPWSTR  wkui1101_oth_domains;
52 } WKSTA_USER_INFO_1101, *PWKSTA_USER_INFO_1101, *LPWKSTA_USER_INFO_1101;
53
54 /* workstation */
55 NET_API_STATUS WINAPI NetWkstaUserGetInfo(LPWSTR reserved, DWORD level, PBYTE* bufptr);
56
57 #ifdef __cplusplus
58 }
59 #endif
60
61 #endif