Commit 4fd5bf40 authored by Alexandre Julliard's avatar Alexandre Julliard

Implemented RtlGetNtProductType.

parent 1de5d3cc
......@@ -384,16 +384,6 @@ DWORD WINAPI RtlDeleteSecurityObject(DWORD x1) {
}
/**************************************************************************
* RtlGetNtProductType [NTDLL.@]
*/
BOOLEAN WINAPI RtlGetNtProductType(LPDWORD type)
{
FIXME("(%p): stub\n", type);
*type=3; /* dunno. 1 for client, 3 for server? */
return 1;
}
/**************************************************************************
* _chkstk [NTDLL.@]
*
* Glorified "enter xxxx".
......
......@@ -329,6 +329,16 @@ void WINAPI RtlGetNtVersionNumbers( LPDWORD major, LPDWORD minor, LPDWORD build
/******************************************************************************
* RtlGetNtProductType (NTDLL.@)
*/
BOOLEAN WINAPI RtlGetNtProductType( LPDWORD type )
{
if (type) *type = current_version->wProductType;
return TRUE;
}
/******************************************************************************
* VerifyVersionInfoW (KERNEL32.@)
*/
NTSTATUS WINAPI RtlVerifyVersionInfo( const RTL_OSVERSIONINFOEXW *info,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment