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
How to enable the SE_SHUTDOWN_NAME privilege for the application
How to load a user profile
Memory usage info for current VFP session (WinNT only)
Obtaining names and positions for shortcuts located on the Windows Desktop
Reading and setting system access privileges for the current process
Retrieving the priority class for the current process
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
Using File Mapping for enumerating files opened by Visual FoxPro
GetCurrentProcess
..msdn    Add comment     W32 Constants      Translate this page
The GetCurrentProcess function retrieves a pseudo handle for the current process.
Code examples:
Obtaining names and positions for shortcuts located on the Windows Desktop
How to load a user profile
How to enable the SE_SHUTDOWN_NAME privilege for the application
Reading and setting system access privileges for the current process
Using File Mapping for enumerating files opened by Visual FoxPro
How to check whether the system is 32-bit or 64-bit
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
Memory usage info for current VFP session (WinNT only)
Retrieving the priority class for the current process
Declaration:
HANDLE GetCurrentProcess(VOID);
FoxPro declaration:
DECLARE INTEGER GetCurrentProcess;
    IN kernel32
Parameters:
This function has no parameters.
Return value:
The return value is a pseudo handle to the current process.
My comment:
A pseudo handle is a special constant that is interpreted as the current process handle. The calling process can use this handle to specify its own process whenever a process handle is required. Pseudo handles are not inherited by child processes.
Word Index links for the GetCurrentProcess :
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: 2001-11-26 16:03:40
Visited in last 7 days: 64
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.80.137.168)
3 sec.Function: 'ChooseColor'
5 sec.Function: 'midiOutOpen'
8 sec.Function: 'CryptGenRandom'
10 sec.Function: 'GdipGetImageRawFormat'
13 sec.
Function group: 'Menu'
16 sec.Function: 'CreatePopupMenu'
19 sec.Function: 'OpenSemaphore'
22 sec.Function: 'CryptReleaseContext'
26 sec.Function: 'SHEmptyRecycleBin'
29 sec.Function: 'accept'
Google
Advertise here!