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
10509889
Commit
10509889
authored
Jul 31, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Jul 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Improve stub for NtQueryInformationJobObject.
parent
9fd75e86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletion
+33
-1
sync.c
dlls/ntdll/sync.c
+33
-1
No files found.
dlls/ntdll/sync.c
View file @
10509889
...
...
@@ -636,7 +636,39 @@ NTSTATUS WINAPI NtQueryInformationJobObject( HANDLE handle, JOBOBJECTINFOCLASS c
ULONG
len
,
PULONG
ret_len
)
{
FIXME
(
"stub: %p %u %p %u %p
\n
"
,
handle
,
class
,
info
,
len
,
ret_len
);
return
STATUS_NOT_IMPLEMENTED
;
if
(
class
>=
MaxJobObjectInfoClass
)
return
STATUS_INVALID_PARAMETER
;
switch
(
class
)
{
case
JobObjectExtendedLimitInformation
:
{
JOBOBJECT_EXTENDED_LIMIT_INFORMATION
*
extended_limit
;
if
(
len
<
sizeof
(
*
extended_limit
))
return
STATUS_INFO_LENGTH_MISMATCH
;
extended_limit
=
(
JOBOBJECT_EXTENDED_LIMIT_INFORMATION
*
)
info
;
memset
(
extended_limit
,
0
,
sizeof
(
*
extended_limit
));
if
(
ret_len
)
*
ret_len
=
sizeof
(
*
extended_limit
);
return
STATUS_SUCCESS
;
}
case
JobObjectBasicLimitInformation
:
{
JOBOBJECT_BASIC_LIMIT_INFORMATION
*
basic_limit
;
if
(
len
<
sizeof
(
*
basic_limit
))
return
STATUS_INFO_LENGTH_MISMATCH
;
basic_limit
=
(
JOBOBJECT_BASIC_LIMIT_INFORMATION
*
)
info
;
memset
(
basic_limit
,
0
,
sizeof
(
*
basic_limit
));
if
(
ret_len
)
*
ret_len
=
sizeof
(
*
basic_limit
);
return
STATUS_SUCCESS
;
}
default:
return
STATUS_NOT_IMPLEMENTED
;
}
}
/******************************************************************************
...
...
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