Bug 1430149 - Fix NtUndoc.h on mingw. r=aklotz

mingw headers declare both ObjectNameInformation and OBJECT_NAME_INFORMATION, which conflicts with local definitions.
This commit is contained in:
Jacek Caban 2018-12-25 18:48:59 +01:00
Родитель 3fb331d4d4
Коммит 5b9bc7c151
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -44,11 +44,13 @@ struct SYSTEM_HANDLE_INFORMATION_EX {
SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX mHandles[1];
};
#ifndef __MINGW32__
enum UndocObjectInformationClass { ObjectNameInformation = 1 };
struct OBJECT_NAME_INFORMATION {
UNICODE_STRING mName;
};
#endif
// The following declarations are documented on MSDN but are not included in
// public user-mode headers.