search for: file_map_read

Displaying 2 results from an estimated 2 matches for "file_map_read".

Did you mean: file_dac_read
2008 Nov 22
2
GetFinalPathNameByHandle for XP and earlier
...end if size_ptr.unpack(''Q'')[0] <= 0 raise ''file size must be greater than zero'' end map = CreateFileMapping(handle, nil, PAGE_READONLY, 0, 1, nil) final_path = nil if map && map > 0 pmem = MapViewOfFile(map, FILE_MAP_READ, 0, 0, 1) if pmem begin buf = 0.chr * MAXPATH # Buf will contain the full path, but with the device name instead # of the drive letter that we ultimately want. if GetMappedFileName(GetCurrentProcess(), pmem, buf, MAXPATH) > 0...
2011 Sep 03
1
Patch to build hivex lib on Windows
Hi I'm just posting this here in case someone is interested in building hivex on Windows (mingw32). The attached patch allows building the lib but not the tools (hivexsh etc..) as there are some more problems to solve. In short terms, this patch replaces file i/o functions and mmap(), munmap() with their win32api pendants. cu -- Unix _IS_ user friendly - it's just selective about