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

# IDStorageFileX::GetHandle

> IDStorageFileX::GetHandle

# IDStorageFileX::GetHandle

이 개체가 나타내는 파일에 대한 Win32 핸들을 가져옵니다.

## 구문

```cpp theme={null}
HANDLE GetHandle(
)
```

### 매개 변수

이 메서드에는 매개 변수가 없습니다.

### 반환 값

형식: HANDLE

## 설명

핸들은 `GENERIC_READ` 권한과 `FILE_SHARE_READ` 공유 모드로 열립니다. 이 핸들은 파일 크기와 같이 파일에 대한 정보를 쿼리하는 데 사용할 수 있습니다.

핸들이 더 이상 필요하지 않을 때 `CloseHandle`을 호출하여 핸들을 닫으세요.

자세한 내용은 [DirectStorage 개요](/build/console-features/storage/directstorage/directstorage-overview)의 "IDStorageFileX" 섹션을 참조하세요.

## 요구 사항

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

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

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

## 함께 보기

[IDStorageFactoryX::OpenFile](/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_openfile)\
[IDStorageFileX](/reference/system/dstorage/interfaces/IDStorageFileX/idstoragefilex)


## Related topics

- [IDStorageFileX](/ko/reference/system/dstorage/interfaces/IDStorageFileX/idstoragefilex.md)
- [DirectStorage 개요](/ko/build/console-features/storage/directstorage/directstorage-overview.md)
- [IDStorageFileX::Close](/ko/reference/system/dstorage/interfaces/IDStorageFileX/methods/idstoragefilex_close.md)
- [IDStorageFactoryX::OpenFile](/ko/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_openfile.md)
- [DStorage](/ko/reference/system/dstorage/dstorage_members.md)
