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

# SetPrivateDataInterface

> IUnknown 파생 인터페이스를 장치 개체와 연결하고 해당 인터페이스를 애플리케이션 정의 GUID와 연결합니다.

[IUnknown](https://learn.microsoft.com/en-us/windows/desktop/api/unknwn/nn-unknwn-iunknown) 파생 인터페이스를 장치 개체와 연결하고 해당 인터페이스를 애플리케이션 정의 **GUID**와 연결합니다.

## 구문

```cpp theme={null}
HRESULT SetPrivateDataInterface(
    const GUID & guid,
    const IUnknown  pData
)
```

### 매개 변수

*guid \[in]*\
형식: const GUID &

인터페이스와 연결할 **GUID**입니다.

*pData \[in, optional]*\
형식: const IUnknown \*

장치 개체와 연결될 [IUnknown](https://learn.microsoft.com/en-us/windows/desktop/api/unknwn/nn-unknwn-iunknown) 파생 인터페이스에 대한 포인터입니다.

### 반환 값

형식: HRESULT

이 메서드는 [Direct3D 12 반환 코드](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/d3d12-graphics-reference-returnvalues) 중 하나를 반환합니다.

## 요구 사항

**헤더:** d3d12\_xs.h 또는 d3d12\_x.h\
**라이브러리:** d3d12\_xs.lib 또는 d3d12\_x.lib\
**지원 플랫폼**: XBOX Series 콘솔 및 XBOX One 제품군

## 함께 보기

[ID3D12Object](/reference/graphics/d3d12_xs/interfaces/ID3D12Object/id3d12object)


## Related topics

- [GetPrivateData](/ko/reference/graphics/d3d12/interfaces/id3d12object/methods/id3d12object_getprivatedata_public.md)
- [CreatePipelineLibrary](/ko/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_createpipelinelibrary_public.md)
- [SetPrivateData](/ko/reference/graphics/d3d12/interfaces/id3d12object/methods/id3d12object_setprivatedata_public.md)
- [SetName](/ko/reference/graphics/d3d12/interfaces/id3d12object/methods/id3d12object_setname_public.md)
- [PFUserDataPermission](/ko/services/playfab/api-references/c/pftypes/enums/pfuserdatapermission.md)
