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: 21
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.234.180.187)
6.5 hrs.Function: 'LoadResource'
Function group: 'Resource'
11.59 hrs.Function: 'WriteFile'
Function group: 'File Management'
 Example: 'How to print picture stored in enhanced-format metafile (*.emf)'
13.89 hrs.Function: 'GdipSetWorldTransform'
Function group: 'GDI+ Graphics'
 Function: 'GetDC'
14.01 hrs.Example: 'Capturing keyboard activity of another application with the Raw Input API (VFP9)'
 Example: 'Reading and setting the priority class values for the current process and thread'
1 day(s)Function: 'GlobalLock'
Function group: 'Memory Management'
 Function: 'GdipCreateBitmapFromHBITMAP'
 Function: 'GetStartupInfo'
Function group: 'Process and Thread'
Google
Advertise here!