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).
Questions tagged [umdf]
81 questions
0
votes
0 answers
Driver's symbolic link disappearing
In my UMDF windows driver I create a symbolic link of my device in \DosDevices\Global\ directory in order to track device instances. So if a device gets connected to the host a symbolic link \DosDevices\Global\MyDevice0 gets created. If another…

arminb
- 2,036
- 3
- 24
- 43
0
votes
1 answer
Windows UMDF CComPtr IWDFMemory does not get freed
In my UMDF driver i have a IWDFMemory packed inside a CComPtr
CComPtr memory;
The documentation of CComPtr says, If a CComPtr object gets out of scope, it gets automagically freed. That means this code should not create any memory…

arminb
- 2,036
- 3
- 24
- 43
0
votes
1 answer
Is hid.dll part of KMDF or UMDF?
I am trying to figure out if hid.dll is a part of KMDF or UMDF or none.
I generally use it in my C# program like this :
[DllImport("hid.dll", SetLastError = true)]
internal static extern Boolean HidD_GetInputReport
(SafeFileHandle…

Raulp
- 7,758
- 20
- 93
- 155
0
votes
1 answer
JNI use in UMDF driver
I have a umdf driver and I would like to call some functions in .jar files to establish a connection between my driver (PCSC Reader) and an eclipse plugin (JCOP).
I called some java functions (from .jar) in a c++ main using JNI but can we write JNI…

MarchToSuccess
- 69
- 1
- 2
- 11
0
votes
0 answers
CreateFile Failed: 5
I'm new in windows driver.
I downloaded this sample and fixed nothing but a report descriptor like this.
HID_REPORT_DESCRIPTOR G_DefaultReportDescriptor[] = {
0x06, 0x00, 0xFF, // USAGE_PAGE (Vender Defined Usage Page)
0x09,…

Junyoung Choi
- 11
- 1
-2
votes
1 answer
Front Panel driver on windows 7 used the third part driver
We alread have a front panel based on uart commuication, I want to use it to commuicate to windows pc. The solution is use a chip covert UART to USB, chip driver on windows is virutal COM, the driver is shown in device manager and receives…