diff options
| author | JakobL-MSFT <[email protected]> | 2024-02-14 11:52:37 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-14 11:52:37 -0800 |
| commit | c73af47e04261d66a3365c4eee64b2295f2b9d53 (patch) | |
| tree | 83942209c151d3ffb6b7a6789aaa1f69e13af28a /biometrics/driver/Driver.cpp | |
| parent | ae395fa7d01465fa82eb37a8d19084366aa7599b (diff) | |
Delete biometrics sample (#1111)
Diffstat (limited to 'biometrics/driver/Driver.cpp')
| -rw-r--r-- | biometrics/driver/Driver.cpp | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/biometrics/driver/Driver.cpp b/biometrics/driver/Driver.cpp deleted file mode 100644 index 0d5c0797..00000000 --- a/biometrics/driver/Driver.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/*++ - - THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF - ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO - THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A - PARTICULAR PURPOSE. - - Copyright (c) Microsoft Corporation. All rights reserved - -Module Name: - - Driver.cpp - -Abstract: - - This module contains the implementation of the Biometric - core driver callback object. - -Environment: - - Windows User-Mode Driver Framework (WUDF) - ---*/ - -#include "internal.h" -#include "driver.tmh" - -HRESULT -CBiometricDriver::OnDeviceAdd( - _In_ IWDFDriver *FxWdfDriver, - _In_ IWDFDeviceInitialize *FxDeviceInit - ) -/*++ - - Routine Description: - - The FX invokes this method when it wants to install our driver on a device - stack. This method creates a device callback object, then calls the Fx - to create an Fx device object and associate the new callback object with - it. - - Arguments: - - FxWdfDriver - the Fx driver object. - - FxDeviceInit - the initialization information for the device. - - Return Value: - - status - ---*/ -{ - HRESULT hr = S_OK; - CBiometricDevice *device = NULL; - - // - // Create device callback object - // - - hr = CBiometricDevice::CreateInstanceAndInitialize(FxWdfDriver, - FxDeviceInit, - &device); - - // - // Call the device's construct method. This - // allows the device to create any queues or other structures that it - // needs now that the corresponding fx device object has been created. - // - - if (SUCCEEDED(hr)) - { - hr = device->Configure(); - } - - return hr; -} |
