Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

try catch structured exception handling (SEH) ..

1 view
Skip to first unread message

Kid

unread,
May 20, 2008, 10:08:40 PM5/20/08
to
Hi

I see try catch structured exception handling (SEH) in WinCE driver, can
Windows driver use SEH ?

Can SEH use in user mode application and kernel mode driver ?

Thank you.

Maxim S. Shatskih

unread,
May 21, 2008, 8:30:57 AM5/21/08
to
Yes it can, on < DISPATCH_LEVEL only.

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

"Kid" <K...@discussions.microsoft.com> wrote in message
news:EC393C0E-6236-4B4F...@microsoft.com...

Doron Holan [MSFT]

unread,
May 21, 2008, 5:16:20 PM5/21/08
to
to further clarify, the use of SEH in a driver should be very limited. if
you wrapping all pointer accesses in an SEH block assuming it will throw an
exception on an invalid address, this is will not work. typically you only
use SEH around API calls which say they will throw an exception (like
MmProbeAndLockPages)

where/how are you using the SEH blocks?

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Maxim S. Shatskih" <ma...@storagecraft.com> wrote in message
news:uQMxB9zu...@TK2MSFTNGP06.phx.gbl...

0 new messages