IDXDiagContainer::EnumPropNames

Enumerates the name of the property at the specified index.

HRESULT EnumPropNames(
  DWORD dwIndex,
  LPWSTR pwszPropName,
  DWORD cchPropName
);

Parameters

dwIndex
[in] Zero-based index of the container object that specifies which property name to retrieve. If this is outside the allowable range, then E_INVALIDARG is returned.
pwszPropName
[out] Receives the unique name of the property. It should be at least 256 elements. If the buffer is too small it will return DXDIAG_E_INSUFFICIENT_BUFFER.
cchPropName
[in] Specifies the size of the pwszPropName buffer in characters.

Return Values

If unsuccessful, returns one of the following values: E_INVALIDARG, DXDIAG_E_INSUFFICIENT_BUFFER

Requirements

Header: Declared in Dxdiag.h.