I am doing it the same way Microsoft does:
The dll, called by the user program, calls functions inside of the win32k interface like "NtGdiD3DDrawPrimitives2" which map the functions of the device driver.
But I have just noticed that most of them aren't implemented yet. Someone will have to do that first.
Maarten Bosma
Hi One quesitn do you plan to map the graphice drivers directx to user mode then to d3d9.dll ? that way the directx for the graphice crad should go. thuse api that are not support by the graphice card driver should map to software emulation api
sames goes for ddraw.dll and some other dll files for directx