---
UID: NF:bdaiface.IBDA_DigitalDemodulator2.get_Pilot
title: IBDA_DigitalDemodulator2::get_Pilot (bdaiface.h)
description: Gets the current pilot mode for Digital Video Broadcasting-S2 (DVB-S2).
old-location: mstv\ibda_digitaldemodulator2_get_pilot.htm
tech.root: mstv
ms.assetid: c24b7b56-b6f4-44d7-a2d3-be7d12eb2335
ms.date: 12/05/2018
ms.keywords: IBDA_DigitalDemodulator2 interface [Microsoft TV Technologies],get_Pilot method, IBDA_DigitalDemodulator2.get_Pilot, IBDA_DigitalDemodulator2::get_Pilot, bdaiface/IBDA_DigitalDemodulator2::get_Pilot, get_Pilot, get_Pilot method [Microsoft TV Technologies], get_Pilot method [Microsoft TV Technologies],IBDA_DigitalDemodulator2 interface, mstv.ibda_digitaldemodulator2_get_pilot
f1_keywords:
- bdaiface/IBDA_DigitalDemodulator2.get_Pilot
dev_langs:
- c++
req.header: bdaiface.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: Bdaiface.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:
- bdaiface.h
api_name:
- IBDA_DigitalDemodulator2.get_Pilot
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IBDA_DigitalDemodulator2::get_Pilot


## -description


Gets the current pilot mode for Digital Video Broadcasting-S2 (DVB-S2).


## -parameters




### -param pPilot [in, out]

Receives the pilot mode, specified as a member of the <a href="https://docs.microsoft.com/previous-versions/windows/desktop/mstv/pilot">Pilot</a> enumeration.


## -returns



If this method succeeds, it returns <b xmlns:loc="http://microsoft.com/wdcml/l10n">S_OK</b>. Otherwise, it returns an <b xmlns:loc="http://microsoft.com/wdcml/l10n">HRESULT</b> error code.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/bdaiface/nn-bdaiface-ibda_digitaldemodulator2">IBDA_DigitalDemodulator2</a>
 

 

