Using Win32 functions in Visual FoxPro Image Gallery
File Mapping
..msdn
CreateFileMapping
GetMappedFileName
MapViewOfFile
UnmapViewOfFile
Code examples:
Using File Mapping for enumerating files opened by Visual FoxPro
GetMappedFileName
..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
Declaration:
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
Parameters:
hProcess
[in] Handle to the process.

lpv
[in] Address to be verified.

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

nSize
[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  
FreeTranslation.com 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: 21
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.82.79.109)
33 sec.Function: 'GetLocaleInfo'
1.12 min.Function: 'ntohs'
1.72 min.Function: 'CryptEncrypt'
Function group: 'Cryptography Reference'
2.35 min.Function: 'CryptDestroyHash'
4.57 min.Function: 'RasEnumDevices'
Google
Advertise here!