You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
764 B
43 lines
764 B
/*++
|
|
|
|
Copyright (c) Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
fusionversion.h
|
|
|
|
Abstract:
|
|
|
|
Author:
|
|
|
|
Jay Krell (JayKrell) April 2001
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#pragma once
|
|
|
|
inline DWORD FusionpGetWindowsNtBuildVersion()
|
|
{
|
|
DWORD dwVersion = GetVersion();
|
|
if ((dwVersion & 0x80000000) != 0)
|
|
return 0;
|
|
return (dwVersion & 0xffff0000) >> 16;
|
|
}
|
|
|
|
inline DWORD FusionpGetWindowsNtMinorVersion()
|
|
{
|
|
DWORD dwVersion = GetVersion();
|
|
if ((dwVersion & 0x80000000) != 0)
|
|
return 0;
|
|
return (dwVersion & 0xff00) >> 8;
|
|
}
|
|
|
|
inline DWORD FusionpGetWindowsNtMajorVersion()
|
|
{
|
|
DWORD dwVersion = GetVersion();
|
|
if ((dwVersion & 0x80000000) != 0)
|
|
return 0;
|
|
return (dwVersion & 0xff);
|
|
}
|