4 typedef uint32 *ENUM_HND;
6 typedef struct _UNISTR2 {
10 wchar buffer[str_len];
13 typedef UNISTR2 *LPWSTR;
17 uint32 id; /* connection id. */
30 struct CONN_ENUM_CTR {
36 case 0 CONN_INFO_0 info0[num_entries];
37 case 1 CONN_INFO_1 info1[num_entries];
41 struct SRV_R_NET_CONN_ENUM {
49 struct SRV_Q_NET_CONN_ENUM {
62 uint32 id; /* file index */
63 uint32 perms; /* file permissions. don't know what format */
64 uint32 num_locks; /* file locks */
65 LPWSTR path_name; /* file name */
66 LPWSTR user_name; /* file owner */
69 struct SRV_FILE_INFO_CTR {
74 case 3 FILE_INFO_3 info3[num_entries];
78 struct SRV_Q_NET_FILE_ENUM {
84 SRV_FILE_INFO_CTR ctr;
91 struct SRV_R_NET_FILE_ENUM {
95 SRV_FILE_INFO_CTR *ctr;
96 uint32 total_entries; /* total number of files */
98 uint32 status; /* return status */
103 struct SRV_SHARE_INFO_1 {
109 struct SRV_SHARE_INFO_2 {
120 struct SRV_R_NET_SHARE_ENUM {
126 case 1 SRV_SHARE_INFO_1 info1[num_entries];
127 case 2 SRV_SHARE_INFO_2 info2[num_entries];
138 struct SERVER_INFO_100 {
143 struct SERVER_INFO_101 {
152 struct SERVER_INFO_102 {
168 struct SRV_R_NET_SERVER_INFO {
172 case 100 SERVER_INFO_100 sv100;
173 case 101 SERVER_INFO_101 sv101;
174 case 102 SERVER_INFO_102 sv102;
179 struct SRV_Q_NET_SERVER_INFO {