Hi Shatskih,
Our driver is simple kernel mode driver and I need to call
VideoPortInt10().But this function requires first argument which I don't
know how to get.What I study is display driver is transparent to other
drivers and only
filter driver/mini port drivers can call that function. Please tell me how to
call this function from a simple kernel mode driver.

thanks in advance,
Krishna

Re: VideoPortInt10 by Mark

Mark
Fri Aug 05 09:07:23 CDT 2005

Krishna wrote:
> Hi Shatskih,
> Our driver is simple kernel mode driver and I need to call
> VideoPortInt10().But this function requires first argument which I don't
> know how to get.What I study is display driver is transparent to other
> drivers and only
> filter driver/mini port drivers can call that function. Please tell me how to
> call this function from a simple kernel mode driver.
>
> thanks in advance,
> Krishna
>
>
The DDI is meant to be called from a video miniport driver only, and is
not meant as a general purpose kernel driver DDI. The first parameter,
as the DDK documentation makes clear, is a "pointer to the miniport
driver's device extension".

How are you going to synchronize your access to this bios resource with
other concurrent accesses?


--

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com

Re: VideoPortInt10 by Tim

Tim
Sun Aug 07 00:19:31 CDT 2005

"Krishna" <Krishna@discussions.microsoft.com> wrote:
>
> Our driver is simple kernel mode driver and I need to call
>VideoPortInt10().But this function requires first argument which I don't
>know how to get.What I study is display driver is transparent to other
>drivers and only
>filter driver/mini port drivers can call that function. Please tell me how to
>call this function from a simple kernel mode driver.

You can have your video miniport expose a interface that can be called from
another driver, then call VideoPortInt10 from the miniport.

If you don't have the source for your miniport, then it is extremely
unlikely that you are going about things the right way. What INT 10
services do you plan to call?
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc