RtlIsPartialPlaceholderFileInfo function (ntifs.h)
The RtlIsPartialPlaceholderFileInfo routine determines if a file is a known type of placeholder, based on the information returned by NtQueryInformationFile or NtQueryDirectoryFile.
Syntax
NTSYSAPI NTSTATUS RtlIsPartialPlaceholderFileInfo(
[in] const VOID *InfoBuffer,
[in] FILE_INFORMATION_CLASS InfoClass,
[out] PBOOLEAN IsPartialPlaceholder
);
Parameters
[in] InfoBuffer
Specifies a pointer to a caller-allocated buffer which contains information about the file object. If this is from a call to NtQueryDirectoryFile, this may point to the first or any subsequent subsequent entry in the buffer (found by walking the buffer).
[in] InfoClass
Specifies which File Information class to use to query InfoBuffer.
[out] IsPartialPlaceholder
IsPartialPlaceholder is a pointer to a boolean which returns TRUE if the file or directory is a placeholder. It returns FALSE if either the file or directory is not a placeholder or is a full placeholder. Returns undefined on failure.
Return value
Returns STATUS_SUCCESS if IsPartialPlaceholder is valid and not undefined.
Remarks
If InfoBuffer is from a call to NtQueryDirectoryFile, this may point to the first or any subsequent subsequent entry in the buffer which is found by walking the buffer.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709. |
Target Platform | Windows |
Header | ntifs.h (include Ntifs.h) |