[SHELL32_APITEST] -Add some tests for SHParseDisplayName for CORE-12882.
[reactos.git] / rostests / apitests / pefile / ntoskrnl.c
index 41186dc..557d7ad 100644 (file)
@@ -18,21 +18,24 @@ typedef struct KnownSections
 static struct KnownSections g_Sections[] = {
     {
         ".text",
-        IMAGE_SCN_CNT_CODE | IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ,
+        IMAGE_SCN_CNT_CODE | IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_NOT_PAGED,
         IMAGE_SCN_MEM_DISCARDABLE
-        // optional: IMAGE_SCN_MEM_NOT_PAGED
     },
     {
         ".data",
-        IMAGE_SCN_CNT_INITIALIZED_DATA | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE,
+        IMAGE_SCN_CNT_INITIALIZED_DATA | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE | IMAGE_SCN_MEM_NOT_PAGED,
         IMAGE_SCN_MEM_DISCARDABLE
-        // optional: IMAGE_SCN_MEM_NOT_PAGED
     },
     {
         ".rsrc",
         IMAGE_SCN_CNT_INITIALIZED_DATA | IMAGE_SCN_MEM_READ,
         IMAGE_SCN_MEM_DISCARDABLE
     },
+    {
+        ".rdata",
+        IMAGE_SCN_CNT_INITIALIZED_DATA | IMAGE_SCN_MEM_READ,
+        IMAGE_SCN_MEM_DISCARDABLE
+    },
     {
         ".reloc",
         IMAGE_SCN_CNT_INITIALIZED_DATA | IMAGE_SCN_MEM_DISCARDABLE | IMAGE_SCN_MEM_READ,
@@ -42,7 +45,6 @@ static struct KnownSections g_Sections[] = {
         "INIT",
         IMAGE_SCN_CNT_CODE | IMAGE_SCN_MEM_DISCARDABLE | IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ,
         0
-        // optional?? : IMAGE_SCN_MEM_WRITE
     },
     { NULL, 0 },
 };