ID3D11DeviceX::CreateCounterSet Method

Creates a set of performance counters.

Syntax

public:
HRESULT CreateCounterSet(
         const D3D11X_COUNTER_SET_DESC *pCounterSetDesc,
         ID3D11CounterSetX **ppCounterSet
)  

Parameters

pCounterSetDesc
Type: D3D11X_COUNTER_SET_DESC *

[in] Description of the set of counters, as a pointer to D3D11X_COUNTER_SET_DESC.

ppCounterSet
Type: ID3D11CounterSetX **

[out, optional] The set of counters, as a pointer to a pointer to ID3D11CounterSetX.

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members