ReactOS  0.4.13-dev-259-g5ca9c9c
lmshare.h File Reference
#include <lmcons.h>
Include dependency graph for lmshare.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _FILE_INFO_2
 
struct  _FILE_INFO_3
 
struct  _SHARE_INFO_0
 
struct  _SHARE_INFO_1
 
struct  _SHARE_INFO_2
 
struct  _SHARE_INFO_502
 
struct  _SHARE_INFO_1004
 
struct  _SHARE_INFO_1006
 
struct  _SHARE_INFO_1501
 
struct  _SESSION_INFO_0
 
struct  _SESSION_INFO_1
 
struct  _SESSION_INFO_2
 
struct  _SESSION_INFO_10
 
struct  _SESSION_INFO_502
 
struct  _CONNECTION_INFO_0
 
struct  _CONNECTION_INFO_1
 

Macros

#define SHARE_NETNAME_PARMNUM   1
 
#define SHARE_TYPE_PARMNUM   3
 
#define SHARE_REMARK_PARMNUM   4
 
#define SHARE_PERMISSIONS_PARMNUM   5
 
#define SHARE_MAX_USES_PARMNUM   6
 
#define SHARE_CURRENT_USES_PARMNUM   7
 
#define SHARE_PATH_PARMNUM   8
 
#define SHARE_PASSWD_PARMNUM   9
 
#define SHARE_FILE_SD_PARMNUM   501
 
#define SHARE_REMARK_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+SHARE_REMARK_PARMNUM)
 
#define SHARE_MAX_USES_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+SHARE_MAX_USES_PARMNUM)
 
#define SHARE_FILE_SD_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+SHARE_FILE_SD_PARMNUM)
 
#define SHI1_NUM_ELEMENTS   4
 
#define SHI2_NUM_ELEMENTS   10
 
#define STYPE_DISKTREE   0
 
#define STYPE_PRINTQ   1
 
#define STYPE_DEVICE   2
 
#define STYPE_IPC   3
 
#define STYPE_DFS   100
 
#define STYPE_SPECIAL   0x80000000
 
#define SHI_USES_UNLIMITED   (DWORD)(-1)
 
#define SESS_GUEST   1
 
#define SESS_NOENCRYPTION   2
 
#define SESI1_NUM_ELEMENTS   8
 
#define SESI2_NUM_ELEMENTS   9
 
#define PERM_FILE_READ   1
 
#define PERM_FILE_WRITE   2
 
#define PERM_FILE_CREATE   4
 

Typedefs

typedef struct _FILE_INFO_2 FILE_INFO_2
 
typedef struct _FILE_INFO_2PFILE_INFO_2
 
typedef struct _FILE_INFO_2LPFILE_INFO_2
 
typedef struct _FILE_INFO_3 FILE_INFO_3
 
typedef struct _FILE_INFO_3PFILE_INFO_3
 
typedef struct _FILE_INFO_3LPFILE_INFO_3
 
typedef struct _SHARE_INFO_0 SHARE_INFO_0
 
typedef struct _SHARE_INFO_0PSHARE_INFO_0
 
typedef struct _SHARE_INFO_0LPSHARE_INFO_0
 
typedef struct _SHARE_INFO_1 SHARE_INFO_1
 
typedef struct _SHARE_INFO_1PSHARE_INFO_1
 
typedef struct _SHARE_INFO_1LPSHARE_INFO_1
 
typedef struct _SHARE_INFO_2 SHARE_INFO_2
 
typedef struct _SHARE_INFO_2PSHARE_INFO_2
 
typedef struct _SHARE_INFO_2LPSHARE_INFO_2
 
typedef struct _SHARE_INFO_502 SHARE_INFO_502
 
typedef struct _SHARE_INFO_502PSHARE_INFO_502
 
typedef struct _SHARE_INFO_502LPSHARE_INFO_502
 
typedef struct _SHARE_INFO_1004 SHARE_INFO_1004
 
typedef struct _SHARE_INFO_1004PSHARE_INFO_1004
 
typedef struct _SHARE_INFO_1004LPSHARE_INFO_1004
 
typedef struct _SHARE_INFO_1006 SHARE_INFO_1006
 
typedef struct _SHARE_INFO_1006PSHARE_INFO_1006
 
typedef struct _SHARE_INFO_1006LPSHARE_INFO_1006
 
