We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00e923f commit a3902f1Copy full SHA for a3902f1
phlib/basesup.c
@@ -316,12 +316,6 @@ HANDLE PhCreateThread(
316
NULL
317
);
318
319
- // NOTE: PhCreateThread previously used CreateThread with callers using GetLastError()
320
- // for checking errors. We need to preserve this behavior for compatibility -dmex
321
- // TODO: Migrate code over to PhCreateThreadEx and remove this function.
322
- //RtlSetLastWin32ErrorAndNtStatusFromNtStatus(status);
323
- SetLastError(PhNtStatusToDosError(status));
324
-
325
if (NT_SUCCESS(status))
326
{
327
PHLIB_INC_STATISTIC(BaseThreadsCreated);
0 commit comments