KeRemoveEntryDeviceQueue 함수(wdm.h)

KeRemoveEntryDeviceQueue 루틴은 지정된 항목이 디바이스 큐에 있는지 여부를 반환하고, 큐에 대기된 경우 디바이스 큐에서 제거합니다.

구문

BOOLEAN KeRemoveEntryDeviceQueue(
  [in, out] PKDEVICE_QUEUE       DeviceQueue,
  [in, out] PKDEVICE_QUEUE_ENTRY DeviceQueueEntry
);

매개 변수

[in, out] DeviceQueue

호출자가 스토리지를 제공하는 초기화된 디바이스 큐 개체에 대한 포인터입니다.

[in, out] DeviceQueueEntry

지정된 DeviceQueue에서 제거할 항목에 대한 포인터입니다.

반환 값

DeviceQueueEntry가 큐에 대기 중인 경우 제거되고 KeRemoveEntryDeviceQueue는 TRUE를 반환합니다.

설명

IRQL이 DISPATCH_LEVEL 설정되고 DeviceQueue 스핀 잠금이 획득됩니다.

지정된 DeviceQueueEntry 가 큐에 없는 경우 IRP가 이미 처리 중이거나 IRP가 취소되었습니다. 이 경우 KeRemoveEntryDeviceQueue단순히 FALSE를 반환합니다.

지정된 DeviceQueue 스핀 잠금이 해제되고 IRQL이 이전 값으로 복원됩니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 2000부터 사용할 수 있습니다.
대상 플랫폼 유니버설
헤더 wdm.h(Wdm.h, Ntddk.h, Ntifs.h 포함)
라이브러리 NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= DISPATCH_LEVEL
DDI 규정 준수 규칙 HwStorPortProhibitedDDIs(storport), IrqlKeDispatchLte(wdm)

추가 정보

KeInitializeDeviceQueue

KeInsertByKeyDeviceQueue

KeInsertDeviceQueue

KeRemoveByKeyDeviceQueue

KeRemoveDeviceQueue