Using Win32 functions in Visual FoxPro Image Gallery
Performance Monitoring
..msdn
CreateToolhelp32Snapshot
EnumDeviceDrivers
EnumProcesses
EnumProcessModules
GetDeviceDriverBaseName
GetDeviceDriverFileName
GetModuleBaseName
GetModuleFileNameEx
GetPerformanceInfo
GetProcessMemoryInfo
Process32First
Process32Next
Code examples:
Enumerating Processes -- WinNT
EnumProcesses
..msdn    Add comment     W32 Constants      Translate this page
The EnumProcesses function retrieves the process identifier for each process object in the system.
Code examples:
Enumerating Processes -- WinNT
Declaration:
BOOL EnumProcesses(
  DWORD *lpidProcess,  // array of process identifiers
  DWORD cb,            // size of array
  DWORD *cbNeeded      // number of bytes returned
);
FoxPro declaration:
DECLARE INTEGER EnumProcesses IN psapi;
    STRING  @ lpidProcess,;
    INTEGER   cb,;
    INTEGER @ cbNeeded
Parameters:
lpidProcess
[out] Pointer to an array that receives the list of process identifiers.

cb
[in] Specifies the size, in bytes, of the lpidProcess array.

cbNeeded
[out] Receives the number of bytes returned in the lpidProcess array.
Return value:
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.
My comment:
Windows NT/2000/XP: Included in Windows NT 4.0 and later.
Windows 95/98/Me: Unsupported.
Word Index links for the EnumProcesses :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-10-09 22:03:03
Modified: 2001-11-26 16:03:45
Visited in last 7 days: 19
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.166.232.243)
13 sec.Function: 'LCIDToLocaleName'
24 sec.
Function group: 'Virtual Hard Disk (Win7)'
35 sec.Function: 'PaintDesktop'
46 sec.Function: 'InternetGoOnline'
58 sec.Function: 'PathGetShortPath'
1.17 min.Function: 'GetPrinterDriverDirectory'
1.37 min.Function: 'CertOpenSystemStore'
Function group: 'Cryptography Reference'
1.55 min.Function: 'SQLInstallerError'
1.77 min.Function: 'GetProcAddress'
1.93 min.Function: 'WinHttpOpenRequest'
Google
Advertise here!