FNFCICLOSE macro (fci.h)
The FNFCICLOSE macro provides the declaration for the application-defined callback function to close a file in an FCI context.
Syntax
void FNFCICLOSE(
fn
);
Parameters
fn
Specifies an application-defined value that identifies an open file.
Return value
None
Remarks
The function accepts parameters similar to _close, with the addition of err and pv.
Examples
FNFCICLOSE(fnFileClose)
{
INT iResult = 0;
UNREFERENCED_PARAMETER(pv);
if ( CloseHandle((HANDLE)hf) == FALSE)
{
*err = GetLastError();
iResult = -1;
}
return iResult;
}
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | fci.h |