Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
08be8f06
Commit
08be8f06
authored
Jul 28, 2002
by
Ryan Cumming
Committed by
Alexandre Julliard
Jul 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implementation of RtlGetNtVersionNumbers.
parent
44d3fd42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletion
+29
-1
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-1
rtl.c
dlls/ntdll/rtl.c
+28
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
08be8f06
...
...
@@ -385,7 +385,7 @@
@ stdcall RtlFreeUnicodeString(ptr) RtlFreeUnicodeString
@ stub RtlGenerate8dot3Name
@ stdcall RtlGetAce(ptr long ptr) RtlGetAce
@ st
ub
RtlGetNtVersionNumbers
@ st
dcall RtlGetNtVersionNumbers(ptr ptr ptr)
RtlGetNtVersionNumbers
@ stub RtlGetVersion
@ stub RtlGetCallersAddress
@ stub RtlGetCompressionWorkSpaceSize
...
...
dlls/ntdll/rtl.c
View file @
08be8f06
...
...
@@ -492,3 +492,31 @@ void WINAPI RtlAssert(LPVOID x1,LPVOID x2,DWORD x3, DWORD x4)
{
FIXME
(
"(%p,%p,0x%08lx,0x%08lx),stub
\n
"
,
x1
,
x2
,
x3
,
x4
);
}
/******************************************************************************
* RtlGetNtVersionNumbers [NTDLL.@]
*
* Introduced in Windows XP (NT5.1)
*/
void
WINAPI
RtlGetNtVersionNumbers
(
LPDWORD
major
,
LPDWORD
minor
,
LPDWORD
build
)
{
OSVERSIONINFOEXW
versionInfo
;
versionInfo
.
dwOSVersionInfoSize
=
sizeof
(
OSVERSIONINFOEXW
);
GetVersionExW
((
OSVERSIONINFOW
*
)
&
versionInfo
);
if
(
major
)
{
*
major
=
versionInfo
.
dwMajorVersion
;
}
if
(
minor
)
{
*
minor
=
versionInfo
.
dwMinorVersion
;
}
if
(
build
)
{
/* FIXME: Does anybody know the real formula? */
*
build
=
(
0xF0000000
|
versionInfo
.
dwBuildNumber
);
}
}
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