IResourceList::NumberOfEntriesOfType method

The NumberOfEntriesOfType method returns the number of resource items of a given type in the resource list. For each resource type, a macro is defined to call this method as previously described.

Syntax


ULONG NumberOfEntriesOfType(
  [in] CM_RESOURCE_TYPE Type
);

Parameters

Type [in]

Identifies the resource type of the entries that are to be counted. For a list of valid resource-type values, see the Type member of the CM_PARTIAL_RESOURCE_DESCRIPTOR structure.

Return value

NumberOfEntriesOfType returns the number of items of the indicated type in the resource list.

Remarks

For each resource type, a macro is defined to call this method. See IResourceList.

Requirements

Target platform

Universal

Header

Portcls.h (include Portcls.h)

IRQL

PASSIVE_LEVEL

See also

CM_PARTIAL_RESOURCE_DESCRIPTOR

 

 

Send comments about this topic to Microsoft

Show: