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

# XAppCaptureCloseScreenshotStream

> XAppCaptureCloseScreenshotStream

# XAppCaptureCloseScreenshotStream

스크린샷 스트림을 닫습니다.

## 구문

```cpp theme={null}
HRESULT XAppCaptureCloseScreenshotStream(  
         XAppCaptureScreenshotStreamHandle handle  
)  
```

### 매개 변수

*handle*   \_In\_\
형식: XAppCaptureScreenshotStreamHandle

닫을 스크린샷 스트림의 핸들입니다.

### 반환 값

형식: HRESULT

함수 결과입니다.

## 설명

> [!NOTE]
>
> 이 함수는 시간에 민감한 스레드에서 호출하기에 안전하지 않습니다. 자세한 내용은 [시간에 민감한 스레드](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)를 참조하세요.

[XAppCaptureOpenScreenShotStream](https://docs.xbox.com/ko/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream.md)으로 연 스크린샷 스트림을 닫으려면 이 함수를 사용하세요. 열린 스크린샷 스트림을 닫지 않으면 메모리 누수가 발생합니다. 스트림을 닫는 데 필요한 핸들은 스트림을 원래 연 [XAppCaptureOpenScreenShotStream](https://docs.xbox.com/ko/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream.md)에서 반환됩니다.

## 요구 사항

**헤더:** XAppCapture.h

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

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

## 개념 설명서

* [시간에 민감한 스레드](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## 함께 보기

[GameDVR 개요](https://docs.xbox.com/ko/build/console-features/game-dvr/gamedvr-broadcast.md)\
[XAppCapture 멤버](https://docs.xbox.com/ko/reference/system/xappcapture/xappcapture_members.md)\
[XAppCaptureOpenScreenShotStream](https://docs.xbox.com/ko/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream.md)\
[XAppCaptureReadScreenShotStream](https://docs.xbox.com/ko/reference/system/xappcapture/functions/xappcapturereadscreenshotstream.md)\
[XAppCaptureTakeScreenshot](https://docs.xbox.com/ko/reference/system/xappcapture/functions/xappcapturetakescreenshot.md)


## Related topics

- [XAppCaptureOpenScreenshotStream](https://docs.xbox.com/ko/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream.md)
- [XAppCaptureReadScreenshotStream](https://docs.xbox.com/ko/reference/system/xappcapture/functions/xappcapturereadscreenshotstream.md)
- [XAppCaptureTakeScreenshot](https://docs.xbox.com/ko/reference/system/xappcapture/functions/xappcapturetakescreenshot.md)
- [XAppCaptureScreenshotStream](https://docs.xbox.com/ko/reference/system/xappcapture/structs/xappcapturescreenshotstream.md)
- [XAppCapture (API 콘텐츠)](https://docs.xbox.com/ko/reference/system/xappcapture/xappcapture_members.md)
