I'm using WinAPI File functions and can't seem to find a GetFilePointer() type function.
Does one exist?, or do i have to keep track of how many bytes i have read, written, seek'd etc?
Thanks
Marc
Printable View
I'm using WinAPI File functions and can't seem to find a GetFilePointer() type function.
Does one exist?, or do i have to keep track of how many bytes i have read, written, seek'd etc?
Thanks
Marc
Code:DWORD GetFilePointer(HANDLE hFile)
{
return SetFilePointer(hFile, 0, NULL, FILE_CURRENT);
}
Cheers mate.
It worked a treat!
Marc