Update PEB types
@@ -14,6 +14,46 @@ typedef struct _ACTIVATION_CONTEXT_STACK
ULONG StackId;
} ACTIVATION_CONTEXT_STACK, *PACTIVATION_CONTEXT_STACK;
+// private
+typedef struct _API_SET_NAMESPACE
+{
+ ULONG Version;
+ ULONG Size;
+ ULONG Flags;
+ ULONG Count;
+ ULONG EntryOffset;
+ ULONG HashOffset;
+ ULONG HashFactor;
+} API_SET_NAMESPACE, *PAPI_SET_NAMESPACE;
+
+// private
+typedef struct _API_SET_HASH_ENTRY
+{
+ ULONG Hash;
+ ULONG Index;
+} API_SET_HASH_ENTRY, *PAPI_SET_HASH_ENTRY;
+
+// private
+typedef struct _API_SET_NAMESPACE_ENTRY
+{
+ ULONG Flags;
+ ULONG NameOffset;
+ ULONG NameLength;
+ ULONG HashedLength;
+ ULONG ValueOffset;
+ ULONG ValueCount;
+} API_SET_NAMESPACE_ENTRY, *PAPI_SET_NAMESPACE_ENTRY;
+
+// private
+typedef struct _API_SET_VALUE_ENTRY
+{
+ ULONG Flags;
+ ULONG NameOffset;
+ ULONG NameLength;
+ ULONG ValueOffset;
+ ULONG ValueLength;
+} API_SET_VALUE_ENTRY, *PAPI_SET_VALUE_ENTRY;
+
// symbols
typedef struct _PEB
{
@@ -68,7 +108,7 @@ typedef struct _PEB
};
ULONG SystemReserved[1];
ULONG AtlThunkSListPtr32;
- PVOID ApiSetMap;
+ PAPI_SET_NAMESPACE ApiSetMap;
ULONG TlsExpansionCounter;
PVOID TlsBitmap;
ULONG TlsBitmapBits[2];
