FNFCISEEK macro (fci.h)
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.
void FNFCISEEK(
fn
);
fn
An application-defined value used to identify the open file.
None
The function accepts parameters similar to _lseek with the addition to err and pv.
FNFCISEEK(fnFileSeek)
{
INT iResult = 0;
UNREFERENCED_PARAMETER(pv);
iResult = SetFilePointer((HANDLE)hf, dist, NULL, seektype);
if ( iResult == -1 )
{
*err = GetLastError();
}
return iResult;
}
Requirement | Value |
---|---|
Target Platform | Windows |
Header | fci.h |