Microsoft Usbccid Smartcard Reader -umdf 2- Driver -

return SendCcidCommand(&powerOnCmd, sizeof(powerOnCmd), Atr, AtrLength);

// Configure power management WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS_INIT(&idleSettings, IdleCannotWakeFromS0); WdfDeviceAssignS0IdleSettings(device, &idleSettings); microsoft usbccid smartcard reader -umdf 2- driver

[WudfServiceInstall] DisplayName=%ServiceDesc% ServiceType=1 StartType=3 ErrorControl=1 ServiceBinary=%12%\WUDFHost.exe In WDFDEVICE_INIT* DeviceInit

[UsbCcidReader_Install.NT.Wdf] UmdfService=UsbCcidReaderService,UsbCcidReader_Install UmdfServiceOrder=UsbCcidReaderService Out WDFDEVICE* Device)

[Strings] ManufacturerName="Your Company" DeviceDesc="USB CCID Smartcard Reader (UMDF 2)" ServiceDesc="USB CCID Smartcard Reader Service" Device.h #pragma once #include <wdf.h> #include <usb.h> #include <scardlib.h> class UsbCcidDevice public: static NTSTATUS Create( In WDFDRIVER Driver, In WDFDEVICE_INIT* DeviceInit, Out WDFDEVICE* Device);

NTSTATUS Initialize(); NTSTATUS ConfigureUsbTarget(); NTSTATUS CreateIoQueues();