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.
Syntax
void FNFCISEEK(
fn
);
Parameters
fn
An application-defined value used to identify the open file.
Return value
None
Remarks
The function accepts parameters similar to _lseek with the addition to err and pv.
Examples
FNFCISEEK(fnFileSeek)
{
INT iResult = 0;
UNREFERENCED_PARAMETER(pv);
iResult = SetFilePointer((HANDLE)hf, dist, NULL, seektype);
if ( iResult == -1 )
{
*err = GetLastError();
}
return iResult;
}
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | fci.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for