ReactOS  0.4.15-dev-494-g1d8c567
lmuse.h
Go to the documentation of this file.
1 #ifndef _LMUSE_H
2 #define _LMUSE_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 #include <lmuseflg.h>
8 #define USE_LOCAL_PARMNUM 1
9 #define USE_REMOTE_PARMNUM 2
10 #define USE_PASSWORD_PARMNUM 3
11 #define USE_ASGTYPE_PARMNUM 4
12 #define USE_USERNAME_PARMNUM 5
13 #define USE_DOMAINNAME_PARMNUM 6
14 #define USE_OK 0
15 #define USE_PAUSED 1
16 #define USE_SESSLOST 2
17 #define USE_DISCONN 2
18 #define USE_NETERR 3
19 #define USE_CONN 4
20 #define USE_RECONN 5
21 #define USE_WILDCARD ((DWORD)-1)
22 #define USE_DISKDEV 0
23 #define USE_SPOOLDEV 1
24 #define USE_CHARDEV 2
25 #define USE_IPC 3
26 typedef struct _USE_INFO_0 {
30 typedef struct _USE_INFO_1 {
39 typedef struct _USE_INFO_2 {
54 #ifdef __cplusplus
55 }
56 #endif
57 #endif
struct _USE_INFO_2 USE_INFO_2
LPWSTR ui1_local
Definition: lmuse.h:31
struct _USE_INFO_1 * PUSE_INFO_1
LPWSTR ui2_password
Definition: lmuse.h:42
LPWSTR ui1_password
Definition: lmuse.h:33
struct _USE_INFO_0 USE_INFO_0
NET_API_STATUS WINAPI NetUseEnum(LPWSTR, DWORD, PBYTE *, DWORD, PDWORD, PDWORD, PDWORD)
DWORD ui1_asg_type
Definition: lmuse.h:35
LPWSTR ui2_remote
Definition: lmuse.h:41
NET_API_STATUS WINAPI NetUseGetInfo(LPWSTR, LPWSTR, DWORD, PBYTE *)
DWORD ui1_refcount
Definition: lmuse.h:36
struct _USE_INFO_1 USE_INFO_1
DWORD ui1_usecount
Definition: lmuse.h:37
DWORD NET_API_STATUS
Definition: ms-dtyp.idl:91
struct _USE_INFO_2 * LPUSE_INFO_2
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
LPWSTR ui0_local
Definition: lmuse.h:27
DWORD ui2_usecount
Definition: lmuse.h:46
NET_API_STATUS WINAPI NetUseDel(LPWSTR, LPWSTR, DWORD)
NET_API_STATUS WINAPI NetUseAdd(LPWSTR, DWORD, PBYTE, PDWORD)
LPWSTR ui2_domainname
Definition: lmuse.h:48
struct _USE_INFO_0 * LPUSE_INFO_0
LPWSTR ui2_local
Definition: lmuse.h:40
LPWSTR ui1_remote
Definition: lmuse.h:32
DWORD ui2_refcount
Definition: lmuse.h:45
DWORD ui2_status
Definition: lmuse.h:43
DWORD ui1_status
Definition: lmuse.h:34
DWORD * PDWORD
Definition: pedump.c:68
struct _USE_INFO_0 * PUSE_INFO_0
struct _USE_INFO_2 * PUSE_INFO_2
struct _USE_INFO_1 * LPUSE_INFO_1
LPWSTR ui0_remote
Definition: lmuse.h:28
WCHAR * LPWSTR
Definition: xmlstorage.h:184
LPWSTR ui2_username
Definition: lmuse.h:47
DWORD ui2_asg_type
Definition: lmuse.h:44
BYTE * PBYTE
Definition: pedump.c:66