The MASM Forum

General => The Campus => Topic started by: TWell on November 07, 2015, 06:29:41 AM

Title: Check Compability mode
Post by: TWell on November 07, 2015, 06:29:41 AM
Is there any API function to check if program runs in Compability mode?
From PEB it is possible.
Title: Re: Check Compability mode
Post by: jj2007 on November 07, 2015, 09:48:52 AM
http://masm32.com/board/index.php?topic=4763.msg51390#msg51390

Just compare the values returned by RtlGetVersion and RtlGetNtVersionNumbers.