4 #define WOW64_SYSTEM_DIRECTORY "SysWOW64"
5 #define WOW64_SYSTEM_DIRECTORY_U L"SysWOW64"
6 #define WOW64_X86_TAG " (x86)"
7 #define WOW64_X86_TAG_U L" (x86)"
28 #define WOW64_POINTER(Type) ULONG
85 ULONG DependencyCount;
98 #define LDR_DATA_TABLE_ENTRY_SIZE_WINXP_32 FIELD_OFFSET(LDR_DATA_TABLE_ENTRY32, DdagNode)
99 #define LDR_DATA_TABLE_ENTRY_SIZE_WIN7_32 FIELD_OFFSET(LDR_DATA_TABLE_ENTRY32, BaseNameHashValue)
100 #define LDR_DATA_TABLE_ENTRY_SIZE_WIN8_32 FIELD_OFFSET(LDR_DATA_TABLE_ENTRY32, ImplicitPathOptions)
122 ULONG PackagedBinary : 1;
123 ULONG MarkedForRemoval : 1;
125 ULONG LoadNotificationsSent : 1;
126 ULONG TelemetryEntryProcessed : 1;
127 ULONG ProcessStaticImport : 1;
128 ULONG InLegacyLists : 1;
131 ULONG InExceptionTable : 1;
132 ULONG ReservedFlags1 : 2;
133 ULONG LoadInProgress : 1;
134 ULONG LoadConfigProcessed : 1;
135 ULONG EntryProcessed : 1;
136 ULONG ProtectDelayLoad : 1;
137 ULONG ReservedFlags3 : 2;
138 ULONG DontCallForThreads : 1;
139 ULONG ProcessAttachCalled : 1;
140 ULONG ProcessAttachFailed : 1;
141 ULONG CorDeferredValidate : 1;
143 ULONG DontRelocate : 1;
145 ULONG ReservedFlags5 : 3;
146 ULONG Redirected : 1;
147 ULONG ReservedFlags6 : 2;
148 ULONG CompatDatabaseProcessed : 1;
155 WOW64_POINTER(
struct _ACTIVATION_CONTEXT *) EntryPointActivationContext;
158 LIST_ENTRY32 NodeModuleLink;
165 LARGE_INTEGER LoadTime;
166 ULONG BaseNameHashValue;
167 LDR_DLL_LOAD_REASON LoadReason;
168 ULONG ImplicitPathOptions;
169 ULONG ReferenceCount;
215 ULONG ShowWindowFlags;
222 ULONG EnvironmentSize;
223 ULONG EnvironmentVersion;
225 ULONG ProcessGroupId;
239 BOOLEAN ImageUsesLargePages : 1;
240 BOOLEAN IsProtectedProcess : 1;
241 BOOLEAN IsLegacyProcess : 1;
242 BOOLEAN IsImageDynamicallyRelocated : 1;
243 BOOLEAN SkipPatchingUser32Forwarders : 1;
244 BOOLEAN IsPackagedProcess : 1;
245 BOOLEAN IsAppContainer : 1;
246 BOOLEAN SpareBits : 1;
264 ULONG ProcessInJob : 1;
265 ULONG ProcessInitializing : 1;
266 ULONG ProcessUsingVEH : 1;
267 ULONG ProcessUsingVCH : 1;
268 ULONG ProcessUsingFTH : 1;
269 ULONG ReservedBits0 : 27;
278 ULONG SystemReserved[1];
281 ULONG TlsExpansionCounter;
283 ULONG TlsBitmapBits[2];
291 ULONG NumberOfProcessors;
294 LARGE_INTEGER CriticalSectionTimeout;
301 ULONG MaximumNumberOfHeaps;
306 ULONG GdiDCAttributeList;
310 ULONG OSMajorVersion;
311 ULONG OSMinorVersion;
312 USHORT OSBuildNumber;
315 ULONG ImageSubsystem;
316 ULONG ImageSubsystemMajorVersion;
317 ULONG ImageSubsystemMinorVersion;
323 ULONG TlsExpansionBitmapBits[32];
327 ULARGE_INTEGER AppCompatFlags;
328 ULARGE_INTEGER AppCompatFlagsUser;
342 LIST_ENTRY32 FlsListHead;
356 ULONG HeapTracingEnabled : 1;
357 ULONG CritSecTracingEnabled : 1;
358 ULONG LibLoaderTracingEnabled : 1;
359 ULONG SpareTracingBits : 29;
365 #define GDI_BATCH_BUFFER_SIZE 310
384 ULONG LastErrorValue;
385 ULONG CountOfOwnedCriticalSections;
388 ULONG User32Reserved[26];
389 ULONG UserReserved[5];
392 ULONG FpSoftwareStatusRegister;
394 NTSTATUS ExceptionCode;
415 NTSTATUS LastStatusValue;
417 WCHAR StaticUnicodeBuffer[261];
421 LIST_ENTRY32 TlsLinks;
431 Destination->Length = Source->Length;
432 Destination->MaximumLength = Source->MaximumLength;
433 Destination->Buffer = (PWCH)UlongToPtr(Source->Buffer);
441 Destination->Length = Source->Length;
442 Destination->MaximumLength = Source->MaximumLength;
443 Destination->Buffer = PtrToUlong(Source->Buffer);