次の方法で共有


DeactivateDevice (Compact 2013)

3/26/2014

This function unloads the driver for the specified device and deletes the active key of the device from the registry.

Syntax

BOOL DeactivateDevice(
  HANDLE hDevice
);

Parameters

Return Value

Nonzero indicates success. Zero indicates failure.

Requirements

Header

winbase.h

Library

coredll.lib

See Also

Reference

Device Manager Functions
ActivateDevice
ActivateDeviceEx