# zx::msi

## Summary

### Inheritance

Inherits from: [zx::object\< msi \>](https://fuchsia.dev/reference/cpp/class/zx/object)

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi_1ad97eb1bc8cad027c88845536dfbad821()` ||
| `https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi_1a9230a4f2763f90d1c2538bcd33feb207(zx_handle_t value)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi_1adb47190d543a18f0ede2068e9bcf0bcd(https://fuchsia.dev/reference/cpp/class/zx/object#classzx_1_1object && h)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi_1afc22cda82c90b6db53a9cf01352e2f50(https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi && other)` ||

| ### Public static attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi_1afc9a269f65ee48dd0a55af524cf0a8df = ZX_OBJ_TYPE_MSI` | `constexpr zx_obj_type_t` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi_1a31424fc0970ce5632fd0ac359d7c1cca(https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi && other)` | `https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi &` |

| ### Public static functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi_1a5511393404618c7a8826011db1ca2076(const https://fuchsia.dev/reference/cpp/class/zx/resource#classzx_1_1resource & resource, uint32_t count, https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi *result)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi_1ad03239e57c2ee645cc4448aa6d88cc21(const https://fuchsia.dev/reference/cpp/class/zx/msi#classzx_1_1msi & msi, uint32_t options, uint32_t msi_id, const https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo & vmo, size_t vmo_offset, https://fuchsia.dev/reference/cpp/class/zx/interrupt#classzx_1_1interrupt *result)` | `zx_status_t` |

## Public static attributes

### TYPE

```c++
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_MSI
```

## Public functions

### msi

```c++
constexpr msi()=default
```

### msi

```c++
 msi(
  zx_handle_t value
)
```

### msi

```c++
 msi(
  handle && h
)
```

### msi

```c++
 msi(
  msi && other
)
```

### operator=

```c++
msi & operator=(
  msi && other
)
```

## Public static functions

### allocate

```c++
zx_status_t allocate(
  const resource & resource,
  uint32_t count,
  msi *result
)
```

### create

```c++
zx_status_t create(
  const msi & msi,
  uint32_t options,
  uint32_t msi_id,
  const vmo & vmo,
  size_t vmo_offset,
  interrupt *result
)
```