diff options
author | Earnie Boyd <earnie@users.sf.net> | 2000-11-01 00:37:23 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2000-11-01 00:37:23 +0000 |
commit | baf428f0d58567f532f9085f417f7d799a3d038d (patch) | |
tree | f53e26c6538f422894f3b5c8caf5973177d5e140 /winsup/w32api/include/lmshare.h | |
parent | b12796a06d220e56474d2b28158fda9a193d9f37 (diff) | |
download | cygnal-baf428f0d58567f532f9085f417f7d799a3d038d.tar.gz cygnal-baf428f0d58567f532f9085f417f7d799a3d038d.tar.bz2 cygnal-baf428f0d58567f532f9085f417f7d799a3d038d.zip |
* include/basetyps.h: add comment for GUID_DEFINED
* include/lm.h: add includes for lmerr.h and lmserver.h
* include/lmcons.h: add W2K typedefs LMSTR, LMCSTR
* include/lmerr.h: add error codes
* include/lmserver.h: replace LPTSTR with LPWSTR,
LPTCSTR with LPWCSTR in structures and prototypes
* include/lmshare.h: ditto
* include/lmuse.h: ditto
* include/lmstats.h: ditto
* include/oleauto.h: add function prototype SystemTimeToVariantTime
* include/winbase.h: change first argument of CommConfigDialog to const
* include/windowsx.h: add macros defining FAR versions of
mem and string functions for porting from Win16 code
* include/winioctl.h: added IOCTL_STORAGE defines
* include/winnetwk.h: added WNNC_NET flags
* include/winnt.h: add include of <basetsd.h>;
add structs; add pointer typedefs for TOKEN structs
* include/winsock.h: add guard around BSD-ish typedefs
* include/wtypes.h: new VARENUM enums, new WIN32/WIN64 compat. macros
* include/basetsd.h: new file
* include/raserror.h: ditto
* include/rassapi.h: ditto
* include/ras.h: ditto
comment from Earnie: replaced original ras.h contribution with Danny's
contribution as it is more complete.
* include/rpcndr.h: add default definition for __RPCNDR_H_VERSION__
Diffstat (limited to 'winsup/w32api/include/lmshare.h')
-rw-r--r-- | winsup/w32api/include/lmshare.h | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/winsup/w32api/include/lmshare.h b/winsup/w32api/include/lmshare.h index fa8f3b9aa..326ad8575 100644 --- a/winsup/w32api/include/lmshare.h +++ b/winsup/w32api/include/lmshare.h @@ -3,6 +3,7 @@ #ifdef __cplusplus extern "C" { #endif +#include <lmcons.h> #define SHARE_NETNAME_PARMNUM 1 #define SHARE_TYPE_PARMNUM 3 #define SHARE_REMARK_PARMNUM 4 @@ -77,7 +78,7 @@ typedef struct _SHARE_INFO_1501 { DWORD shi1501_reserved; PSECURITY_DESCRIPTOR shi1501_security_descriptor; } SHARE_INFO_1501,*PSHARE_INFO_1501,*LPSHARE_INFO_1501; -typedef struct _SESSION_INFO_0 { LPTSTR sesi0_cname; } SESSION_INFO_0,*PSESSION_INFO_0,*LPSESSION_INFO_0; +typedef struct _SESSION_INFO_0 { LPWSTR sesi0_cname; } SESSION_INFO_0,*PSESSION_INFO_0,*LPSESSION_INFO_0; typedef struct _SESSION_INFO_1 { LPTSTR sesi1_cname; LPTSTR sesi1_username; @@ -93,23 +94,23 @@ typedef struct _SESSION_INFO_2 { DWORD sesi2_time; DWORD sesi2_idle_time; DWORD sesi2_user_flags; - LPTSTR sesi2_cltype_name; + LPWSTR sesi2_cltype_name; } SESSION_INFO_2,*PSESSION_INFO_2,*LPSESSION_INFO_2; typedef struct _SESSION_INFO_10 { - LPTSTR sesi10_cname; - LPTSTR sesi10_username; + LPWSTR sesi10_cname; + LPWSTR sesi10_username; DWORD sesi10_time; DWORD sesi10_idle_time; } SESSION_INFO_10,*PSESSION_INFO_10,*LPSESSION_INFO_10; typedef struct _SESSION_INFO_502 { - LPTSTR sesi502_cname; - LPTSTR sesi502_username; + LPWSTR sesi502_cname; + LPWSTR sesi502_username; DWORD sesi502_num_opens; DWORD sesi502_time; DWORD sesi502_idle_time; DWORD sesi502_user_flags; - LPTSTR sesi502_cltype_name; - LPTSTR sesi502_transport; + LPWSTR sesi502_cltype_name; + LPWSTR sesi502_transport; } SESSION_INFO_502,*PSESSION_INFO_502,*LPSESSION_INFO_502; typedef struct _CONNECTION_INFO_0 { DWORD coni0_id; } CONNECTION_INFO_0,*PCONNECTION_INFO_0,*LPCONNECTION_INFO_0; typedef struct _CONNECTION_INFO_1 { @@ -118,24 +119,24 @@ typedef struct _CONNECTION_INFO_1 { DWORD coni1_num_opens; DWORD coni1_num_users; DWORD coni1_time; - LPTSTR coni1_username; - LPTSTR coni1_netname; + LPWSTR coni1_username; + LPWSTR coni1_netname; } CONNECTION_INFO_1,*PCONNECTION_INFO_1,*LPCONNECTION_INFO_1; -NET_API_STATUS WINAPI NetShareAdd(LPTSTR,DWORD,PBYTE,PDWORD); -NET_API_STATUS WINAPI NetShareEnum(LPTSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD); -NET_API_STATUS WINAPI NetShareEnumSticky(LPTSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD resume_handle); -NET_API_STATUS WINAPI NetShareGetInfo(LPTSTR,LPTSTR,DWORD,PBYTE*); -NET_API_STATUS WINAPI NetShareSetInfo(LPTSTR,LPTSTR,DWORD,PBYTE,PDWORD); -NET_API_STATUS WINAPI NetShareDel(LPTSTR,LPTSTR,DWORD); -NET_API_STATUS WINAPI NetShareDelSticky(LPTSTR,LPTSTR,DWORD); -NET_API_STATUS WINAPI NetShareCheck(LPTSTR,LPTSTR,PDWORD); -NET_API_STATUS WINAPI NetSessionEnum(LPTSTR,LPTSTR,LPTSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD); -NET_API_STATUS WINAPI NetSessionDel(LPTSTR,LPTSTR,LPTSTR); -NET_API_STATUS WINAPI NetSessionGetInfo(LPTSTR,LPTSTR,LPTSTR,DWORD,PBYTE*); -NET_API_STATUS WINAPI NetConnectionEnum(LPTSTR,LPTSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD); -NET_API_STATUS WINAPI NetFileClose(LPTSTR,DWORD); -NET_API_STATUS WINAPI NetFileEnum(LPTSTR,LPTSTR,LPTSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD); -NET_API_STATUS WINAPI NetFileGetInfo(LPTSTR,DWORD,DWORD,PBYTE*); +NET_API_STATUS WINAPI NetShareAdd(LPWSTR,DWORD,PBYTE,PDWORD); +NET_API_STATUS WINAPI NetShareEnum(LPWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD); +NET_API_STATUS WINAPI NetShareEnumSticky(LPWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD resume_handle); +NET_API_STATUS WINAPI NetShareGetInfo(LPWSTR,LPWSTR,DWORD,PBYTE*); +NET_API_STATUS WINAPI NetShareSetInfo(LPWSTR,LPWSTR,DWORD,PBYTE,PDWORD); +NET_API_STATUS WINAPI NetShareDel(LPWSTR,LPWSTR,DWORD); +NET_API_STATUS WINAPI NetShareDelSticky(LPWSTR,LPWSTR,DWORD); +NET_API_STATUS WINAPI NetShareCheck(LPWSTR,LPWSTR,PDWORD); +NET_API_STATUS WINAPI NetSessionEnum(LPWSTR,LPWSTR,LPWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD); +NET_API_STATUS WINAPI NetSessionDel(LPWSTR,LPWSTR,LPWSTR); +NET_API_STATUS WINAPI NetSessionGetInfo(LPWSTR,LPWSTR,LPWSTR,DWORD,PBYTE*); +NET_API_STATUS WINAPI NetConnectionEnum(LPWSTR,LPWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD); +NET_API_STATUS WINAPI NetFileClose(LPWSTR,DWORD); +NET_API_STATUS WINAPI NetFileEnum(LPWSTR,LPWSTR,LPWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD); +NET_API_STATUS WINAPI NetFileGetInfo(LPWSTR,DWORD,DWORD,PBYTE*); #ifdef __cplusplus } #endif |