How to write a class filter for DISPLAY?

Hi,
I have just written a DISPLAY Class upperfilter driver.
But soon after system boot,BOSD occured!
The upperfilter driver just passthru each IRP , and never do anything.
Maybe DISPLAY class filter driver is something special?

p.f

http://www.eyou.com
–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡

http://vip.eyou.com
–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû

http://sms.eyou.com
–ÎÞÓǶþ¶þ×å¡¢×ãÇò´ó¸»ÎÌ…¾¡ÔÚÒÚÓʶÌÐÅ

As far as I’m aware, Display isn’t special in it’s handling of IRP’s, but
of course, most of the display driver activity doesn’t actually happen
through IRP’s, but through variour calls directly to the driver which are
exported by the display driver. I’m not sure how this works for filter
drivers, but I expect that the filter driver will call the Display driver
proper for the call-backs.

I’d suggest you get WinDBG or SoftICE hooked up to the machine you’re
trying to load the filter on, and start debugging. It could be just about
ANYTHING that causes it to go wrong…


Mats

xxxxx@lists.osr.com wrote on 11/25/2004 09:31:10 AM:

Hi,
I have just written a DISPLAY Class upperfilter driver.
But soon after system boot,BOSD occured!
The upperfilter driver just passthru each IRP , and never do anything.
Maybe DISPLAY class filter driver is something special?

p.f

Video port driver receives IRPs from I/O manager and ‘remaps’ IRP to VRP
then calls miniport’s StartIo routine.

The OP is definitely filtering the video port/miniport combo. Filtering VRPs
requires nothing special. OP should post the output of !analyze -v here.

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
From: Mats PETERSSON [mailto:xxxxx@3dlabs.com]
Sent: November 25, 2004 4:48 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] How to write a class filter for DISPLAY?

As far as I’m aware, Display isn’t special in it’s handling of IRP’s, but
of course, most of the display driver activity doesn’t actually happen
through IRP’s, but through variour calls directly to the driver which are
exported by the display driver. I’m not sure how this works for filter
drivers, but I expect that the filter driver will call the Display driver
proper for the call-backs.

I’d suggest you get WinDBG or SoftICE hooked up to the machine you’re
trying to load the filter on, and start debugging. It could be just about
ANYTHING that causes it to go wrong…


Mats

xxxxx@lists.osr.com wrote on 11/25/2004 09:31:10 AM:

Hi,
I have just written a DISPLAY Class upperfilter driver.
But soon after system boot,BOSD occured!
The upperfilter driver just passthru each IRP , and never do anything.
Maybe DISPLAY class filter driver is something special?

p.f


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@ati.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hello Peter,

Probably for all will be better to improve mail list parsing algorithm so
that it detects HTML-escaped letters in subject area and simply reject them.

Best regards,
Oleksiy

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of PeterGV
Sent: Friday, November 26, 2004 8:32 PM
To: Windows System Software Devs Interest List
Cc: xxxxx@osr.com
Subject: Re:[ntdev]
 [ntdev] How to write a class&nb
sp;filter for DISPLAY?

f wrote:

***OFFLIST:

OFFICIAL WARNING:

I’ve asked you before, unofficially… Now I’ll ask you officially.

Please do one of the following BEFORE POSTING TO THIS LIST
AGAIN, or we will be forced to remove your membership:

  1. Fix whatever setting it is in your newsread that’s causing
    the subjects in your postings to be HTML-escaped.

  2. Get a different news reader, or use an on-line news
    posting service that does not display problems, and post with that.

  3. Figure out a way to post via email.

DO NOT post another message with an HTML-escaped subject to
either NTDEV or NTFSD. It demonstrates very poor technical
knowledge, and is poor netiquette.

If you have any questions, do not hestitate to contact me directly.

Peter
OSR Online and NTDEV/NTFSD Admin


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@nero.com
To unsubscribe send a blank email to xxxxx@lists.osr.com