typedef struct _SHARE_INFO_1501 SHARE_INFO_1501
 
typedef struct _SHARE_INFO_1501PSHARE_INFO_1501
 
typedef struct _SHARE_INFO_1501LPSHARE_INFO_1501
 
typedef struct _SESSION_INFO_0 SESSION_INFO_0
 
typedef struct _SESSION_INFO_0PSESSION_INFO_0
 
typedef struct _SESSION_INFO_0LPSESSION_INFO_0
 
typedef struct _SESSION_INFO_1 SESSION_INFO_1
 
typedef struct _SESSION_INFO_1PSESSION_INFO_1
 
typedef struct _SESSION_INFO_1LPSESSION_INFO_1
 
typedef struct _SESSION_INFO_2 SESSION_INFO_2
 
typedef struct _SESSION_INFO_2PSESSION_INFO_2
 
typedef struct _SESSION_INFO_2LPSESSION_INFO_2
 
typedef struct _SESSION_INFO_10 SESSION_INFO_10
 
typedef struct _SESSION_INFO_10PSESSION_INFO_10
 
typedef struct _SESSION_INFO_10LPSESSION_INFO_10
 
typedef struct _SESSION_INFO_502 SESSION_INFO_502
 
typedef struct _SESSION_INFO_502PSESSION_INFO_502
 
typedef struct _SESSION_INFO_502LPSESSION_INFO_502
 
typedef struct _CONNECTION_INFO_0 CONNECTION_INFO_0
 
typedef struct _CONNECTION_INFO_0PCONNECTION_INFO_0
 
typedef struct _CONNECTION_INFO_0LPCONNECTION_INFO_0
 
typedef struct _CONNECTION_INFO_1 CONNECTION_INFO_1
 
typedef struct _CONNECTION_INFO_1PCONNECTION_INFO_1
 
typedef struct _CONNECTION_INFO_1LPCONNECTION_INFO_1
 

Functions

NET_API_STATUS WINAPI NetShareAdd (LMSTR, DWORD, LPBYTE, LPDWORD)
 
NET_API_STATUS WINAPI NetShareCheck (LMSTR, LMSTR, LPDWORD)
 
NET_API_STATUS WINAPI NetShareDel (LMSTR, LMSTR, DWORD)
 
NET_API_STATUS WINAPI NetShareDelEx (LMSTR, DWORD, LPBYTE)
 
NET_API_STATUS WINAPI NetShareDelSticky (LMSTR, LMSTR, DWORD)
 
NET_API_STATUS WINAPI NetShareEnum (LMSTR, DWORD, LPBYTE *, DWORD, LPDWORD, LPDWORD, LPDWORD)
 
NET_API_STATUS WINAPI NetShareEnumSticky (LMSTR, DWORD, LPBYTE *, DWORD, LPDWORD, LPDWORD, LPDWORD)
 
NET_API_STATUS WINAPI NetShareGetInfo (LMSTR, LMSTR, DWORD, LPBYTE *)
 
NET_API_STATUS WINAPI NetShareSetInfo (LMSTR, LMSTR, DWORD, LPBYTE, LPDWORD)
 
NET_API_STATUS WINAPI NetSessionDel (LMSTR, LMSTR, LMSTR)
 
NET_API_STATUS WINAPI NetSessionEnum (LMSTR, LMSTR, LMSTR, DWORD, LPBYTE *, DWORD, LPDWORD, LPDWORD, LPDWORD)
 
NET_API_STATUS WINAPI NetSessionGetInfo (LMSTR, LMSTR, LMSTR, DWORD, LPBYTE *)
 
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 (LMSTR, LMSTR, LMSTR, DWORD, PBYTE *, DWORD, PDWORD, PDWORD, PDWORD_PTR)
 
NET_API_STATUS WINAPI NetFileGetInfo (LPWSTR, DWORD, DWORD, PBYTE *)
 

Macro Definition Documentation

◆ PERM_FILE_CREATE

#define PERM_FILE_CREATE   4

Definition at line 35 of file lmshare.h.

◆ PERM_FILE_READ

#define PERM_FILE_READ   1

Definition at line 33 of file lmshare.h.

◆ PERM_FILE_WRITE

#define PERM_FILE_WRITE   2

Definition at line 34 of file lmshare.h.

◆ SESI1_NUM_ELEMENTS

#define SESI1_NUM_ELEMENTS   8

Definition at line 31 of file lmshare.h.

