Using Win32 functions in Visual FoxPro Image Gallery
System Information
..msdn
ExpandEnvironmentStrings
GetComputerName
GetComputerNameEx
GetComputerObjectName
GetCurrentHwProfile
GetKeyboardType
GetNativeSystemInfo
GetProductInfo
GetSysColor
GetSystemDirectory
GetSystemInfo
GetSystemMetrics
GetSystemRegistryQuota
GetSystemWow64Directory
GetUserName
GetUserNameEx
GetVersion
GetVersionEx
GetWindowsDirectory
IsNetworkAlive
SetComputerName
SetSysColors
SystemParametersInfo
Code examples:
GetNativeSystemInfo
..msdn    Add comment     W32 Constants      Translate this page
Retrieves information about the current system to an application running under WOW64.
Code examples:
Declaration:
void WINAPI GetNativeSystemInfo(
  __out  LPSYSTEM_INFO lpSystemInfo
);

FoxPro declaration:
DECLARE GetNativeSystemInfo IN kernel32;
    STRING @lpSystemInfo

Parameters:
lpSystemInfo
A pointer to a SYSTEM_INFO structure that receives the information.
Return value:
This function does not return a value.
Usage:
#DEFINE SYSTEM_INFO_SIZE 36

LOCAL cBuffer
cBuffer = REPLICATE(CHR(0), SYSTEM_INFO_SIZE)
= GetNativeSystemInfo(@cBuffer)
My comment:
If the function is called from a 64-bit application, it is equivalent to the GetSystemInfo function.

See also: GetSystemWow64Directory
Word Index links for the GetNativeSystemInfo :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2007-12-26 14:16:20
Modified: 2009-01-07 13:46:50
Visited in last 7 days: 13
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.178.153)
28 sec.Function: 'EndUpdateResource'
1.45 min.Function: 'RegisterHotKey'
4 day(s)Function: 'SQLAllocEnv'
 Function: 'GetCurrentProcessId'
 Function: 'IsWindowVisible'
 Function: 'midiOutGetNumDevs'
 Function: 'FindWindow'
 Function: 'GetBkMode'
 Function: 'EnumPorts'
 Function: 'GetClipboardOwner'
Google
Advertise here!