Questions tagged [umdf]

User-Mode Driver Framework (UMDF) is a library assisting to develop user-mode drivers that support the Microsoft Windows Driver Model (WDM). UMDF provides common driver functionality, which enables to write a driver with significantly less code than in WDM. UMDF along with KMDF comprise the WDF (Windows Driver Frameworks).

81 questions
1
vote
1 answer

UMDF PnP Driver creates no trace logs

Im trying to create trace log messages for this Idd Sample Driver. I am following this document. I add WPP_INIT_TRACING(pDriverObject, pRegistryPath) to the DriverEntry, and WPP_CLEANUP(pDriverObject)to the…
vulkur
  • 21
  • 5
1
vote
0 answers

Can we call winhttp request in UMDF driver successfully?

I have a problem in working with WinHttp request in my UMDF driver. Whenever I call my POST method in my REST API thread function, after the response is received, I get error 997 Overlapped I/O operation is in progress and my REST API thread…
1
vote
0 answers

A question about Adapter Workflow

I got a problem when I developed the WBDI and EngineAdapter with my fingerprint module on Win10 OS. The problem is why the EngineAdapter doesn't go into below callback functions, after I finished Step 1 and Step 2 below? Because the document of…
CSY
  • 11
  • 1
1
vote
1 answer

How to handle COM settings in Virtual Serial Driver

I have created virtual serial driver (UMDF) using microsoft sample. Instead of device, i am just receive and forward data to TCP server. Do i need to handle virtual COM settings like Baud rate, Parity, Stop Bits, Data Length(set by application) in…
Prasanth
  • 33
  • 5
1
vote
0 answers

Windows Biometric Framework for fingerprint device

We have our fingerprint device which is working properly as USB device. Data capturing works fine with our proprietary application. Currently we are using custom vendor USB class for driver development. When we plug this device, this device is…
1
vote
0 answers

UMDF Detect Display State (On/Dim/Off) from System Reboot/Restart Events

Using PowerSettingRegisterNotification, I was able to listen to Display States on the following System Power Events (using GUID_CONSOLE_DISPLAY_STATE as SettingGUID): System Shutdown Sleep Hibernate User Idle (Turn screen off after n-minutes) What…
Jer Yango
  • 582
  • 2
  • 8
  • 22
1
vote
0 answers

How can I make UMDF driver write to file?

I want to log a string to an external file in my UMDF driver. For example // create/open file CString filePath = _T("C:\\Metric.csv"); CHandle hFile(CreateFile(filePath, GENERIC_WRITE, 0, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL,…
JCGM
  • 85
  • 7
1
vote
1 answer

"Error MSB8020: The build tools for WindowsUserModeDriver10.0 cannot be found." But

The first build of a UMDF driver solution each day yields the error: "Error MSB8020: The build tools for WindowsUserModeDriver10.0 (Platform Toolset = 'WindowsUserModeDriver10.0') cannot be found." However, if I log into the build server and…
Dar
  • 383
  • 1
  • 5
  • 16
1
vote
0 answers

Accessing Camera and Renderer from a UMDF driver

We are upgrading our existing chat application to support Video chat, and in our existing architecture, we have following modules UWP Applicaion- For user interaction UMDF driver - Its has core stack for signalling with server and Tx , Rx of video…
Shiva
  • 21
  • 2
1
vote
1 answer

Visual C++ UMDF V2 template seems to create a C project as opposed to C++

I'm new to driver development. I've been asked to write a Universal Mode Driver for a simple USB device. I've been reading the book "Developing Drivers with the Windows Driver Foundation." I've also been looking at and trying to understand the code…
Dar
  • 383
  • 1
  • 5
  • 16
1
vote
0 answers

How to port legacy UMDF HID driver to UWD

I am working on making the legacy HID driver written using UMDF UWD compliant. I have gone through the MSDN documentation on writing the universal windows drivers and did not see any article on porting the existing legacy drivers to UWD. Can…
1
vote
2 answers

Cannot compile Visual Studio's template for UMDF USB drivers

The line: #include "device.tmh" appears underlined in red, and an error is reported that "the source file cannot be opened" (I'm translating from Spanish here, the wording might be different in English). Also, words like: …
ismarlowe
  • 119
  • 2
  • 13
1
vote
0 answers

Microsoft Visual Studio 2010 Professional and wdksetup for wdk8.1

I have installed Microsoft Visual Studio 2010 Professional and wdksetup for wdk8.1 but i couldn't find 'Visual C++ > Windows Driver > WDF' in the 'New Project' dialog box. I have to develop a minifilter driver. Guide me am lost
1
vote
0 answers

How to obtain SCARD_ATTR_DEVICE_UNIT correctly

I am developing a smartcard UMDF windows driver. I would like to achieve following behaviour: When listing all connected readers by using API call SCardListReaders I want to retrieve the correct friendly names for each attached reader. So for…
arminb
  • 2,036
  • 3
  • 24
  • 43
1
vote
0 answers

Need to develop a Device Driver, which when installed on a system would create multiple Virtual serial port

This is my first Windows device driver and I have been assigned a task to develop a Windows device driver from scratch. When the user installs this driver on a windows PC it would ask the user, during the installation process, to enter the number of…