Commit bb95b706 authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

include: Make IMAGE_COR20_HEADER declaration compatible with PSDK headers.

parent a6510b3f
......@@ -412,7 +412,7 @@ static struct _tagASSEMBLY
5, /* MinorRuntimeVersion */
{ 0x2188, 0x1B4 }, /* MetaData */
COMIMAGE_FLAGS_ILONLY | COMIMAGE_FLAGS_STRONGNAMESIGNED, /* Flags */
0, /* EntryPointToken */
{ 0 }, /* EntryPointToken */
{ 0x20D0, 0xB8 }, /* Resources */
{ 0x2050, 0x80 }, /* StrongNameSignature */
{ 0 }, /* CodeManagerTable */
......
......@@ -3429,7 +3429,10 @@ typedef struct IMAGE_COR20_HEADER
IMAGE_DATA_DIRECTORY MetaData;
DWORD Flags;
DWORD EntryPointToken;
union {
DWORD EntryPointToken;
DWORD EntryPointRVA;
} DUMMYUNIONNAME;
IMAGE_DATA_DIRECTORY Resources;
IMAGE_DATA_DIRECTORY StrongNameSignature;
......
......@@ -966,7 +966,7 @@ static void dump_dir_clr_header(void)
print_dword( "Header Size", dir->cb );
print_ver( "Required runtime version", dir->MajorRuntimeVersion, dir->MinorRuntimeVersion );
print_clrflags( "Flags", dir->Flags );
print_dword( "EntryPointToken", dir->EntryPointToken );
print_dword( "EntryPointToken", dir->u.EntryPointToken );
printf("\n");
printf( "CLR Data Directory\n" );
print_clrdirectory( "MetaData", &dir->MetaData );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment