<!-- Generated by tools/generate_docs.py. Do not edit. -->

# `MC_grpGetDisplayInfo`

Read display dimensions and pixel-format information.

## Prototype

```c
M_Int32 MC_grpGetDisplayInfo(M_Int32 i, MC_GrpDisplayInfo *pi);
```

### M_Int32 MC_grpGetDisplayInfo(M_Int32 i, MC_GrpDisplayInfo \*pi)

Read display dimensions and pixel-format information. 

**API level**
: WIPI-C 1.2.1, ordinal 30. 

**Documentation status**
: reviewed. 

#### NOTE
The WIE install adapter normalizes its observed provider success value to the public WIPI success value. 

* **Parameters:**
  * **i** – Display index. 
  * **pi** – Output display-information structure. 
* **Returns:**
  The public WIPI result code after any profile-specific normalization. 

## Catalog identity

| Field                | Value                                                   |
|----------------------|---------------------------------------------------------|
| API level            | `1.2.1`                                                 |
| Family               | [`MC_GRP`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/families/graphics.md) |
| Ordinal              | 30                                                      |
| Documentation        | `reviewed`                                              |
| Implementation class | `table`                                                 |
| ABI class            | `word-tail`                                             |

## Usage

### Parameters

| Name   | Meaning                               |
|--------|---------------------------------------|
| `i`    | Display index.                        |
| `pi`   | Output display-information structure. |

### Return value

The public WIPI result code after any profile-specific normalization.

### Notes

- The WIE install adapter normalizes its observed provider success value to the public WIPI success value.

## Profile availability

API membership, device ABI, and install profile are independent. The rows below
describe libwipi implementation evidence, not platform-wide WIPI requirements.

| ABI profile                 | Install profile        | Current evidence                                  |
|-----------------------------|------------------------|---------------------------------------------------|
| `host-sim`                  | `none`                 | headers only                                      |
| `ktf-samsung`               | `none`                 | linkable generated veneer                         |
| `ktf-samsung`               | `aram-ktf`             | linkable generated veneer                         |
| `ktf-samsung`               | `sch-w8300-qpst-probe` | linkable generated veneer; named-device candidate |
| `lgt-raptor`                | `aram-raptor`          | observed in the scoped emulator suite             |
| `lgt-raptor`                | `aram-wie-raptor`      | observed in the scoped emulator suite             |
| `skt-samsung-sch-w830-dl21` | `none`                 | linkable exact-device fixed-root veneer           |

## Compiled examples

- [Synthetic Audio Player](https://mirusu400.github.io/libwipi/latest/generated/examples/audio-player.md)
- [Conformance](https://mirusu400.github.io/libwipi/latest/generated/examples/conformance.md)
- [Database CRUD](https://mirusu400.github.io/libwipi/latest/generated/examples/database-crud.md)
- [Filesystem](https://mirusu400.github.io/libwipi/latest/generated/examples/filesystem.md)
- [Graphics Gallery](https://mirusu400.github.io/libwipi/latest/generated/examples/graphics-gallery.md)
- [Hello](https://mirusu400.github.io/libwipi/latest/generated/examples/hello.md)
- [Image Pipeline](https://mirusu400.github.io/libwipi/latest/generated/examples/image-pipeline.md)
- [Media suite](https://mirusu400.github.io/libwipi/latest/generated/examples/media-suite.md)
- [Memory and Resource](https://mirusu400.github.io/libwipi/latest/generated/examples/memory-resource.md)
- [Network Lifecycle](https://mirusu400.github.io/libwipi/latest/generated/examples/network-lifecycle.md)
- [Sky Hopper](https://mirusu400.github.io/libwipi/latest/generated/examples/platformer.md)
- [System Services](https://mirusu400.github.io/libwipi/latest/generated/examples/system-services.md)
- [Template](https://mirusu400.github.io/libwipi/latest/generated/examples/template.md)
- [Vibration test](https://mirusu400.github.io/libwipi/latest/generated/examples/vibrate.md)

## Evidence boundary

Samsung/KTF selector confidence: `confirmed`. Catalog evidence: `anycall_magichole:analysis/decompiled/wipi_mc_grp_spec_adapter.c:1201`.
