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
4680f639
Commit
4680f639
authored
Jun 05, 2011
by
Louis Lenders
Committed by
Alexandre Julliard
Jun 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32: Fill the data buffer with something useful in NetLocalGroupGetInfo.
parent
4fbb13a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
local_group.c
dlls/netapi32/local_group.c
+17
-1
No files found.
dlls/netapi32/local_group.c
View file @
4680f639
...
...
@@ -145,8 +145,24 @@ NET_API_STATUS WINAPI NetLocalGroupGetInfo(
DWORD
level
,
LPBYTE
*
bufptr
)
{
FIXME
(
"(%s %s %d %p) stub!
\n
"
,
debugstr_w
(
servername
),
static
const
WCHAR
commentW
[]
=
{
'N'
,
'o'
,
' '
,
'c'
,
'o'
,
'm'
,
'm'
,
'e'
,
'n'
,
't'
,
0
};
LOCALGROUP_INFO_1
*
info
;
DWORD
size
;
FIXME
(
"(%s %s %d %p) semi-stub!
\n
"
,
debugstr_w
(
servername
),
debugstr_w
(
groupname
),
level
,
bufptr
);
size
=
sizeof
(
*
info
)
+
sizeof
(
WCHAR
)
*
(
lstrlenW
(
groupname
)
+
1
)
+
sizeof
(
commentW
);
NetApiBufferAllocate
(
size
,
(
LPVOID
*
)
&
info
);
info
->
lgrpi1_name
=
(
LPWSTR
)(
info
+
1
);
lstrcpyW
(
info
->
lgrpi1_name
,
groupname
);
info
->
lgrpi1_comment
=
info
->
lgrpi1_name
+
lstrlenW
(
groupname
)
+
1
;
lstrcpyW
(
info
->
lgrpi1_comment
,
commentW
);
*
bufptr
=
(
LPBYTE
)
info
;
return
NERR_Success
;
}
...
...
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