// ntifs.h
typedef struct {
ULONG NextEntryOffset;
ULONG FileIndex;
ULONG FileNameLength;
WCHAR FileName[1];
} FIND_BY_SID_OUTPUT, *PFIND_BY_SID_OUTPUT;
View the official Windows Driver Kit DDI reference// winioctl.h
typedef struct {
DWORD NextEntryOffset;
DWORD FileIndex;
DWORD FileNameLength;
WCHAR FileName[1];
} FIND_BY_SID_OUTPUT, *PFIND_BY_SID_OUTPUT;
View the official Win32 API referenceNo description available.
The FIND_BY_SID_OUTPUT structure represents the fully qualified path name of a file found by the FSCTL_FIND_FILES_BY_SID control code.
NextEntryOffsetNumber of bytes that must be skipped to get to the next record. A value of zero indicates that this is the last record.
FileIndexIndex of the file.
FileNameLengthThe size of the file name, in bytes. This size does not include the NULL character.
FileName[1]A null-terminated string that specifies the file name.
The FIND_BY_SID_OUTPUT structure represents the fully qualified path name of a file.
NextEntryOffsetNumber of bytes that must be skipped to get to the next record. A value of zero indicates that this is the last record.
FileIndexIndex of the file.
FileNameLengthThe size of the file name, in bytes. This size does not include the NULL character.
FileNameA null-terminated string that specifies the file name.