FNCLOSE macro (fdi.h)
The FNCLOSE macro provides the declaration for the application-defined callback function to close a file in an FDI context.
Syntax
void FNCLOSE(
[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 _close.
Examples
FNCLOSE(fnFileClose)
{
return ( CloseHandle((HANDLE)hf) == TRUE ) ? 0 : -1;
}
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | fdi.h |