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:
GetProcessVersion points at target OS
GetProcessVersion
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the major and minor version numbers of the system on which the specified process expects to run.
Code examples:
GetProcessVersion points at target OS
Declaration:
DWORD GetProcessVersion(
  DWORD ProcessId  // process identifier
);
FoxPro declaration:
DECLARE INTEGER GetProcessVersion IN kernel32;
    INTEGER ProcessId
Parameters:
ProcessId
[in] Process identifier that specifies the process of interest. A value of zero specifies the calling process.
Return value:
If the function succeeds, the return value is the version of the system on which the process expects to run. If the function fails, the return value is zero.
My comment:
The version number returned by this function is the version number stamped in the image header of the .exe file the process is running. Linker programs set this value.

See also: GetProcessIoCounters, GetProcessTimes, GetProcessMemoryInfo
Word Index links for the GetProcessVersion :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-10-25 20:33:22
Modified: 2008-03-26 17:21:24
Visited in last 7 days: 18
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.166.150.10)
14 sec.Function: 'ImageList_GetImageCount'
27 sec.Function: 'UrlMkSetSessionOption'
43 sec.Function: 'SHQueryRecycleBin'
57 sec.Function: 'ClosePrinter'
1.2 min.Function: 'ShowWindow'
1.4 min.Function: 'NetMessageNameDel'
1.62 min.
Function group: 'Time'
1.83 min.Function: 'CryptDecrypt'
Function group: 'Cryptography Reference'
Google
Advertise here!