MrmGetResourceCount function (mrm.h)

Gets the number of resources contained in a ResourceMap.

Syntax

HRESULT MrmGetResourceCount(
  MrmManagerHandle resourceManager,
  MrmMapHandle     resourceMap,
  UINT32           *count
);

Parameters

resourceManager

The ResourceManager that contains the ResourceMap.

resourceMap

The ResourceMap that contains the resources.

count

Contains the number of resources in the ResourceMap if the call was successful.

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