Re: sharing memory with user and kernel



There is no need in going to kernel mode for virtual microphone driver, it
is implementable as old-style WinMM driver in user mode.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com

"Maverick 1288" <Maverick 1288@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:639B2503-149A-4889-B4A1-5A52F1D96A2F@xxxxxxxxxxxxxxxx
Hello,

I developed an application in user mode that capture audio data and stores
the data in shared memory using CreateFileMapping and MapViewOfFile. This
memory is accessible via an API i've developed (standard DLL stuff). I'm now
working on a virtual mic driver (MSVAD pcemx example drom DDK) and my
intentions is to ovverride the CopyTo function and pump the data from my
shared memory into the mic buffer. Is this a good approach ? and does any
body have an example on how to map the shared memory into the kernel space ?

- henrik

.



Relevant Pages

  • Re: WDF and 32 bit process
    ... Don Burn (MVP, Windows DDK) ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... The interrupt status is passed to the user mode application to determine ...
    (microsoft.public.development.device.drivers)
  • Re: WDF and 32 bit process
    ... The driver basically uses a manual to queue to hold the ... When the interrupt fires (continuous reader ... Don Burn (MVP, Windows DDK) ... The interrupt status is passed to the user mode application to ...
    (microsoft.public.development.device.drivers)
  • Re: sharing memory with user and kernel
    ... handle the problems of the user mode application going away or the driver ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... the data in shared memory using CreateFileMapping and MapViewOfFile. ... working on a virtual mic driver and my ...
    (microsoft.public.development.device.drivers)
  • Re: sharing memory with user and kernel
    ... handle the problems of the user mode application going away or the driver ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... the data in shared memory using CreateFileMapping and MapViewOfFile. ... working on a virtual mic driver and my ...
    (microsoft.public.development.device.drivers)
  • Re: DeviceIoControl with OVERLAPPED and KMDF
    ... user mode - and not reading the documentation carefully enough;) ... Maxim Shatskih, Windows DDK MVP ... DeviceIoControl() is called with OVERLAPPED, ... Like you replied, I thought KMDF (or my driver, no ...
    (microsoft.public.development.device.drivers)