IDXDiagContainer::EnumChildContainerNames
Enumerates the name of the IDXDiagContainer object at the specified index.
HRESULT EnumChildContainerNames(
DWORD dwIndex,
LPWSTR pwszContainer,
DWORD cchContainer
);
Parameters
- dwIndex
- [in] Zero-based index of the container object that specifies which child container name to retrieve. If this is outside of the allowable range, E_INVALIDARG is returned.
- pwszContainer
- [out] Address of a string buffer that receives the unique name of the child container. This should be at least 256 elements. If the buffer is too small, it will return DXDIAG_E_INSUFFICIENT_BUFFER.
- cchContainer
- [in] Specifies the size of the pwszContainer buffer in characters.
Return Values
Returns S_OK if successful. Otherwise, returns one of the following values: E_INVALIDARG, DXDIAG_E_INSUFFICIENT_BUFFER
Requirements
Header: Declared in Dxdiag.h.