IResourceList::NumberOfEntriesOfType method (portcls.h)
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
[in] Type
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
Requirement | Value |
---|---|
Target Platform | Universal |
Header | portcls.h (include Portcls.h) |
IRQL | PASSIVE_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for