Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 1.32 KB

srb-uninitialize-device.md

File metadata and controls

47 lines (26 loc) · 1.32 KB
title description keywords topic_type ms.topic api_name api_type ms.date
SRB_UNINITIALIZE_DEVICE
SRB\_UNINITIALIZE\_DEVICE
SRB_UNINITIALIZE_DEVICE Streaming Media Devices
apiref
reference
SRB_UNINITIALIZE_DEVICE
NA
11/28/2017

SRB_UNINITIALIZE_DEVICE

The class driver sends this request to signal the minidriver to disable itself.

Return Value

The minidriver should set one of the following as the status in the SRB:

STATUS_SUCCESS
Indicates successful completion of the command.

STATUS_NOT_IMPLEMENTED
Indicates that the function is not supported by the minidriver.

STATUS_ADAPTER_HARDWARE_ERROR
Indicates that the minidriver cannot uninitialize at this time.

Comments

The minidriver should deallocate any resources it allocated, and disable the device's interrupts. (The class driver automatically deallocates any resources it allocated on behalf of the minidriver.)