UsbDk: CWdfDevice class: delete device on destruction
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
parent
12cc9e4985
commit
bb3e2724f9
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ class CWdfDevice
|
|||
{
|
||||
public:
|
||||
CWdfDevice() {}
|
||||
~CWdfDevice() { WdfObjectDelete(m_Device); }
|
||||
|
||||
NTSTATUS CreateSymLink(const UNICODE_STRING &Name);
|
||||
NTSTATUS Create(CDeviceInit &DeviceInit, WDF_OBJECT_ATTRIBUTES &DeviceAttr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue