10 out of 14 rated this helpful - Rate this topic

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


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.

Windows Phone 8: This API is supported.

Examples

For an example, see Getting the System Version.

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

Winbase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

IsWow64Process
System Information Functions
SYSTEM_INFO

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.