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
GetModuleBaseName
..msdn    Add comment     W32 Constants      Translate this page
The GetModuleBaseName function retrieves the base name of the specified module.
Code examples:
Enumerating Processes -- WinNT
Declaration:
 
DWORD GetModuleBaseName(
  HANDLE hProcess,    // handle to process
  HMODULE hModule,    // handle to module
  LPTSTR lpBaseName,  // base name buffer
  DWORD nSize         // maximum characters to retrieve
);
 
FoxPro declaration:
 
DECLARE INTEGER GetModuleBaseName IN psapi;
    INTEGER  hProcess,;
    INTEGER  hModule,;
    STRING @ lpBaseName,;
    INTEGER  nSize
 
Parameters:
hProcess
[in] Handle to the process that contains the module.

hModule
[in] Handle to the module.

lpBaseName
[out] Pointer to the buffer that receives the base name of the module.

nSize
[in] Specifies the maximum number of characters to copy to the lpBaseName buffer.
Return value:
If the function succeeds, the return value specifies the length of the string copied to the buffer. 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 GetModuleBaseName :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-10-09 21:56:56
Modified: 2001-11-26 16:03:44
Visited in last 7 days: 29
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), 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.25.119)
1.86 hrs.Example: 'GDI+: Color Transparency'
 Example: 'Enumerating forms supported by a specified printer'
1.97 hrs.Function: 'GetThreadDesktop'
 Example: 'Drawing standard Windows icons'
 Function: 'GetFileTime'
2.08 hrs.Example: 'How to upload a local file to FTP server using FtpPutFile'
 Function: 'WSAEventSelect'
Function group: 'Windows Sockets 2 (Winsock)'
3.79 hrs.Example: 'Using Common Controls: the Header Control'
3.8 hrs.Example: 'Reading and setting system access privileges for the current process'
4.14 hrs.Example: 'An alternative way of setting Form.Closable to False'
Google
Advertise here!