◆ SESI2_NUM_ELEMENTS

#define SESI2_NUM_ELEMENTS   9

Definition at line 32 of file lmshare.h.

◆ SESS_GUEST

#define SESS_GUEST   1

Definition at line 29 of file lmshare.h.

◆ SESS_NOENCRYPTION

#define SESS_NOENCRYPTION   2

Definition at line 30 of file lmshare.h.

◆ SHARE_CURRENT_USES_PARMNUM

#define SHARE_CURRENT_USES_PARMNUM   7

Definition at line 13 of file lmshare.h.

◆ SHARE_FILE_SD_INFOLEVEL

#define SHARE_FILE_SD_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+SHARE_FILE_SD_PARMNUM)

Definition at line 19 of file lmshare.h.

◆ SHARE_FILE_SD_PARMNUM

#define SHARE_FILE_SD_PARMNUM   501

Definition at line 16 of file lmshare.h.

◆ SHARE_MAX_USES_INFOLEVEL

#define SHARE_MAX_USES_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+SHARE_MAX_USES_PARMNUM)

Definition at line 18 of file lmshare.h.

◆ SHARE_MAX_USES_PARMNUM

#define SHARE_MAX_USES_PARMNUM   6

Definition at line 12 of file lmshare.h.

◆ SHARE_NETNAME_PARMNUM

#define SHARE_NETNAME_PARMNUM   1

Definition at line 8 of file lmshare.h.

◆ SHARE_PASSWD_PARMNUM

#define SHARE_PASSWD_PARMNUM   9

Definition at line 15 of file lmshare.h.

◆ SHARE_PATH_PARMNUM

#define SHARE_PATH_PARMNUM   8

Definition at line 14 of file lmshare.h.

◆ SHARE_PERMISSIONS_PARMNUM

#define SHARE_PERMISSIONS_PARMNUM   5

Definition at line 11 of file lmshare.h.

◆ SHARE_REMARK_INFOLEVEL

#define SHARE_REMARK_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+SHARE_REMARK_PARMNUM)

Definition at line 17 of file lmshare.h.

◆ SHARE_REMARK_PARMNUM

#define SHARE_REMARK_PARMNUM   4

Definition at line 10 of file lmshare.h.

◆ SHARE_TYPE_PARMNUM

#define SHARE_TYPE_PARMNUM   3

Definition at line 9 of file lmshare.h.

◆ SHI1_NUM_ELEMENTS

#define SHI1_NUM_ELEMENTS   4

Definition at line 20 of file lmshare.h.

◆ SHI2_NUM_ELEMENTS

#define SHI2_NUM_ELEMENTS   10

Definition at line 21 of file lmshare.h.

◆ SHI_USES_UNLIMITED

#define SHI_USES_UNLIMITED   (DWORD)(-1)

Definition at line 28 of file lmshare.h.

◆ STYPE_DEVICE

#define STYPE_DEVICE   2

Definition at line 24 of file lmshare.h.

◆ STYPE_DFS

#define STYPE_DFS   100

Definition at line 26 of file lmshare.h.

◆ STYPE_DISKTREE

#define STYPE_DISKTREE   0

Definition at line 22 of file lmshare.h.

◆ STYPE_IPC

#define STYPE_IPC   3

Definition at line 25 of file lmshare.h.

◆ STYPE_PRINTQ

#define STYPE_PRINTQ   1

Definition at line 23 of file lmshare.h.

◆ STYPE_SPECIAL

#define STYPE_SPECIAL   0x80000000

Definition at line 27 of file lmshare.h.

Typedef Documentation

◆ CONNECTION_INFO_0

◆ CONNECTION_INFO_1

◆ FILE_INFO_2

◆ FILE_INFO_3

◆ LPCONNECTION_INFO_0

◆ LPCONNECTION_INFO_1

◆ LPFILE_INFO_2

◆ LPFILE_INFO_3

◆ LPSESSION_INFO_0

◆ LPSESSION_INFO_1

◆ LPSESSION_INFO_10

◆ LPSESSION_INFO_2

◆ LPSESSION_INFO_502

◆ LPSHARE_INFO_0

◆ LPSHARE_INFO_1

◆ LPSHARE_INFO_1004

◆ LPSHARE_INFO_1006

◆ LPSHARE_INFO_1501

◆ LPSHARE_INFO_2

◆ LPSHARE_INFO_502

