FNSEEK macro (fdi.h)

The FNSEEK macro provides the declaration for the application-defined callback function to move a file pointer to the specified location in an FDI context.

Syntax

void FNSEEK(
  [in]  fn
);

Parameters

[in] fn

An application-defined value used to identify the open file.

Return value

None

Remarks

The function accepts parameters similar to _lseek.

Examples

FNSEEK(fnFileSeek)
{
    return SetFilePointer((HANDLE)hf, dist, NULL, seektype);
}

Requirements

   
Target Platform Windows
Header fdi.h

See also

FDICreate