SetFilePointer

This function entry is part of a MAPI-specific list of Win32 functions. For a complete description, see Win32 Functions.

DWORD SetFilePointer(
  HANDLE hFile,                 
  LONG lDistanceToMove,         
  PLONG lpDistanceToMoveHigh,   
  DWORD dwMoveMethod            
)
 

Limitations

Distance is limited to 2 gigabytes (signed 32-bits). The SetFilePointer function fails if the lpDistanceToMoveHigh parameter is present and nonzero, unless the value it holds is the sign extension of a negative distance.