> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IDStorageStatusArrayX::GetHResult

> IDStorageStatusArrayX::GetHResult

# IDStorageStatusArrayX::GetHResult

지정된 상태 항목과 이전 상태 항목 또는 펜스 사이에서 첫 번째 실패한 요청의 HRESULT 코드를 반환합니다.

## 구문

```cpp theme={null}
HRESULT GetHResult(  
         UINT32 index  
)  
```

### 매개 변수

*index*\
형식: UINT32

검색할 상태 항목의 인덱스를 지정합니다.

### 반환 값

형식: HRESULT

요청의 HRESULT 코드입니다.

## 설명

* 아직 완료되지 않은 요청이 있으면 반환 값은 `E_PENDING`입니다.
* 모든 요청이 완료되었으며 하나 이상의 실패가 발생한 경우, 반환 값은 지정된 상태 항목과 이전 상태 항목 또는 펜스 사이에서 첫 번째 실패한 요청의 실패 코드입니다.
* 모든 요청이 성공적으로 완료된 경우, 반환 값은 `S_OK`입니다.

## 요구 사항

**헤더:** dstorage\_xs.h

**라이브러리:** dstorage\_xs.lib

**지원되는 플랫폼:** XBOX Series 콘솔

## 함께 보기

[IDStorageStatusArrayX::IsComplete](/reference/system/dstorage/interfaces/IDStorageStatusArrayX/methods/idstoragestatusarrayx_iscomplete)\
[IDStorageStatusArrayX](/reference/system/dstorage/interfaces/IDStorageStatusArrayX/idstoragestatusarrayx)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [IDStorageStatusArrayX::IsComplete](/ko/reference/system/dstorage/interfaces/IDStorageStatusArrayX/methods/idstoragestatusarrayx_iscomplete.md)
- [IDStorageFactoryX::SetDebugFlags](/ko/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_setdebugflags.md)
- [IDStorageStatusArrayX](/ko/reference/system/dstorage/interfaces/IDStorageStatusArrayX/idstoragestatusarrayx.md)
- [IDStorageQueueX::EnqueueStatus](/ko/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_enqueuestatus.md)
- [IDStorageFactoryX::CreateStatusArray](/ko/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createstatusarray.md)
