microsoft windows driver kit pure C try catch syntax ?
Posted
by clyfe
on Stack Overflow
See other posts from Stack Overflow
or by clyfe
Published on 2010-05-31T14:48:22Z
Indexed on
2010/05/31
14:53 UTC
Read the original article
Hit count: 323
In the Windows Driver Kit (WDK) there are some driver code samples written in pure C, but sprinkled with some try-catch-finally constructs. Does someone know their semantics ? Thank you microsoft for your great tools and standards compliance.
Code extract from some_file.c
:
try {
...
if (!NT_SUCCESS( status )) {
leave; // ???
}
...
} finally {
...
}
try {
...
} except( EXCEPTION_EXECUTE_HANDLER ) {
...
}
© Stack Overflow or respective owner