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 -- Win9*
CreateToolhelp32Snapshot
..msdn    Add comment     W32 Constants      Translate this page
Takes a snapshot of the processes and the heaps, modules, and threads used by the processes.
Code examples:
Enumerating Processes -- Win9*
Declaration:
HANDLE WINAPI CreateToolhelp32Snapshot(
  DWORD dwFlags,       
  DWORD th32ProcessID  
);
FoxPro declaration:
DECLARE INTEGER CreateToolhelp32Snapshot IN kernel32;
    INTEGER dwFlags,;
    INTEGER th32ProcessID
Parameters:
dwFlags
[in] Specifies portions of the system to include in the snapshot.

th32ProcessID
[in] Specifies the process identifier. This parameter can be zero to indicate the current process.
Return value:
Returns an open handle to the specified snapshot if successful or INVALID_HANDLE_VALUE (-1) otherwise.
My comment:
Windows NT/2000/XP: Included in Windows 2000 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Word Index links for the CreateToolhelp32Snapshot :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-10-09 23:24:44
Modified: 2001-11-26 16:03:45
Visited in last 7 days: 31
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)
4 sec.Function: 'GdipGetImageDecoders'
8 sec.Function: 'mciGetErrorString'
12 sec.Function: 'HeapReAlloc'
16 sec.Function: 'ExitProcess'
20 sec.Function: 'CreateURLMonikerEx'
24 sec.Function: 'PathIsNetworkPath'
29 sec.Function: 'GetFileTitle'
34 sec.Function: 'GdipCreateFromHDC'
39 sec.Function: 'NetMessageNameDel'
43 sec.Function: 'WSAConnect'
Google
Advertise here!