[PATCH 1/2] ntoskrnl.exe: Implement IoRegisterDeviceInterface
Zebediah Figura
z.figura12 at gmail.com
Mon Sep 17 11:55:15 CDT 2018
On 17/09/18 11:44, Aric Stewart wrote:
>
>
> On 9/14/18 2:02 PM, Zebediah Figura wrote:
>> On 14/09/18 13:59, Aric Stewart wrote:
>>> Signed-off-by: Aric Stewart <aric at codeweavers.com>
>>> ---
>>> dlls/ntoskrnl.exe/ntoskrnl.c | 216 ++++++++++++++++++++++++++++++++++++
>>> dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
>>> include/ddk/wdm.h | 1 +
>>> 3 files changed, 218 insertions(+), 1 deletion(-)
>>>
>>>
>>>
>>>
>>>
>>
>> Can this go directly through setupapi instead?
>>
>>
>
> Sorry, I dont know if I understand your question...
>
> What do you mean go through setupapi? Not that we have or enforce this in any way, but technically setupapi is user level and IoRegisterDeviceInterface is kernel level.
>
> -aric
>
>
I mean that we could implement this on top of setupapi routines instead
of essentially reimplementing them here. I know that it's
architecturally upside-down, but we call call user-mode functions
elsewhere in ntoskrnl, and as long as we're going to keep drivers in
user-mode I don't see any reason to avoid that.
More information about the wine-devel
mailing list