Re: determine x64 by Skywing
Skywing
Mon Feb 06 16:34:28 CST 2006
GetNativeSystemInfo is a good way to tell if you are running on x64 in
general. However, there are better ways to do driver installation than
calling GetNativeSystemInfo and having two packages, you should read what
Pavel A posted for specifically driver installs.
"Hua-Ying Ling" <HuaYingLing@discussions.microsoft.com> wrote in message
news:6BD49B99-40C4-4E66-9446-5DA25EC06B0A@microsoft.com...
> Hi,
>
> I need to determine which version of my driver to load depending of if it
> is
> a 32-bit or 64 bit OS. What's a reliable way to determine if I am running
> on
> some x64 version of windows. I could always check the OS version with
> GetVersionEx but that doesn't seem reliable.
>
> Thanks
> Hua-Ying