Commit d75dbbc0 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

include: Add some missing defines.

parent 7519cddd
...@@ -27,6 +27,17 @@ extern "C" { ...@@ -27,6 +27,17 @@ extern "C" {
#include <lmcons.h> #include <lmcons.h>
#define ACCESS_NONE 0x0000
#define ACCESS_READ 0x0001
#define ACCESS_WRITE 0x0002
#define ACCESS_CREATE 0x0004
#define ACCESS_EXEC 0x0008
#define ACCESS_DELETE 0x0010
#define ACCESS_ATRIB 0x0020
#define ACCESS_PERM 0x0040
#define ACCESS_GROUP 0x8000
#define ACCESS_ALL (ACCESS_READ|ACCESS_WRITE|ACCESS_CREATE|ACCESS_EXEC|ACCESS_DELETE|ACCESS_ATRIB|ACCESS_PERM)
#define UF_SCRIPT 0x000001 #define UF_SCRIPT 0x000001
#define UF_ACCOUNTDISABLE 0x000002 #define UF_ACCOUNTDISABLE 0x000002
#define UF_HOMEDIR_REQUIRED 0x000008 #define UF_HOMEDIR_REQUIRED 0x000008
......
...@@ -34,6 +34,30 @@ typedef struct _SHARE_INFO_1 { ...@@ -34,6 +34,30 @@ typedef struct _SHARE_INFO_1 {
LMSTR shi1_remark; LMSTR shi1_remark;
} SHARE_INFO_1, *PSHARE_INFO_1, *LPSHARE_INFO_1; } SHARE_INFO_1, *PSHARE_INFO_1, *LPSHARE_INFO_1;
typedef struct _SHARE_INFO_2 {
LMSTR shi2_netname;
DWORD shi2_type;
LMSTR shi2_remark;
DWORD shi2_permissions;
DWORD shi2_max_uses;
DWORD shi2_current_uses;
LMSTR shi2_path;
LMSTR shi2_passwd;
} SHARE_INFO_2, *PSHARE_INFO_2, *LPSHARE_INFO_2;
typedef struct _SHARE_INFO_502 {
LMSTR shi502_netname;
DWORD shi502_type;
LMSTR shi502_remark;
DWORD shi502_permissions;
DWORD shi502_max_uses;
DWORD shi502_current_uses;
LMSTR shi502_path;
LMSTR shi502_passwd;
DWORD shi502_reserved;
PSECURITY_DESCRIPTOR shi502_security_descriptor;
} SHARE_INFO_502, *PSHARE_INFO_502, *LPSHARE_INFO_502;
NET_API_STATUS WINAPI NetShareAdd(LMSTR,DWORD,LPBYTE,LPDWORD); NET_API_STATUS WINAPI NetShareAdd(LMSTR,DWORD,LPBYTE,LPDWORD);
NET_API_STATUS WINAPI NetShareCheck(LMSTR,LMSTR,LPDWORD); NET_API_STATUS WINAPI NetShareCheck(LMSTR,LMSTR,LPDWORD);
NET_API_STATUS WINAPI NetShareDel(LMSTR,LMSTR,DWORD); NET_API_STATUS WINAPI NetShareDel(LMSTR,LMSTR,DWORD);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment