Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify alignment requirements for MapViewOfFile3 #799

Merged
merged 1 commit into from Jul 9, 2021

Conversation

bylaws
Copy link
Contributor

@bylaws bylaws commented Jun 7, 2021

It has been observed that when using the MEM_REPLACE_PLACEHOLDER flag the input alignment isn't forced to 64k, you can use VirtualFreeEx with the MEM_PRESERVE_PLACEHOLDER to create an unaligned placeholder then pass that to MapViewOfFile3 to map a non-64k aligned region.

It has been observed that when using the MEM_REPLACE_PLACEHOLDER flag the input alignment isn't forced to 64k, you can use VirtualFreeEx with the MEM_PRESERVE_PLACEHOLDER to create an unaligned placeholder then pass that to MapViewOfFile3 to map a non-64k aligned region.
@PRMerger6
Copy link

@bylaws : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Karl-Bridge-Microsoft Karl-Bridge-Microsoft merged commit 3f27fb6 into MicrosoftDocs:docs Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants