[NTDLL/LDR]

- Fix build (not sure if its right place for IMAGE_LOADER_FLAGS_*)
- Remove unused label

svn path=/trunk/; revision=52593
This commit is contained in:
Rafal Harabien 2011-07-09 22:26:23 +00:00
parent 2bd7185260
commit 4adb49c9cf
3 changed files with 10 additions and 1 deletions

View file

@ -15,6 +15,10 @@
#define LDRP_UPDATE_DEREFCOUNT 0x02
#define LDRP_UPDATE_PIN 0x03
/* Loader flags */
#define IMAGE_LOADER_FLAGS_COMPLUS 0x00000001
#define IMAGE_LOADER_FLAGS_SYSTEM_GLOBAL 0x01000000
typedef struct _LDRP_TLS_DATA
{
LIST_ENTRY TlsLinks;

View file

@ -474,7 +474,6 @@ LdrpCreateDllSection(IN PUNICODE_STRING FullName,
}
}
Quickie:
/* Close the file handle, we don't need it */
NtClose(FileHandle);

View file

@ -419,6 +419,12 @@ typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS;
#define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER 0x2000
#define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE 0x8000
//
// Loader Flags
//
#define IMAGE_LOADER_FLAGS_COMPLUS 0x00000001
#define IMAGE_LOADER_FLAGS_SYSTEM_GLOBAL 0x01000000
//
// Directory Entry Specifiers
//