From: joshuachuang on
Hi,

I try to create my own GUID in Elo-Pen Driver sample by using
WdfDeviceCreateDeviceInterface().
But when I use that GUID to try to CreateFile, system always return error
code 31. Which means the driver is not functional ... but the driver is still
alive and I could use it as a mouse ...

What's going wrong?

Joshua
From: Doron Holan [MSFT] on
hidclass blocks all file creates to the miniport, that's just the way it is.
you can enumerate your own raw PDO from the KMDF hid "miniport" driver and
then have the app talk to that raw pdo

d

--

This posting is provided "AS IS" with no warranties, and confers no rights.


"joshuachuang" <joshua(a)pie.com.tw> wrote in message
news:74B890EB-33CD-4636-90A9-F07643B8F1CE(a)microsoft.com...
> Hi,
>
> I try to create my own GUID in Elo-Pen Driver sample by using
> WdfDeviceCreateDeviceInterface().
> But when I use that GUID to try to CreateFile, system always return error
> code 31. Which means the driver is not functional ... but the driver is
> still
> alive and I could use it as a mouse ...
>
> What's going wrong?
>
> Joshua