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
ae1fde03
Commit
ae1fde03
authored
Feb 18, 2007
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32: Add a stub implementation for NetShareDel. Improve the stub for NetUserGetLocalGroups.
parent
4270d13b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
2 deletions
+27
-2
access.c
dlls/netapi32/access.c
+15
-1
netapi32.spec
dlls/netapi32/netapi32.spec
+1
-1
share.c
dlls/netapi32/share.c
+9
-0
lmaccess.h
include/lmaccess.h
+1
-0
lmshare.h
include/lmshare.h
+1
-0
No files found.
dlls/netapi32/access.c
View file @
ae1fde03
...
...
@@ -310,10 +310,24 @@ NetUserGetLocalGroups(LPCWSTR servername, LPCWSTR username, DWORD level,
DWORD
flags
,
LPBYTE
*
bufptr
,
DWORD
prefmaxlen
,
LPDWORD
entriesread
,
LPDWORD
totalentries
)
{
NET_API_STATUS
status
;
FIXME
(
"(%s, %s, %d, %08x, %p %d, %p, %p) stub!
\n
"
,
debugstr_w
(
servername
),
debugstr_w
(
username
),
level
,
flags
,
bufptr
,
prefmaxlen
,
entriesread
,
totalentries
);
return
NERR_InternalError
;
status
=
NETAPI_ValidateServername
(
servername
);
if
(
status
!=
NERR_Success
)
return
status
;
if
(
!
NETAPI_IsKnownUser
(
username
))
return
NERR_UserNotFound
;
if
(
bufptr
)
*
bufptr
=
NULL
;
if
(
entriesread
)
*
entriesread
=
0
;
if
(
totalentries
)
*
totalentries
=
0
;
return
NERR_Success
;
}
/************************************************************
...
...
dlls/netapi32/netapi32.spec
View file @
ae1fde03
...
...
@@ -190,7 +190,7 @@
@ stub NetSessionGetInfo
@ stub NetShareAdd
@ stub NetShareCheck
@ st
ub NetShareDel
@ st
dcall NetShareDel(wstr wstr long)
@ stub NetShareDelSticky
@ stdcall NetShareEnum(wstr long ptr long ptr ptr ptr)
@ stub NetShareEnumSticky
...
...
dlls/netapi32/share.c
View file @
ae1fde03
...
...
@@ -83,3 +83,12 @@ NET_API_STATUS WINAPI NetShareEnum( LPWSTR servername, DWORD level, LPBYTE* bufp
return
ERROR_NOT_SUPPORTED
;
}
/************************************************************
* NetShareDel (NETAPI32.@)
*/
NET_API_STATUS
WINAPI
NetShareDel
(
LMSTR
servername
,
LMSTR
netname
,
DWORD
reserved
)
{
FIXME
(
"Stub (%s %s %d)
\n
"
,
debugstr_w
(
servername
),
debugstr_w
(
netname
),
reserved
);
return
NERR_Success
;
}
include/lmaccess.h
View file @
ae1fde03
...
...
@@ -458,6 +458,7 @@ NET_API_STATUS WINAPI NetLocalGroupSetMembers(LPCWSTR,LPCWSTR,DWORD,LPBYTE,DWORD
NET_API_STATUS
WINAPI
NetQueryDisplayInformation
(
LPCWSTR
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
LPDWORD
,
PVOID
*
);
NET_API_STATUS
WINAPI
NetUserAdd
(
LPCWSTR
,
DWORD
,
LPBYTE
,
LPDWORD
);
NET_API_STATUS
WINAPI
NetUserDel
(
LPCWSTR
,
LPCWSTR
);
NET_API_STATUS
WINAPI
NetUserGetLocalGroups
(
LPCWSTR
,
LPCWSTR
,
DWORD
,
DWORD
,
LPBYTE
*
,
DWORD
,
LPDWORD
,
LPDWORD
);
NET_API_STATUS
WINAPI
NetUserEnum
(
LPCWSTR
,
DWORD
,
DWORD
,
LPBYTE
*
,
DWORD
,
LPDWORD
,
LPDWORD
,
LPDWORD
);
NET_API_STATUS
WINAPI
NetUserGetInfo
(
LPCWSTR
,
LPCWSTR
,
DWORD
,
LPBYTE
*
);
NET_API_STATUS
WINAPI
NetUserModalsGet
(
LPCWSTR
,
DWORD
,
LPBYTE
*
);
...
...
include/lmshare.h
View file @
ae1fde03
...
...
@@ -32,6 +32,7 @@ typedef struct _SHARE_INFO_1 {
LMSTR
shi1_remark
;
}
SHARE_INFO_1
,
*
PSHARE_INFO_1
,
*
LPSHARE_INFO_1
;
NET_API_STATUS
WINAPI
NetShareDel
(
LMSTR
servername
,
LMSTR
netname
,
DWORD
reserved
);
NET_API_STATUS
WINAPI
NetShareEnum
(
LMSTR
servername
,
DWORD
level
,
LPBYTE
*
bufptr
,
DWORD
prefmaxlen
,
LPDWORD
entriesread
,
LPDWORD
totalentries
,
LPDWORD
resume_handle
);
...
...
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