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
How to find when the application started
How to hide your program from the Close Program dialog (Win9* only)
Obtaining I/O counts for the current process
Reading and setting the priority class values for the current process and thread
GetCurrentProcessId
..msdn    Add comment     W32 Constants      Translate this page
The GetCurrentProcessId function retrieves the process identifier of the calling process.
Code examples:
Reading and setting the priority class values for the current process and thread
How to find when the application started
Obtaining I/O counts for the current process
GetProcessVersion points at target OS
How to hide your program from the Close Program dialog (Win9* only)
Declaration:
DWORD GetCurrentProcessId(VOID);
FoxPro declaration:
DECLARE INTEGER GetCurrentProcessId;
    IN kernel32
Parameters:
This function has no parameters.
Return value:
The return value is the process identifier of the calling process.
My comment:
Until the process terminates, the process identifier uniquely identifies the process throughout the system.

Application.ProcessId returns identical result and most likely wraps this function.
Word Index links for the GetCurrentProcessId :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-09-18 12:00:00
Modified: 2008-03-26 11:54:15
Visited in last 7 days: 61
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.242.205.33)
14 sec.
Function group: 'System Information'
29 sec.Function: 'CreateFile'
45 sec.
Function group: 'Authorization'
59 sec.Function: 'GdipNewInstalledFontCollection'
1.25 min.Function: 'GdipCreateFromHDC'
1.48 min.Function: 'FindWindowEx'
1.72 min.Function: 'GetMenuItemID'
1.93 min.Function: 'FindClosePrinterChangeNotification'
2.13 min.Function: 'FindNextFile'
2.37 min.Function: 'AVIStreamReadFormat'
Google
Advertise here!