Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d75dbbc0
Commit
d75dbbc0
authored
Nov 13, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add some missing defines.
parent
7519cddd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
lmaccess.h
include/lmaccess.h
+11
-0
lmshare.h
include/lmshare.h
+24
-0
No files found.
include/lmaccess.h
View file @
d75dbbc0
...
@@ -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
...
...
include/lmshare.h
View file @
d75dbbc0
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment