IoUnregisterPlugPlayNotification 함수(wdm.h)

이 루틴은 Windows 7 이상 버전의 Windows에서 사용되지 않습니다. 자세한 내용은 아래 의 설명 섹션을 참조하세요.

IoUnregisterPlugPlayNotification 루틴은 PnP 이벤트에 대한 드라이버의 콜백 루틴 등록을 제거합니다.

구문

NTSTATUS IoUnregisterPlugPlayNotification(
  [in] PVOID NotificationEntry
);

매개 변수

[in] NotificationEntry

제거할 등록을 나타내는 불투명 값에 대한 포인터입니다. 값은 IoRegisterPlugPlayNotification에 대한 이전 호출에서 반환되었습니다.

반환 값

NotificationEntry가 유효한 경우 IoUnregisterPlugPlayNotification은 항상 STATUS_SUCCESS 반환합니다.

설명

Windows 7 이상 버전의 Windows에서 이 함수는 사용되지 않으며 기존 드라이버를 지원하기 위해 제공됩니다. 대신 IoUnregisterPlugPlayNotificationEx 루틴을 사용합니다.

시스템은 알림 루틴의 실행과 IoUnregisterPlugPlayNotification 간에 동기화되지 않습니다. 따라서 IoUnregisterPlugPlayNotification 메서드가 반환된 후에 루틴을 호출할 수 있습니다. 필요한 경우 드라이버는 IoUnregisterPlugPlayNotification 이 호출된 후 알림을 무시하도록 자체 메커니즘을 구현해야 합니다.

IoUnregisterPlugPlayNotification 은 하나의 PnP 알림 등록을 제거합니다. 즉, 하나의 PnP 이벤트 범주에 대해 하나의 드라이버 콜백 루틴을 등록합니다.

드라이버는 먼저 알림을 등록 취소한 다음 관련 컨텍스트 버퍼를 해제해야 합니다.

각 활성 등록에 대한 드라이버 개체에 대한 참조가 있으므로 모든 PnP 알림 등록을 제거할 때까지 드라이버를 언로드할 수 없습니다.

요구 사항

요구 사항
대상 플랫폼 유니버설
헤더 wdm.h(Wdm.h, Ntddk.h, Ntifs.h 포함)
라이브러리 NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL
DDI 규정 준수 규칙 HwStorPortProhibitedDDIs(storport), PowerIrpDDis(wdm)

추가 정보

IoRegisterPlugPlayNotification

IoUnregisterPlugPlayNotificationEx