4 #pragma GCC system_header
11 #define USE_LOCAL_PARMNUM 1
12 #define USE_REMOTE_PARMNUM 2
13 #define USE_PASSWORD_PARMNUM 3
14 #define USE_ASGTYPE_PARMNUM 4
15 #define USE_USERNAME_PARMNUM 5
16 #define USE_DOMAINNAME_PARMNUM 6
19 #define USE_SESSLOST 2
24 #define USE_WILDCARD ((DWORD)-1)
26 #define USE_SPOOLDEV 1
29 typedef struct _USE_INFO_0
{
32 }USE_INFO_0
,*PUSE_INFO_0
,*LPUSE_INFO_0
;
33 typedef struct _USE_INFO_1
{
41 }USE_INFO_1
,*PUSE_INFO_1
,*LPUSE_INFO_1
;
42 typedef struct _USE_INFO_2
{
51 LPWSTR ui2_domainname
;
52 }USE_INFO_2
,*PUSE_INFO_2
,*LPUSE_INFO_2
;
53 NET_API_STATUS WINAPI
NetUseAdd(LPWSTR
,DWORD
,PBYTE
,PDWORD
);
54 NET_API_STATUS WINAPI
NetUseDel(LPWSTR
,LPWSTR
,DWORD
);
55 NET_API_STATUS WINAPI
NetUseEnum(LPWSTR
,DWORD
,PBYTE
*,DWORD
,PDWORD
,PDWORD
,PDWORD
);
56 NET_API_STATUS WINAPI
NetUseGetInfo(LPWSTR
,LPWSTR
,DWORD
,PBYTE
*);