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:
Listing device drivers in the system: load addresses, names
EnumDeviceDrivers
..msdn    Add comment     W32 Constants      Translate this page
The EnumDeviceDrivers function retrieves the load address for each device driver in the system.
Code examples:
Listing device drivers in the system: load addresses, names
Declaration:
BOOL EnumDeviceDrivers(
  LPVOID *lpImageBase,  // array of load addresses
  DWORD cb,             // size of array
  LPDWORD lpcbNeeded    // number of bytes returned
);
FoxPro declaration:
DECLARE INTEGER EnumDeviceDrivers IN psapi;
    STRING  @ lpImageBase,;
    INTEGER   cb,;
    INTEGER @ lpcbNeeded
Parameters:
lpImageBase
[out] Pointer to an array that receives the list of load addresses for the device drivers.

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

lpcbNeeded
[out] Receives the number of bytes returned in the lpImageBase array.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
Windows NT/2000/XP: Included in Windows NT 4.0 and later.
Windows 95/98/Me: Unsupported.
Word Index links for the EnumDeviceDrivers :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-10-25 21:15:08
Modified: 2001-11-26 16:03:48
Visited in last 7 days: 23
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 (107.22.126.144)
12 sec.Function: 'gethostbyaddr'
24 sec.Function: 'GdipGetPropertyItemSize'
35 sec.Function: 'GetDiskFreeSpace'
46 sec.Function: 'EnumDisplaySettings'
58 sec.Function: 'GetFileType'
1.17 min.Function: 'GetMailslotInfo'
1.37 min.Function: 'FlushFileBuffers'
1.55 min.
Function group: 'Registry'
1.77 min.Function: 'DeleteService'
1.95 min.Function: 'GdipLoadImageFromFile'
Google
Advertise here!