8#define SHARE_NETNAME_PARMNUM 1
9#define SHARE_TYPE_PARMNUM 3
10#define SHARE_REMARK_PARMNUM 4
11#define SHARE_PERMISSIONS_PARMNUM 5
12#define SHARE_MAX_USES_PARMNUM 6
13#define SHARE_CURRENT_USES_PARMNUM 7
14#define SHARE_PATH_PARMNUM 8
15#define SHARE_PASSWD_PARMNUM 9
16#define SHARE_FILE_SD_PARMNUM 501
17#define SHARE_REMARK_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+SHARE_REMARK_PARMNUM)
18#define SHARE_MAX_USES_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+SHARE_MAX_USES_PARMNUM)
19#define SHARE_FILE_SD_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+SHARE_FILE_SD_PARMNUM)
20#define SHI1_NUM_ELEMENTS 4
21#define SHI2_NUM_ELEMENTS 10
22#define STYPE_DISKTREE 0
27#define STYPE_SPECIAL 0x80000000
28#define SHI_USES_UNLIMITED (DWORD)(-1)
30#define SESS_NOENCRYPTION 2
31#define SESI1_NUM_ELEMENTS 8
32#define SESI2_NUM_ELEMENTS 9
33#define PERM_FILE_READ 1
34#define PERM_FILE_WRITE 2
35#define PERM_FILE_CREATE 4
struct _SHARE_INFO_1 SHARE_INFO_1
NET_API_STATUS WINAPI NetShareDel(LMSTR, LMSTR, DWORD)
NET_API_STATUS WINAPI NetShareSetInfo(LMSTR, LMSTR, DWORD, LPBYTE, LPDWORD)
struct _CONNECTION_INFO_1 * PCONNECTION_INFO_1
struct _FILE_INFO_3 FILE_INFO_3
struct _SHARE_INFO_1004 * LPSHARE_INFO_1004
struct _FILE_INFO_2 * LPFILE_INFO_2
NET_API_STATUS WINAPI NetSessionDel(LMSTR, LMSTR, LMSTR)
struct _FILE_INFO_3 * PFILE_INFO_3
struct _SHARE_INFO_1004 * PSHARE_INFO_1004
struct _SESSION_INFO_1 SESSION_INFO_1
struct _SHARE_INFO_1 * PSHARE_INFO_1
struct _SESSION_INFO_1 * PSESSION_INFO_1
struct _SHARE_INFO_1 * LPSHARE_INFO_1
struct _SESSION_INFO_2 SESSION_INFO_2
struct _CONNECTION_INFO_0 CONNECTION_INFO_0
struct _SHARE_INFO_2 SHARE_INFO_2
struct _SESSION_INFO_1 * LPSESSION_INFO_1
struct _CONNECTION_INFO_0 * LPCONNECTION_INFO_0
NET_API_STATUS WINAPI NetFileClose(LPWSTR, DWORD)
NET_API_STATUS WINAPI NetFileEnum(LMSTR, LMSTR, LMSTR, DWORD, PBYTE *, DWORD, PDWORD, PDWORD, PDWORD_PTR)
NET_API_STATUS WINAPI NetSessionEnum(LMSTR, LMSTR, LMSTR, DWORD, LPBYTE *, DWORD, LPDWORD, LPDWORD, LPDWORD)
struct _SHARE_INFO_502 * LPSHARE_INFO_502
struct _SHARE_INFO_1501 * LPSHARE_INFO_1501
struct _SHARE_INFO_1004 SHARE_INFO_1004
struct _SESSION_INFO_502 * PSESSION_INFO_502
NET_API_STATUS WINAPI NetConnectionEnum(LPWSTR, LPWSTR, DWORD, PBYTE *, DWORD, PDWORD, PDWORD, PDWORD)
NET_API_STATUS WINAPI NetSessionGetInfo(LMSTR, LMSTR, LMSTR, DWORD, LPBYTE *)
struct _SHARE_INFO_2 * PSHARE_INFO_2
struct _SHARE_INFO_0 * PSHARE_INFO_0
NET_API_STATUS WINAPI NetShareEnumSticky(LMSTR, DWORD, LPBYTE *, DWORD, LPDWORD, LPDWORD, LPDWORD)
NET_API_STATUS WINAPI NetShareEnum(LMSTR, DWORD, LPBYTE *, DWORD, LPDWORD, LPDWORD, LPDWORD)
NET_API_STATUS WINAPI NetShareDelSticky(LMSTR, LMSTR, DWORD)
struct _SHARE_INFO_502 * PSHARE_INFO_502
NET_API_STATUS WINAPI NetFileGetInfo(LPWSTR, DWORD, DWORD, PBYTE *)
struct _SESSION_INFO_502 SESSION_INFO_502
struct _SHARE_INFO_1006 * PSHARE_INFO_1006
struct _SHARE_INFO_2 * LPSHARE_INFO_2
struct _SESSION_INFO_0 * LPSESSION_INFO_0
struct _SHARE_INFO_0 SHARE_INFO_0
struct _SESSION_INFO_10 * PSESSION_INFO_10
struct _SHARE_INFO_1501 * PSHARE_INFO_1501
struct _SESSION_INFO_502 * LPSESSION_INFO_502
NET_API_STATUS WINAPI NetShareCheck(LMSTR, LMSTR, LPDWORD)
struct _SESSION_INFO_0 SESSION_INFO_0
struct _FILE_INFO_2 * PFILE_INFO_2
struct _SHARE_INFO_0 * LPSHARE_INFO_0
struct _SHARE_INFO_1006 SHARE_INFO_1006
struct _SESSION_INFO_2 * LPSESSION_INFO_2
struct _SESSION_INFO_2 * PSESSION_INFO_2
struct _SHARE_INFO_1006 * LPSHARE_INFO_1006
struct _SHARE_INFO_502 SHARE_INFO_502
struct _SHARE_INFO_1501 SHARE_INFO_1501
struct _SESSION_INFO_0 * PSESSION_INFO_0
NET_API_STATUS WINAPI NetShareGetInfo(LMSTR, LMSTR, DWORD, LPBYTE *)
struct _CONNECTION_INFO_1 * LPCONNECTION_INFO_1
struct _SESSION_INFO_10 SESSION_INFO_10
struct _SESSION_INFO_10 * LPSESSION_INFO_10
struct _FILE_INFO_2 FILE_INFO_2
struct _CONNECTION_INFO_1 CONNECTION_INFO_1
struct _FILE_INFO_3 * LPFILE_INFO_3
struct _CONNECTION_INFO_0 * PCONNECTION_INFO_0
NET_API_STATUS WINAPI NetShareDelEx(LMSTR, DWORD, LPBYTE)
NET_API_STATUS WINAPI NetShareAdd(LMSTR, DWORD, LPBYTE, LPDWORD)
LPWSTR sesi502_cltype_name
PSECURITY_DESCRIPTOR shi1501_security_descriptor
PSECURITY_DESCRIPTOR shi502_security_descriptor
DWORD shi502_current_uses