Skip to content

Latest commit

 

History

History
76 lines (61 loc) · 1.49 KB

nf-fdi-fnclose.md

File metadata and controls

76 lines (61 loc) · 1.49 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:fdi.FNCLOSE
FNCLOSE macro (fdi.h)
The FNCLOSE macro provides the declaration for the application-defined callback function to close a file in an FDI context.
FNCLOSE
FNCLOSE macro [Windows API]
fdi/FNCLOSE
winprog.fnclose
winprog\fnclose.htm
winprog
89db9c2a-42ab-410d-a427-60d282385c2b
12/05/2018
FNCLOSE, FNCLOSE macro [Windows API], fdi/FNCLOSE, winprog.fnclose
fdi.h
Windows
Windows
19H1
FNCLOSE
fdi/FNCLOSE
c++
APIRef
kbSyntax
HeaderDef
fdi.h
FNCLOSE

FNCLOSE macro

-description

The FNCLOSE macro provides the declaration for the application-defined callback function to close a file in an FDI context.

-parameters

-param fn [in]

An application-defined value used to identify the open file.

-remarks

The function accepts parameters similar to _close.

Examples

FNCLOSE(fnFileClose)
{
    return ( CloseHandle((HANDLE)hf) == TRUE ) ? 0 : -1;
}