FNFCISEEK macro

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

Syntax

void FNFCISEEK(
   fn
);

Parameters

fn

TBD

Return Value

None

Remarks

The function accepts parameters similar to _lseek with the addition to err and pv.

Examples

C++
FNFCISEEK(fnFileSeek)
{
    INT iResult = 0;
UNREFERENCED_PARAMETER(pv);

iResult = SetFilePointer((HANDLE)hf, dist, NULL, seektype);

if ( iResult == -1 )
{
    *err = GetLastError();
}

return iResult;

}

Requirements

   
Target Platform Windows
Header fci.h

See Also

FCICreate