Display . . .

Hi,
Is there any way i can get access to a display driver???
I mean i would like to use CreateFile(“\\.\****” . . .) and use the
handle returned to sed the driver some ioctls. i tried using
“\\.\display1” but no use.
The error code says access denied.
Please let me know if i am wrong or ther is some other method to do that.

Thanks and Regards


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Watch out, display drivers do not adhere to the structure of other drivers.
If you want to communicate with a display driver at a lower level, you can
try DrvEscape, or one of the many other DDI entry points. The miniport takes
IoCtrls, you can use EngDeviceIoControl, but there’s only a few things you
can do with it. I suggest you take a look at your DDK documentation, look
for the DDI part.

Also, there’s a lot that goes on in a video subsystem that doesn’t go
through the display driver! Most 3D stuff bypasses it outright.

Hope this helps,

Alberto.

-----Original Message-----
From: Ram [mailto:xxxxx@yahoo.com]
Sent: Tuesday, April 24, 2001 12:35 PM
To: NT Developers Interest List
Subject: [ntdev] Display . . .

Hi,
Is there any way i can get access to a display driver???
I mean i would like to use CreateFile(“\\.\****” . . .) and use the
handle returned to sed the driver some ioctls. i tried using
“\\.\display1” but no use.
The error code says access denied.
Please let me know if i am wrong or ther is some other method to do that.

Thanks and Regards


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> Is there any way i can get access to a display driver???

I mean i would like to use CreateFile(“\\.\****” . . .) and use the

Sorry, but what do you want to do with the display driver?

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

i would like to send it an ioctl(IOCTL_VIDEO_SET_POWER_MANAGEMENT) to switch
off power to the display adapter. Is this possible ???

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Maxim S. Shatskih
Sent: Wednesday, April 25, 2001 12:05 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Display . . .

Is there any way i can get access to a display driver???
I mean i would like to use CreateFile(“\\.\****” . . .) and use the

Sorry, but what do you want to do with the display driver?

Max


You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com