MrmLoadEmbeddedResourceFromResourceUri function (mrm.h)

Loads a resource of type MrmType_Embedded from the specified URI.

Syntax

HRESULT MrmLoadEmbeddedResourceFromResourceUri(
  MrmManagerHandle resourceManager,
  MrmContextHandle resourceContext,
  PCWSTR           resourceUri,
  MrmResourceData  *data
);

Parameters

resourceManager

The ResourceManager.

resourceContext

The ResourceContext. Uses the default context if null.

resourceUri

The URI of the resource to load.

data

Contains the resource data if the call was successful.

Resource data must be freed by calling MrmFreeResource.

Return value

HRESULT that indicates the result of the operation.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 (with Windows App SDK 0.5 or later)
Header mrm.h

See also