---
title: commandGate
framework: kernel
role: symbol
role_heading: Type Method
path: kernel/iocommandgate/1573819-commandgate
---

# commandGate

## Declaration

```occ
static OSPtr<IOCommandGate> commandGate(OSObject *owner, Action action);
```
