Re: talking directly to drivers

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



What is the need of this?

D3D COM calls are going to GdiEntry10, GdiEntry11 and similar entry points
in user-mode GDI, which in turn performs the syscalls to kernel-mode GDI/GRE.

Why do you want to bypass this?

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

"Sigurd Lerstad" <sigler@xxxxxxxxxxx> wrote in message
news:%235vFjhpCIHA.3940@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I want to talk directly to the direct3d drivers without going through the
COM direct3d api, I want to directly call D3dContextCreate,
D3dDrawPrimitive2 etc. functions that are exposed by the driver. I want to
reinvent the wheel, just as the COM d3d api usermode dll is one alternative
to get to the driver, I want to make my own alternative. However I don't
know how to do this. It all starts with an application in usermode loading
my usermode dll providing an alternative to the COM api. How does my
usermode dll penetrate into the kernel driver ?

This is on xp

I have downloaded the ddk, but haven't found an answer, it seems it's mostly
targeted at writing the driver, not on how to program the 'other end'

thanks,

--
Sigurd Lerstad



.



Relevant Pages

  • talking directly to drivers
    ... COM direct3d api, I want to directly call D3dContextCreate, ... D3dDrawPrimitive2 etc. functions that are exposed by the driver. ... my usermode dll providing an alternative to the COM api. ...
    (microsoft.public.development.device.drivers)
  • Re: talking directly to drivers
    ... COM direct3d api, I want to directly call D3dContextCreate, ... D3dDrawPrimitive2 etc. functions that are exposed by the driver. ... my usermode dll providing an alternative to the COM api. ...
    (microsoft.public.development.device.drivers)
  • Re: HUGE Direct 3D problem
    ... The installation program has not been in a position to characterizing the driver compatible with the running hardware ... That seems to me to be a case of graphics card not being recognized. ... You are therefore running on your on board video card which most likely has not enough capability to run direct3d programs. ... Iread lots of solutions like reinstalling VGA driver, enabling direct3D in dxdiag etc, but anyone works. ...
    (microsoft.public.windowsxp.games)
  • how do i enable direct3d acceleration?
    ... -The system is using the generic video driver. ... driver provided by the hardware manufacturer.-To test DirectDraw ... i needed to enable direct3d acceleration because the game Empire Earth ...
    (comp.sys.ibm.pc.hardware.video)
  • Re: Direct X Problems
    ... I did re-load the driver. ... Install the DirectX SDK to get the full reference device." ... says, "Direct3D functionality not available. ... The message was checked by ESET Smart Security. ...
    (microsoft.public.windows.mediacenter)