> ## 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.

# XPersistentLocalStoragePromptUserForSpaceResult

> XPersistentLocalStoragePromptUserForSpaceResult

# XPersistentLocalStoragePromptUserForSpaceResult

[XPersistentLocalStoragePromptUserForSpaceAsync](/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragepromptuserforspaceasync) 함수 호출의 결과를 반환합니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
HRESULT XPersistentLocalStoragePromptUserForSpaceResult(
         XAsyncBlock* asyncBlock
)
```

<a id="parametersSection" />

### 매개 변수

*asyncBlock*   \_Inout\_\
형식: XAsyncBlock\d\*

비동기 호출의 상태를 모니터링하는 데 사용할 수 있는 `XAsyncBlock` 개체에 대한 포인터입니다.

<a id="retvalSection" />

### 반환 값

형식: HRESULT

사용자가 요청된 공간을 확보하려고 시도한 경우 **S\_OK**를 반환합니다. 그렇지 않으면 오류 코드를 반환합니다. 오류 코드 목록은 [오류 코드](/reference/errorcodes)를 참조하세요. 사용자가 공간을 확보하지 않기로 선택한 경우 **E\_ABORT**를 반환합니다.

<a id="remarksSection" />

## 설명

사용자가 공간을 확보하기로 선택한 경우 비동기 작업의 결과는 성공입니다. 사용자가 요청된 바이트 수를 확보했다고 보장하지 않으며, 사용자가 조치를 취했다는 것만 나타냅니다.

사용자가 공간 요청을 초래한 작업을 다시 시도하면 게임은 [XPersistentLocalStorageGetSpaceInfo](/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragegetspaceinfo)를 사용하여 여유 공간을 다시 쿼리해야 합니다.

사용자가 공간을 확보하지 않기로 선택한 경우 비동기 작업의 결과는 `E_ABORT`입니다.

영구 로컬 스토리지는 PC 플랫폼에 구현되지 않으므로 해당 플랫폼에서는 이 함수를 사용하지 마세요.

<a id="requirementsSection" />

## 요구 사항

**헤더:** XPersistentLocalStorage.h

**라이브러리:** xgameruntime.lib

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

<a id="seealsoSection" />

## 함께 보기

[XPersistentLocalStorage](/reference/system/xpersistentlocalstorage/xpersistentlocalstorage_members)\
[XPersistentLocalStorageGetSpaceInfo](/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragegetspaceinfo)


## Related topics

- [XPersistentLocalStoragePromptUserForSpaceAsync](/ko/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragepromptuserforspaceasync.md)
- [XPersistentLocalStorage](/ko/reference/system/xpersistentlocalstorage/xpersistentlocalstorage_members.md)
- [GDK용 Unity C# API 래퍼](/ko/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XPersistentLocalStorageSpaceInfo](/ko/reference/system/xpersistentlocalstorage/structs/xpersistentlocalstoragespaceinfo.md)
- [XPersistentLocalStorageGetSpaceInfo](/ko/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragegetspaceinfo.md)
