Re: Calling NTKERNEL Mm functions from D3D Driver
- From: "Alan Previn" <AlanPrevin@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Apr 2005 21:39:40 -0700
Thanks Calvin.... the IOCTL was previously working as u proposed. Was trying
to move it from miniport do D3D.
Incidentally, where can i get this information from? I havent found it in
the DDK, i am sure it's somwhere in there, but cant find it as yet. Do you
know where that piece of "black and white" is?. Thanks again so much.
"Calvin Guan" wrote:
> You can't call kernel function from GDI driver (display driver, d3d). The
> loader will check the import table and refuses to load the binary if it's
> importing non-win32k functions.
>
> You could send an IOCTL to the miniport driver, have the miniport driver do
> the allocation. It works very well.
>
> good luck,
>
> --
> Calvin Guan, Windows DDK MVP
> Ex-SW Engineer -- Radeon NT Driver
> ATI Technologies Inc. www.ati.com
> No more video driver to write
>
>
> "Alan Previn" <AlanPrevin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:51C2691B-D985-4D45-85F7-A9138DF96EC6@xxxxxxxxxxxxxxxx
> > Hi there folks... was wondering if I can get my D3d driver to call
> > MmAllocatePagesForMdl. I currently have my WinXP D3D compiled and linked
> > (which contains a call to MmAllocatePagesForMdl), but the D3D driver
> doesn't
> > seem to get loaded by my display driver. Was wondering if there is any
> > limitation on displat drivers (DDI, DDRAW, D3D... ) to call NTKERNEL API's
> > like the MmXXX functions?
>
>
>
.
- References:
- Calling NTKERNEL Mm functions from D3D Driver
- From: Alan Previn
- Re: Calling NTKERNEL Mm functions from D3D Driver
- From: Calvin Guan
- Calling NTKERNEL Mm functions from D3D Driver
- Prev by Date: Re: About capture stream data in bda
- Next by Date: Re: About capture stream data in bda
- Previous by thread: Re: Calling NTKERNEL Mm functions from D3D Driver
- Index(es):
Relevant Pages
|