# Function Reference

# _WinAPI_SetFileInformationByHandleEx

Sets the file information for the specified file

#include <WinAPIFiles.au3>
_WinAPI_SetFileInformationByHandleEx ( $hFile, $tFILEINFO )

## Parameters

$hFile | Handle to the file for which to change information. This handle must have an appropriate permissions for the requested change.
$tFILEINFO | $tagFILEINFO structure that contains the information to change.

## Return Value

Success: | 1.
Failure: | 0 and sets the @error flag to non-zero, @extended flag may contain the NTSTATUS error code.

## See Also

Search ZwSetInformationFile in MSDN Library.