Reputation: 341
I am looking for a function which can return system type i.e. "Windows x64" or "Windows NT x64" etc.
Is there any function which I can use?
Thanks!
Upvotes: 1
Views: 203
Reputation: 93410
There's a complete document available on MSDN that shows exactly how to accomplish this.
Upvotes: 1
Reputation: 612993
GetVersionEx()
tells you about the operating system version.
If you want to know whether the underlying system is 32 bit or 64 bit then I recommend reading how Raymond Chen explains it.
Upvotes: 4