Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
The FNREAD macro provides the declaration for the application-defined callback function to read data from a file in an FDI context.
Syntax
void FNREAD(
[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 _read.
Examples
FNREAD(fnFileRead)
{
DWORD dwBytesRead = 0;
if ( ReadFile((HANDLE)hf, pv, cb, &dwBytesRead, NULL) == FALSE )
{
dwBytesRead = (DWORD)-1L;
}
return dwBytesRead;
}
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | fdi.h |