Hi Guys,
 
I'm a little lost and in need for some suggestions. I am implementing the device creation for Direct3D but cannot seem to figure out what microsoft wants for NtGdiD3dContextCreate. My plan is to get d3d9.dll to work with Microsoft's gdi32 and win32k and then later make it work by maybe filling in some gaps in the ROS implementation of gdi32 and win32k.
 
Anyways, does anybody know where the hSurfColor handle comes from. The documentation says it is a handle to a DD_SURFACE_LOCAL structure however. My experiments have shown that win32k expects some specific handle, but I don't know where it could get it from. (Apimon shows that NtGdiCreateSurfaceObject hasn't been called so it can't be a handle returned by that call.)
 
Any suggestions on this are welcome as I have been stuck on this for the last week now ...
 
Jurgen (hoping to get D3D device creation to work before christmas ...)