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

# OpenSharedHandleByName

> Name 및 Access를 사용하여 공유 리소스, 공유 힙 및 공유 펜스에 대한 핸들을 엽니다.

Name 및 Access를 사용하여 공유 리소스, 공유 힙 및 공유 펜스에 대한 핸들을 엽니다.

## 구문

```cpp theme={null}
HRESULT OpenSharedHandleByName(
    LPCWSTR Name,
    DWORD Access,
    HANDLE  pNTHandle
)
```

### 매개 변수

*Name \[in]*\
형식: LPCWSTR

[ID3D12Device::CreateSharedHandle](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createsharedhandle_public) 호출에서 선택적으로 <i>Name</i> 매개 변수로 전달된 이름입니다.

*Access*\
형식: DWORD

[ID3D12Device::CreateSharedHandle](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createsharedhandle_public) 호출의 <i>Access</i> 매개 변수에 지정된 액세스 수준입니다.

*pNTHandle \[out]*\
형식: HANDLE \*

공유 핸들에 대한 포인터입니다.

### 반환 값

형식: 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 제품군

## 함께 보기

[ID3D12Device](/reference/graphics/d3d12_x/interfaces/id3d12device/id3d12device)


## Related topics

- [OpenSharedHandle](/ko/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_opensharedhandle_public.md)
- [IGameInputDispatcher::OpenWaitHandle](/ko/reference/input/gameinput/interfaces/IGameInputDispatcher/methods/igameinputdispatcher_openwaithandle.md)
- [OpenSSL 라이선스](/ko/services/playfab/sdks/cocos2d-x/Licenses/openssl-license.md)
- [SHARED_SHAPE_CONTEXTS](/ko/reference/audio/acphal/structs/shared_shape_contexts.md)
- [PFAuthenticationLoginWithOpenIdConnectAsync](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectasync.md)
