Using Win32 functions in Visual FoxPro Image Gallery
Process and Thread
..msdn
AssignProcessToJobObject
CommandLineToArgvW
CreateJobObject
CreateProcess
CreateProcessAsUser
CreateProcessWithLogonW
ExitProcess
FreeEnvironmentStrings
GetCommandLine
GetCurrentProcess
GetCurrentProcessId
GetCurrentThread
GetCurrentThreadId
GetEnvironmentStrings
GetEnvironmentVariable
GetPriorityClass
GetProcessIoCounters
GetProcessTimes
GetProcessVersion
GetStartupInfo
GetThreadPriority
IsWow64Process
OpenProcess
RegisterServiceProcess
SetEnvironmentVariable
SetPriorityClass
SetThreadPriority
Sleep
TerminateJobObject
TerminateProcess
WinExec
Code examples:
How to check whether the system is 32-bit or 64-bit
Obtaining names and positions for shortcuts located on the Windows Desktop
IsWow64Process
..msdn    Add comment     W32 Constants      Translate this page
Determines whether the specified process is running under WOW64.
Code examples:
Obtaining names and positions for shortcuts located on the Windows Desktop
How to check whether the system is 32-bit or 64-bit
Declaration:
BOOL WINAPI IsWow64Process(
  __in   HANDLE hProcess,
  __out  PBOOL Wow64Process
);
FoxPro declaration:
DECLARE INTEGER IsWow64Process IN kernel32;
    INTEGER hProcess,;
    INTEGER @Wow64Process
Parameters:
hProcess [in]
A handle to the process. The handle must have the PROCESS_QUERY_INFORMATION or PROCESS_QUERY_LIMITED_INFORMATION access right.

Wow64Process [out]
A pointer to a value that is set to TRUE if the process is running under WOW64.
Return value:
If the function succeeds, the return value is a nonzero value.
Usage:
lWow64Process = 0
IsWow64Process(GetCurrentProcess(), @lWow64Process)
? IIF(lWow64Process = 0, "32-bit", "64-bit")
Word Index links for the IsWow64Process :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2012-02-07 10:29:12
Modified: 2012-02-07 10:46:35
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.227.127.109)
15 sec.Function: 'JetCommitTransaction'
28 sec.Function: 'FillConsoleOutputAttribute'
43 sec.Function: 'GetIpAddrTable'
57 sec.
Function group: 'Painting and Drawing'
1.18 min.
Function group: 'IP Helper'
1.43 min.Function: 'HeapValidate'
1.67 min.Function: 'GdipCreateStringFormat'
1.9 min.Function: 'SetThreadDesktop'
2.13 min.Function: 'MAPILogon'
2.4 min.Function: 'GdipCreateBitmapFromHICON'
Google
Advertise here!