---
UID: NF:d3d11sdklayers.ID3D11SwitchToRef.GetUseRef
title: ID3D11SwitchToRef::GetUseRef (d3d11sdklayers.h)
description: ID3D11SwitchToRef::GetUseRef method
old-location: direct3d11\id3d11switchtoref_getuseref.htm
tech.root: direct3d11
ms.assetid: 7dc2dc8a-eff6-49b6-a557-88a9d0e5acbf
ms.date: 12/05/2018
ms.keywords: GetUseRef, GetUseRef method [Direct3D 11], GetUseRef method [Direct3D 11],ID3D11SwitchToRef interface, ID3D11SwitchToRef interface [Direct3D 11],GetUseRef method, ID3D11SwitchToRef.GetUseRef, ID3D11SwitchToRef::GetUseRef, d2a88f74-2129-d715-e015-72a288420026, d3d11sdklayers/ID3D11SwitchToRef::GetUseRef, direct3d11.id3d11switchtoref_getuseref
f1_keywords:
- d3d11sdklayers/ID3D11SwitchToRef.GetUseRef
dev_langs:
- c++
req.header: d3d11sdklayers.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- D3D11SDKLayers.h
api_name:
- ID3D11SwitchToRef.GetUseRef
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID3D11SwitchToRef::GetUseRef


## -description


<div class="alert"><b>Note</b>  The <a href="https://docs.microsoft.com/windows/desktop/api/d3d11sdklayers/nn-d3d11sdklayers-id3d11switchtoref">ID3D11SwitchToRef</a> interface and its methods are not supported in Direct3D 11.</div><div> </div>

## -parameters






## -returns



Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">BOOL</a></b>

Reserved.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d3d11sdklayers/nn-d3d11sdklayers-id3d11switchtoref">ID3D11SwitchToRef Interface</a>
 

 

