Stop method

The Stop method attempts to stop the driver for the device.

Syntax

HRESULT Stop();

Parameters

This method has no parameters.

Return value

Stop returns a standard HRESULT value.

Remarks

The Stop method will automatically succeed if the device is already stopped (that is, the IsStarted property equals VARIANT_FALSE). The stopped state is not persistent; if the computer restarts or a driver is loaded, the device might become started.

See also

Attribute Tokens in SDEL

DeviceManagement for Device Targets

DeviceManagement::Start

 

 

Send comments about this topic to Microsoft

Build date: 1/12/2012