WdfControlDeviceInitSetShutdownNotification 함수(wdfcontrol.h)
[KMDF에만 적용]
WdfControlDeviceInitSetShutdownNotification 메서드는 제어 디바이스 개체에 대한 종료 알림 정보를 설정합니다.
통사론
void WdfControlDeviceInitSetShutdownNotification(
[in] PWDFDEVICE_INIT DeviceInit,
[in] PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION Notification,
[in] UCHAR Flags
);
매개 변수
[in] DeviceInit
WdfControlDeviceInitAllocate를 호출하여 드라이버가 가져온 WDFDEVICE_INIT 구조체에 대한포인터입니다.
[in] Notification
드라이버의 EvtDeviceShutdownNotification 이벤트 콜백 함수에 대한 포인터입니다.
[in] Flags
EvtDeviceShutdownNotification 콜백 함수가 호출되는 시기를 나타내는 하나 이상의 WDF_DEVICE_SHUTDOWN_FLAGS형식화된 플래그입니다.
반환 값
없음
발언
WdfDeviceCreate호출하기 전에 드라이버는 WdfControlDeviceInitSetShutdownNotification 호출해야 합니다. WdfControlDeviceInitSetShutdownNotification호출하는 방법에 대한 자세한 내용은 제어 디바이스 개체 사용참조하세요.
예제
WdfControlDeviceInitSetShutdownNotification사용하는 코드 예제는 WdfControlDeviceInitAllocate 참조하세요.
요구 사항
요구 | 값 |
---|---|
대상 플랫폼 | 보편적 |
최소 KMDF 버전 | 1.0 |
헤더 | wdfcontrol.h(Wdf.h 포함) |
라이브러리 | Wdf01000.sys(프레임워크 라이브러리 버전 관리 참조) |
IRQL | <= DISPATCH_LEVEL |
DDI 규정 준수 규칙 | ControlDeviceInitAPI(kmdf), DriverCreate(kmdf), KmdfIrql(kmdf), KmdfIrql2(kmdf), KmdfIrqlExplicit(kmdf) |