PsRemoveCreateThreadNotifyRoutine 함수(ntddk.h)

PsRemoveCreateThreadNotifyRoutine 루틴은 PsSetCreateThreadNotifyRoutine 루틴에 의해 등록된 콜백 루틴을 제거합니다.

구문

NTSTATUS PsRemoveCreateThreadNotifyRoutine(
  [in] PCREATE_THREAD_NOTIFY_ROUTINE NotifyRoutine
);

매개 변수

[in] NotifyRoutine

드라이버가 이전에 PsSetCreateThreadNotifyRoutine을 통해 등록한 콜백 루틴에 대한 포인터입니다.

반환 값

PsRemoveCreateThreadNotifyRoutine 은 콜백 루틴을 성공적으로 제거하면 STATUS_SUCCESS 반환하거나 NotifyRoutine 값이 등록된 콜백 루틴과 일치하지 않는 경우 STATUS_PROCEDURE_NOT_FOUND 반환합니다.

설명

드라이버의 콜백 루틴이 현재 실행 중인 경우 PsRemoveCreateThreadNotifyRoutine 은 콜백 루틴이 종료될 때까지 기다렸다가 제거합니다. 따라서 콜백 루틴 자체는 PsRemoveCreateThreadNotifyRoutine을 호출해서는 안 됩니다.

요구 사항

요구 사항
대상 플랫폼 유니버설
헤더 ntddk.h(Ntddk.h 포함)
라이브러리 NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <=APC_LEVEL

추가 정보

PsSetCreateThreadNotifyRoutine