MC_knlGetResourceID#
Resolve a packaged resource name to a resource ID and size.
Prototype#
M_Int32 MC_knlGetResourceID(M_Char *resourceName, M_Int32 *size);
-
M_Int32 MC_knlGetResourceID(M_Char *resourceName, M_Int32 *size)#
Resolve a packaged resource name to a resource ID and size.
- Ownership
The returned ID refers to package-owned resource data.
- API level
WIPI-C 1.2.1, ordinal 142.
- Documentation status
reviewed.
- Parameters:
resourceName – Resource path stored in the application package.
size – Output location that receives the resource size.
- Returns:
A resource ID or the provider-defined failure value.
Catalog identity#
Field |
Value |
|---|---|
API level |
|
Family |
|
Ordinal |
142 |
Documentation |
|
Implementation class |
|
ABI class |
|
Usage#
Parameters#
Name |
Meaning |
|---|---|
|
Resource path stored in the application package. |
|
Output location that receives the resource size. |
Return value#
A resource ID or the provider-defined failure value.
Ownership#
The returned ID refers to package-owned resource data.
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 |
|---|---|---|
|
|
headers only |
|
|
linkable generated veneer |
|
|
linkable generated veneer |
|
|
linkable generated veneer; named-device candidate |
|
|
observed in the scoped emulator suite |
|
|
observed in the scoped emulator suite |
|
|
linkable exact-device fixed-root veneer |
Compiled examples#
Evidence boundary#
Samsung/KTF selector confidence: confirmed. Catalog evidence: anycall_magichole:analysis/decompiled/wipi_mc_knl_spec_adapter.c:1238.