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

# XAppCaptureCancelUserRecord

> XAppCaptureCancelUserRecord

# XAppCaptureCancelUserRecord

[XAppCaptureStartUserRecord](/reference/system/xappcapture/functions/xappcapturestartuserrecord)를 통해 시작되고 입력된 ID로 지정된 진행 중인 사용자 녹화를 중지합니다. 사용자는 녹화가 중지되었음을 나타내는 알림을 받지 않으며 녹화는 디스크에 저장되지 않습니다. 이 API에 대한 Windows 지원은 이후 릴리스에서 추가될 예정입니다.

## 구문

```cpp theme={null}
HRESULT XAppCaptureCancelUserRecord(
    const char* localId
)
```

### 매개 변수

*localId* \_In\_\
형식: const char\*

녹화를 요청하는 사용자를 나타내는 핸들입니다.

### 반환 값

형식: HRESULT

함수 결과입니다. `S_OK`가 아닌 반환 값에 대해서는 [XAppCapture 오류 코드](/reference/system/xappcapture/xappcapture_errors)를 참조하세요.

## 설명

localIdOfUserRecording에 [XAppCaptureStartUserRecord](/reference/system/xappcapture/functions/xappcapturestartuserrecord)에서 반환된 로컬 ID가 있다고 가정합니다.

```cpp theme={null}

if (FAILED_LOG(XAppCaptureCancelUserRecord(localIdOfUserRecording)))
{
    return;
}

appLog.AddLog("Recording cancelled: localId = %s\n", localIdOfUserRecording);

```

## 요구 사항

**헤더:** XAppCapture.h

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

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

## 함께 보기

[XAppCapture 멤버](/reference/system/xappcapture/xappcapture_members)


## Related topics

- [XAppCaptureStartUserRecord](/ko/reference/system/xappcapture/functions/xappcapturestartuserrecord.md)
- [XAppCapture](/ko/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureStopUserRecord](/ko/reference/system/xappcapture/functions/xappcapturestopuserrecord.md)
- [XAppCaptureUserRecordingResult](/ko/reference/system/xappcapture/structs/xappcaptureuserrecordingresult.md)
- [XAppCaptureDisableRecord](/ko/reference/system/xappcapture/functions/xappcapturedisablerecord.md)
