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
c6ac0d0f
Commit
c6ac0d0f
authored
Sep 04, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Added GetLogicalProcessorInformation implementation.
parent
67920ea6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
process.c
dlls/kernel32/process.c
+22
-2
No files found.
dlls/kernel32/process.c
View file @
c6ac0d0f
...
...
@@ -3717,9 +3717,29 @@ HANDLE WINAPI GetCurrentProcess(void)
*/
BOOL
WINAPI
GetLogicalProcessorInformation
(
PSYSTEM_LOGICAL_PROCESSOR_INFORMATION
buffer
,
PDWORD
pBufLen
)
{
FIXME
(
"(%p,%p): stub
\n
"
,
buffer
,
pBufLen
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
NTSTATUS
status
;
TRACE
(
"(%p,%p)
\n
"
,
buffer
,
pBufLen
);
if
(
!
pBufLen
)
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
status
=
NtQuerySystemInformation
(
SystemLogicalProcessorInformation
,
buffer
,
*
pBufLen
,
pBufLen
);
if
(
status
==
STATUS_INFO_LENGTH_MISMATCH
)
{
SetLastError
(
ERROR_INSUFFICIENT_BUFFER
);
return
FALSE
;
}
if
(
status
!=
STATUS_SUCCESS
)
{
SetLastError
(
RtlNtStatusToDosError
(
status
)
);
return
FALSE
;
}
return
TRUE
;
}
/***********************************************************************
...
...
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