---
title: disable
framework: kernel
role: pseudoSymbol
path: kernel/ionotifier/1810461-disable
---

# disable

Disables the notification request.

## Declaration

```occ
virtual bool disable() = 0; 
```

## Return Value

Return Value Returns the previous enable state of the IONotifier.

## Overview

Overview Disables the notification request. This method is synchronous with any handler invocations, so when this method returns its guaranteed the handler will not be in entered.

## See Also

### Miscellaneous

- [enable](kernel/ionotifier/1810483-enable.md)
- [remove](kernel/ionotifier/1810524-remove.md)
