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:
GetSystemWow64Directory
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the path of the system directory used by WOW64. This directory is not present on 32-bit Windows.
Code examples:
Declaration:
UINT WINAPI GetSystemWow64Directory(
  __out  LPTSTR lpBuffer,
  __in   UINT uSize
);
FoxPro declaration:
DECLARE INTEGER GetSystemWow64Directory IN kernel32;
    STRING @lpBuffer,;
    LONG uSize
Parameters:
lpBuffer [out]
A pointer to the buffer to receive the path. This path does not end with a backslash.

uSize [in]
The maximum size of the buffer, in TCHARs.
Return value:
If the function succeeds, the return value is the length, in TCHARs, of the string copied to the buffer, not including the terminating null character.
Usage:
LOCAL nBufsize, cBuffer
nBufsize = 250
cBuffer = REPLICATE(CHR(0), nBufsize)

nBufsize = GetSystemWow64Directory(@cBuffer, nBufsize)
? "["+SUBSTR(cBuffer, 1, nBufsize)+"]"
My comment:
Example: C:\Windows\SysWOW64

WoW64 means Windows-on-Windows 64-bit.

See also: GetSystemDirectory
Word Index links for the GetSystemWow64Directory :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-01-07 13:40:17
Modified: 2009-01-07 13:44:58
Visited in last 7 days: 22
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.82.81.154)
17 sec.Function: 'GdipSetPathGradientCenterPointI'
33 sec.Function: 'SetClipboardViewer'
51 sec.Function: 'GetKeyboardLayoutName'
1.12 min.Function: 'GetMonitorBrightness'
1.4 min.Function: 'waveOutGetVolume'
1.65 min.Function: 'GetProcessVersion'
1.92 min.Function: 'GdipGetImageHeight'
2.18 min.Function: 'LocalFree'
2.45 min.Function: 'MoveFile'
2.75 min.Function: 'EndDoc'
Google
Advertise here!