Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Certain functions must be called from inside a structured exception handling __try statement; others are prohibited from being called from inside a __try statement.
Use the __drv_inTry and __drv_notInTry annotations to check for proper usage within a function.
__drv_inTry
The __drv_inTry annotation specifies that the function must be called from inside a __try statement.__drv_notInTry
The __drv_notInTry annotation specifies that the function must not be called from inside a __try statement.
A typical use for the __drv_inTry annotation would be within the ProbeForRead and ProbeForWrite functions, in which failed attempts to access memory are caught by a __try statement.
Send comments about this topic to Microsoft
Build date: 5/3/2011