Undocumented functions of NTDLL

2OO1, 17 March


FILE_RENAME_INFORMATION
FILE_RENAME_INFORMATION

typedef struct _FILE_RENAME_INFORMATION {

BOOLEAN ReplaceIfExists; HANDLE RootDirectory; ULONG FileNameLength; WCHAR FileName[1]; } FILE_RENAME_INFORMATION, *PFILE_RENAME_INFORMATION;



Structure FILE_RENAME_INFORMATION is used as input buffer for function NtSetInformationFile, called with FileRenameInformation information class. Using this structure caller can rename file, or move it into other directory.



Requirements:
Library: ntdll.lib


See also:
FILE_INFORMATION_CLASS
NtCreateFile
NtNotifyChangeDirectoryFile
NtOpenFile
NtSetInformationFile