2021-07-23 14:43:28 +00:00
|
|
|
/*
|
|
|
|
* 32-bit version of ntdll structures
|
|
|
|
*
|
|
|
|
* Copyright 2021 Alexandre Julliard
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WOW64_STRUCT32_H
|
|
|
|
#define __WOW64_STRUCT32_H
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
ULONG Length;
|
|
|
|
ULONG RootDirectory;
|
|
|
|
ULONG ObjectName;
|
|
|
|
ULONG Attributes;
|
|
|
|
ULONG SecurityDescriptor;
|
|
|
|
ULONG SecurityQualityOfService;
|
|
|
|
} OBJECT_ATTRIBUTES32;
|
|
|
|
|
2021-07-23 15:09:08 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
UNICODE_STRING32 ObjectName;
|
|
|
|
UNICODE_STRING32 ObjectTypeName;
|
|
|
|
} DIRECTORY_BASIC_INFORMATION32;
|
|
|
|
|
2021-07-23 15:10:57 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
DBG_STATE NewState;
|
|
|
|
CLIENT_ID32 AppClientId;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
EXCEPTION_RECORD32 ExceptionRecord;
|
|
|
|
ULONG FirstChance;
|
|
|
|
} Exception;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
ULONG HandleToThread;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
ULONG SubSystemKey;
|
|
|
|
ULONG StartAddress;
|
|
|
|
} NewThread;
|
|
|
|
} CreateThread;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
ULONG HandleToProcess;
|
|
|
|
ULONG HandleToThread;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
ULONG SubSystemKey;
|
|
|
|
ULONG FileHandle;
|
|
|
|
ULONG BaseOfImage;
|
|
|
|
ULONG DebugInfoFileOffset;
|
|
|
|
ULONG DebugInfoSize;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
ULONG SubSystemKey;
|
|
|
|
ULONG StartAddress;
|
|
|
|
} InitialThread;
|
|
|
|
} NewProcess;
|
|
|
|
} CreateProcessInfo;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
NTSTATUS ExitStatus;
|
|
|
|
} ExitProcess, ExitThread;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
ULONG FileHandle;
|
|
|
|
ULONG BaseOfDll;
|
|
|
|
ULONG DebugInfoFileOffset;
|
|
|
|
ULONG DebugInfoSize;
|
|
|
|
ULONG NamePointer;
|
|
|
|
} LoadDll;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
ULONG BaseAddress;
|
|
|
|
} UnloadDll;
|
|
|
|
} StateInfo;
|
|
|
|
} DBGUI_WAIT_STATE_CHANGE32;
|
|
|
|
|
2021-07-23 14:43:28 +00:00
|
|
|
#endif /* __WOW64_STRUCT32_H */
|