---
UID: NF:encdec.IDTFilterConfig.GetSecureChannelObject
title: IDTFilterConfig::GetSecureChannelObject (encdec.h)
description: The GetSecureChannelObject method retrieves the secure channel object used to decrypt the stream.
old-location: mstv\idtfilterconfig_getsecurechannelobject.htm
tech.root: mstv
ms.assetid: 84057a08-b15f-4738-814d-c016507ac590
ms.date: 12/05/2018
ms.keywords: GetSecureChannelObject, GetSecureChannelObject method [Microsoft TV Technologies], GetSecureChannelObject method [Microsoft TV Technologies],IDTFilterConfig interface, IDTFilterConfig interface [Microsoft TV Technologies],GetSecureChannelObject method, IDTFilterConfig.GetSecureChannelObject, IDTFilterConfig::GetSecureChannelObject, IDTFilterConfigGetSecureChannelObject, encdec/IDTFilterConfig::GetSecureChannelObject, mstv.idtfilterconfig_getsecurechannelobject
f1_keywords:
- encdec/IDTFilterConfig.GetSecureChannelObject
dev_langs:
- c++
req.header: encdec.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows XP with SP1 [desktop apps only]
req.target-min-winversvr: None supported
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:
- EncDec.h
api_name:
- IDTFilterConfig.GetSecureChannelObject
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IDTFilterConfig::GetSecureChannelObject


## -description


The <b>GetSecureChannelObject</b> method retrieves the secure channel object used to decrypt the stream.


## -parameters




### -param ppUnkDRMSecureChannel [out]

Receives a pointer to the secure channel object's <b>IUnknown</b> interface.


## -returns



Returns an <b>HRESULT</b>.




## -remarks



If the method succeeds, the caller must release the <b>IUnknown</b> interface.




## -see-also




<a href="https://docs.microsoft.com/previous-versions/windows/desktop/api/encdec/nn-encdec-idtfilterconfig">IDTFilterConfig Interface</a>
 

 