◆ PCONNECTION_INFO_0

◆ PCONNECTION_INFO_1

◆ PFILE_INFO_2

◆ PFILE_INFO_3

◆ PSESSION_INFO_0

◆ PSESSION_INFO_1

◆ PSESSION_INFO_10

◆ PSESSION_INFO_2

◆ PSESSION_INFO_502

◆ PSHARE_INFO_0

◆ PSHARE_INFO_1

◆ PSHARE_INFO_1004

◆ PSHARE_INFO_1006

◆ PSHARE_INFO_1501

◆ PSHARE_INFO_2

◆ PSHARE_INFO_502

◆ SESSION_INFO_0

◆ SESSION_INFO_1

◆ SESSION_INFO_10

◆ SESSION_INFO_2

◆ SESSION_INFO_502

◆ SHARE_INFO_0

◆ SHARE_INFO_1

◆ SHARE_INFO_1004

◆ SHARE_INFO_1006

◆ SHARE_INFO_1501

◆ SHARE_INFO_2

◆ SHARE_INFO_502

Function Documentation

◆ NetConnectionEnum()

NET_API_STATUS WINAPI NetConnectionEnum ( LPWSTR  ,
LPWSTR  ,
DWORD  ,
PBYTE ,
DWORD  ,
PDWORD  ,
PDWORD  ,
PDWORD   
)

◆ NetFileClose()

NET_API_STATUS WINAPI NetFileClose ( LPWSTR  ,
DWORD   
)

◆ NetFileEnum()

NET_API_STATUS WINAPI NetFileEnum ( LMSTR  ,
LMSTR  ,
LMSTR  ,
DWORD  ,
PBYTE ,
DWORD  ,
PDWORD  ,
PDWORD  ,
PDWORD_PTR   
)

◆ NetFileGetInfo()

NET_API_STATUS WINAPI NetFileGetInfo ( LPWSTR  ,
DWORD  ,
DWORD  ,
PBYTE  
)

◆ NetSessionDel()

NET_API_STATUS WINAPI NetSessionDel ( LMSTR  ,
LMSTR  ,
LMSTR   
)

◆ NetSessionEnum()

NET_API_STATUS WINAPI NetSessionEnum ( LMSTR  ,
LMSTR  ,
LMSTR  ,
DWORD  ,
LPBYTE ,
DWORD  ,
LPDWORD  ,
LPDWORD  ,
LPDWORD   
)

◆ NetSessionGetInfo()

NET_API_STATUS WINAPI NetSessionGetInfo ( LMSTR  ,
LMSTR  ,
LMSTR  ,
DWORD  ,
LPBYTE  
)

◆ NetShareAdd()

NET_API_STATUS WINAPI NetShareAdd ( LMSTR  ,
DWORD  ,
LPBYTE  ,
LPDWORD   
)

◆ NetShareCheck()

NET_API_STATUS WINAPI NetShareCheck ( LMSTR  ,
LMSTR  ,
LPDWORD   
)

◆ NetShareDel()

NET_API_STATUS WINAPI NetShareDel ( LMSTR  ,
LMSTR  ,
DWORD   
)

◆ NetShareDelEx()

NET_API_STATUS WINAPI NetShareDelEx ( LMSTR  ,
DWORD  ,
LPBYTE   
)

◆ NetShareDelSticky()

NET_API_STATUS WINAPI NetShareDelSticky ( LMSTR  ,
LMSTR  ,
DWORD   
)

◆ NetShareEnum()

NET_API_STATUS WINAPI NetShareEnum ( LMSTR  ,
DWORD  ,
LPBYTE ,
DWORD  ,
LPDWORD  ,
LPDWORD  ,
LPDWORD   
)

◆ NetShareEnumSticky()

NET_API_STATUS WINAPI NetShareEnumSticky ( LMSTR  ,
DWORD  ,
LPBYTE ,
DWORD  ,
LPDWORD  ,
LPDWORD  ,
LPDWORD   
)

◆ NetShareGetInfo()

NET_API_STATUS WINAPI NetShareGetInfo ( LMSTR  ,
LMSTR  ,
DWORD  ,
LPBYTE  
)

◆ NetShareSetInfo()

NET_API_STATUS WINAPI NetShareSetInfo ( LMSTR  ,
LMSTR  ,
DWORD  ,
LPBYTE  ,
LPDWORD   
)