Created
December 14, 2014 21:14
-
-
Save swwwolf/139522045acaac7474eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NTSTATUS SetCreateThreadNotifyRoutine(IN PCREATE_THREAD_NOTIFY_ROUTINE NotifyRoutine) { | |
PAGED_CODE(); | |
if ( !NotifyRoutine ) | |
return STATUS_INVALID_PARAMETER; | |
return PsSetCreateThreadNotifyRoutine(NotifyRoutine); | |
} | |
VOID CreateThreadNotifyRoutine(IN HANDLE ProcessId, IN HANDLE ThreadId, IN BOOLEAN Create) { | |
PAGED_CODE(); | |
KdPrint(("CreateThreadNotifyRoutine called with ProcessId = 0x%08X, ThreadId = 0x%08X, Create = %d\n", ProcessId, ThreadId, Create)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment