Memory: App - Driver

How do I declare memory for use in an application and a driver

I want declare a pointer in the app, "int *pData", then call some function so that the driver will allocate the necessary memory, pointed to by *pData, which can be accessed by both the driver and the app.

I'm trying to port a Linux driver and Linux app.  The Linux app is using mmap() function.  Is there a Microsoft equivalent

Thanks


Answer this question

Memory: App - Driver