Member No.: 9469
Joined: 27-June 08
I am trying to get the SetFilePointerEx function to work, without luck!
The file has been opened correctly.
The file I want to seek into may exceed 4GB, therefore, I need to pass a 64bit value as the seek location.
When I try to assemble the code, using WinASM and MASM32, I get an error, 'too few arguments to invoke'.
Here is a little snippet of the code I am using.
Thanks in advance, Colin.
liDistanceToMove LARGE_INTEGER <>
;;Eax contains the handle of the opened file.
invoke SetFilePointerEx,eax,addr liDistanceToMove,NULL,FILE_BEGIN