Partager via


ITopologyExecutionResource Structure

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

An interface to an execution resource as defined by the Resource Manager.

Syntax

struct ITopologyExecutionResource;

Members

Public Methods

Name Description
ITopologyExecutionResource::GetId Method Returns the Resource Manager's unique identifier for this execution resource.
ITopologyExecutionResource::GetNext Method Returns an interface to the next execution resource in enumeration order.

Remarks

This interface is typically utilized to walk the topology of the system as observed by the Resource Manager.

Inheritance Hierarchy

ITopologyExecutionResource

Requirements

Header: concrtrm.h

Namespace: concurrency

ITopologyExecutionResource::GetId Method

Returns the Resource Manager's unique identifier for this execution resource.

virtual unsigned int GetId() const = 0;

Return Value

The Resource Manager's unique identifier for this execution resource.

ITopologyExecutionResource::GetNext Method

Returns an interface to the next execution resource in enumeration order.

virtual ITopologyExecutionResource *GetNext() const = 0;

Return Value

An interface to the next execution resource in enumeration order. If there are no more nodes in enumeration order of the node to which this execution resource belongs, this method will return the value NULL.

See Also

concurrency Namespace