2 ms·
> You need to install a user mode drive to leverage already existing kernel code with your device. You mean a user-mode application? A user-mode driver is some
by throwaway613834 9y ago
> You need to install a user mode drive to leverage already existing kernel code with your device.
You mean a user-mode application? A user-mode driver is something you write instead of a kernel-mode driver (when it's possible), not on top of it. (?)
- therein 9y agoWindows has User-Mode Driver Framework and Kernel-Mode Driver Framework where UMDF exposes only a part of the kernel API. KMDF drivers have to be signed with a CA that's not user installed while UMDF drivers may be.
- throwaway613834 9y agoI'm already aware of this and I don't understand how this answers the question in the comment you replied to. Maybe you meant to reply to a different comment?
- NateyJay 9y agoYes, a user-mode driver is something you would write instead of a kernel mode driver, if you can. Kernel-mode code is the most powerful, but also poses the greatest security and stability threat to the computer, so Microsoft locks it down the hardest. If you don't need the extra power, you can write a use-mode driver that uses Microsoft-provided kernel components (Like Winusb.sys) and you don't have to go through the same security procedures.