I would suggest you to consider using IOCTLs instead of shared memory. This
means - moving to "request-response" paradigm and send IOCTLs to the driver
with the request data. The driver will answer with the response data.
Maxim Shatskih, Windows DDK MVP