Using Win32 functions in Visual FoxPro Image Gallery
File Mapping
Code examples:
Using File Mapping for enumerating files opened by Visual FoxPro
..msdn    Add comment     W32 Constants      Translate this page
The GetMappedFileName function checks if the specified address is within a memory-mapped file in the address space of the specified process. If so, the function returns the name of the memory-mapped file.
Code examples:
Using File Mapping for enumerating files opened by Visual FoxPro
DWORD GetMappedFileName(
  HANDLE hProcess,
  LPVOID lpv,
  LPTSTR lpFilename,
  DWORD nSize

FoxPro declaration:
DECLARE INTEGER GetMappedFileName IN psapi;
    INTEGER  hProcess,;
    INTEGER  lpv,;
    STRING @ lpFilename,;
    INTEGER  nSize
[in] Handle to the process.

[in] Address to be verified.

[out] Pointer to the buffer that receives the name of the memory-mapped file to which the address specified by lpv belongs.

[in] Size of the lpFilename buffer, in characters.
Return value:
If the function succeeds, the return value specifies the length of the string copied to the buffer, in characters.
My comment:
See also: EnumProcesses, GetCurrentProcess.
Word Index links for the GetMappedFileName :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2004-11-02 20:03:10
Modified: 2004-11-02 20:05:53
Visited in last 7 days: 13
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
16 sec.Function: 'GetLocaleInfo'
34 sec.Function: 'CryptGetDefaultProvider'
54 sec.Function: 'CloseEventLog'
1.18 min.Function: 'GdipGetSmoothingMode'
1.43 min.Function: 'GdipSetPathGradientCenterColor'
1.7 min.Function: 'GetLastError'
1.98 min.Function: 'CopyFile'
2.27 min.Function: 'GdipIsStyleAvailable'
2.55 min.Function: 'CryptDestroyHash'
2.85 min.Function: 'CreateDC'
Advertise here!