| Debugging Tools for Windows |
The Enable bad handles detection flag raises a user-mode exception (STATUS_INVALID_HANDLE) whenever a user-mode process passes an invalid handle to the Object Manager.
| Abbreviation | bhd |
| Hexadecimal value | 0x40000000 |
| Symbolic Name | FLG_ENABLE_HANDLE_EXCEPTIONS |
| Destination | System-wide registry entry, kernel flag |