Click to Rate and Give Feedback
MSDN
MSDN Library
System Services
System Information
 GetNativeSystemInfo Function

  Switch on low bandwidth view
GetNativeSystemInfo Function

Retrieves information about the current system to an application running under WOW64. If the function is called from a 64-bit application, it is equivalent to the GetSystemInfo function.

Syntax

C++
void WINAPI GetNativeSystemInfo(
  __out  LPSYSTEM_INFO lpSystemInfo
);

Parameters

lpSystemInfo [out]

A pointer to a SYSTEM_INFO structure that receives the information.

Return Value

This function does not return a value.

Remarks

To determine whether a Win32-based application is running under WOW64, call the IsWow64Process function.

To compile an application that uses this function, define _WIN32_WINNT as 0x0501 or later. For more information, see Using the Windows Headers.

Examples

For an example, see Getting the System Version.

Requirements

Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll

See Also

IsWow64Process
System Information Functions
SYSTEM_INFO

Send comments about this topic to Microsoft

Build date: 5/14/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker