diff --git a/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemapping2.md b/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemapping2.md index 4d510efd69f2..e930914f52b7 100644 --- a/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemapping2.md +++ b/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemapping2.md @@ -307,6 +307,18 @@ Applications should not use this attribute except when SEC_NOCACHE requires either the SEC_RESERVE or SEC_COMMIT attribute to be set. + + + +
+
SEC_NO_CHANGE
+
0x00400000
+
+ + +Marks the mapping as permanent. Memory protections can not be changed for views of the mapping and the view can not be unmapped. + +SEC_NO_CHANGE cannot be combined with SEC_IMAGE. diff --git a/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemappingfromapp.md b/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemappingfromapp.md index 8a4c6c3f6d46..eb38f6cc5e81 100644 --- a/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemappingfromapp.md +++ b/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemappingfromapp.md @@ -243,6 +243,18 @@ Applications should not use this attribute except when SEC_NOCACHE requires either the SEC_RESERVE or SEC_COMMIT attribute to be set. + + + +
+
SEC_NO_CHANGE
+
0x00400000
+
+ + +Marks the mapping as permanent. Memory protections can not be changed for views of the mapping and the view can not be unmapped. + +SEC_NO_CHANGE cannot be combined with SEC_IMAGE. @@ -454,4 +466,4 @@ File Mapping Functions -WriteFile \ No newline at end of file +WriteFile diff --git a/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemappingw.md b/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemappingw.md index 86ba146c7741..39cd05733202 100644 --- a/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemappingw.md +++ b/sdk-api-src/content/memoryapi/nf-memoryapi-createfilemappingw.md @@ -337,6 +337,19 @@ Applications should not use this attribute except when SEC_NOCACHE requires either the SEC_RESERVE or SEC_COMMIT attribute to be set. + + + +
+
SEC_NO_CHANGE
+
0x00400000
+
+ + +Marks the mapping as permanent. Memory protections can not be changed for views of the mapping and the view can not be unmapped. + +SEC_NO_CHANGE cannot be combined with SEC_IMAGE. + diff --git a/sdk-api-src/content/winbase/nf-winbase-createfilemappinga.md b/sdk-api-src/content/winbase/nf-winbase-createfilemappinga.md index 473a5453ed80..9a2316beec9a 100644 --- a/sdk-api-src/content/winbase/nf-winbase-createfilemappinga.md +++ b/sdk-api-src/content/winbase/nf-winbase-createfilemappinga.md @@ -336,6 +336,18 @@ Applications should not use this attribute except when SEC_NOCACHE requires either the SEC_RESERVE or SEC_COMMIT attribute to be set. + + + +
+
SEC_NO_CHANGE
+
0x00400000
+
+ + +Marks the mapping as permanent. Memory protections can not be changed for views of the mapping and the view can not be unmapped. + +SEC_NO_CHANGE cannot be combined with SEC_IMAGE. diff --git a/sdk-api-src/content/winbase/nf-winbase-createfilemappingnumaa.md b/sdk-api-src/content/winbase/nf-winbase-createfilemappingnumaa.md index 2adaa2c9122c..b6261f0c2d0b 100644 --- a/sdk-api-src/content/winbase/nf-winbase-createfilemappingnumaa.md +++ b/sdk-api-src/content/winbase/nf-winbase-createfilemappingnumaa.md @@ -296,6 +296,18 @@ Applications should not use this flag except when explicitly required SEC_NOCACHE requires either SEC_RESERVE or SEC_COMMIT to be set. + + + +
+
SEC_NO_CHANGE
+
0x00400000
+
+ + +Marks the mapping as permanent. Memory protections can not be changed for views of the mapping and the view can not be unmapped. + +SEC_NO_CHANGE cannot be combined with SEC_IMAGE.