Design Question

Forum for discussion about kernel-mode development.
Post Reply
xjk220
Posts: 1
Joined: Wed Jun 20, 2018 11:18 am

Design Question

Post by xjk220 » Sun Jul 15, 2018 2:28 pm

Hi all, i need to implement a wdm driver that needs to send kernel information back to user-mode. I am wondering whats better between using just normal structures for storing such information vs using linked lists and synchronization locks, what do you guys think about best efficiency between both methods ?

thanks in advanced

User avatar
Brock
Posts: 204
Joined: Wed Apr 28, 2010 3:13 am
Location: Valparaiso, Florida USA
Contact:

Re: Design Question

Post by Brock » Sun Jul 15, 2018 6:31 pm

Take a look at the Inverted Call Model. Instead of your usermode application using DeviceIoControl with a supplied IOCTL to the driver the driver queues event info to the usermode application, hence the name Inverted.
Accept nothing less than STATUS_SUCCESS

Post Reply