Skip to content

Fix formula for output buffer size for FSCTL_GET_NTFS_FILE_RECORD - #2187

Open
Max Bulatoff (bulmax) wants to merge 1 commit into
MicrosoftDocs:docsfrom
bulmax:bulmax-patch-1
Open

Fix formula for output buffer size for FSCTL_GET_NTFS_FILE_RECORD#2187
Max Bulatoff (bulmax) wants to merge 1 commit into
MicrosoftDocs:docsfrom
bulmax:bulmax-patch-1

Conversation

@bulmax

Copy link
Copy Markdown

Due to alignment, sizeof(NTFS_FILE_RECORD_OUTPUT_BUFFER)=16, but output buffer's correct size should be 12+BytesPerFileRecordSegment, not 15+BytesPerFileRecordSegment.

Due to alignment, sizeof(NTFS_FILE_RECORD_OUTPUT_BUFFER)=16, but output buffer's correct size should be 12+BytesPerFileRecordSegment, not 15+BytesPerFileRecordSegment.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — accurate technical correction. Approved.

@GrantMeStrength

Copy link
Copy Markdown
Contributor

Copilot /review

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed ✅ — Documentation improvement looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants