--- myst: html_meta: description: "Initialize a caller-provided graphics context." --- # `MC_grpInitContext` Initialize a caller-provided graphics context. ## Prototype ```c void MC_grpInitContext(MC_GrpContext *pgc); ``` ```{doxygenfunction} MC_grpInitContext :project: libwipi ``` ## Catalog identity | Field | Value | |---|---| | API level | `1.2.1` | | Family | [`MC_GRP`](../families/graphics.md) | | Ordinal | 12 | | Documentation | `reviewed` | | Implementation class | `table` | | ABI class | `word-tail` | ## Usage ### Parameters | Name | Meaning | |---|---| | `pgc` | Graphics context storage to initialize. | ### Ownership The caller owns the context storage. ## 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](../../../examples/audio-player.md) - [Conformance](../../../examples/conformance.md) - [Database CRUD](../../../examples/database-crud.md) - [Filesystem](../../../examples/filesystem.md) - [Graphics Gallery](../../../examples/graphics-gallery.md) - [SCH-W8300 QPST handset probe](../../../examples/handset-probe.md) - [Hello](../../../examples/hello.md) - [Image Pipeline](../../../examples/image-pipeline.md) - [Media suite](../../../examples/media-suite.md) - [Memory and Resource](../../../examples/memory-resource.md) - [Network Lifecycle](../../../examples/network-lifecycle.md) - [Sky Hopper](../../../examples/platformer.md) - [System Services](../../../examples/system-services.md) - [Template](../../../examples/template.md) - [Vibration test](../../../examples/vibrate.md) ## Evidence boundary Samsung/KTF selector confidence: `confirmed`. Catalog evidence: `anycall_magichole:analysis/decompiled/wipi_mc_grp_spec_adapter.c:779`.