search for: final_path

Displaying 1 result from an estimated 1 matches for "final_path".

Did you mean: final_page
2008 Nov 22
2
GetFinalPathNameByHandle for XP and earlier
...Q'') unless GetFileSizeEx(handle, size_ptr) raise get_last_error 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...