Includes original BDA driver source (headers, C++ implementation, INF installer files), DiSEqC implementation PDF with extracted markdown and SVG vector graphics.
102 lines
2.9 KiB
C++
102 lines
2.9 KiB
C++
/*****************************************************************************
|
|
Company : Shree Ganesha Inc.
|
|
File Name : SkyWalker1AntennaPin.h
|
|
Author :
|
|
Date :
|
|
Purpose : This File Holds the Antenna Pin related declarations
|
|
|
|
Revision History:
|
|
===============================================================================
|
|
DATE VERSION AUTHOR REMARK
|
|
===============================================================================
|
|
|
|
XXth April,2009 01 Initial Version
|
|
|
|
*****************************************************************************/
|
|
|
|
#ifndef __SKYWALKER1_ANTENNA_PIN_H
|
|
#define __SKYWALKER1_ANTENNA_PIN_H
|
|
|
|
/* Include the Library and Other header file */
|
|
#include "SkyWalker1TunerPin.h"
|
|
#include "SkyWalker1Extended.h" //For the Extended BDA
|
|
/* End of Inclusion the Library and Other header file */
|
|
|
|
/* Macro Definitions */
|
|
/* End of Macro Definitions */
|
|
|
|
/* Declare Enumerations here */
|
|
/* End of Enumeration declaration */
|
|
|
|
/* Global & Static variables Declaration */
|
|
|
|
//Antenna Pin class.
|
|
class CAntennaPin : public CTunerPin
|
|
{
|
|
public:
|
|
|
|
static NTSTATUS PinSetDeviceState(
|
|
IN PKSPIN Pin,
|
|
IN KSSTATE ToState,
|
|
IN KSSTATE FromState
|
|
);
|
|
|
|
static NTSTATUS IntersectDataFormat(
|
|
IN PVOID pContext,
|
|
IN PIRP pIoRequestPacket,
|
|
IN PKSP_PIN Pin,
|
|
IN PKSDATARANGE DataRange,
|
|
IN PKSDATARANGE MatchingDataRange,
|
|
IN ULONG DataBufferSize,
|
|
OUT PVOID Data OPTIONAL,
|
|
OUT PULONG DataSize
|
|
);
|
|
|
|
//Network provider and AVStream use these functions
|
|
//to set and get properties of nodes that are controlled
|
|
//by the input pin.
|
|
|
|
static NTSTATUS GetTunerProperty(
|
|
IN PIRP pIoRequestPacket,
|
|
IN PKSPROPERTY pKSProperty,
|
|
IN PULONG pulProperty
|
|
);
|
|
|
|
static NTSTATUS SetTunerProperty(
|
|
IN PIRP pIoRequestPacket,
|
|
IN PKSPROPERTY pKSProperty,
|
|
IN PULONG pulProperty
|
|
);
|
|
|
|
|
|
|
|
//Network provider and AVStream use these functions
|
|
//to set and get properties of nodes that are controlled
|
|
//by the input pin.
|
|
static NTSTATUS GetTunerLnbProperty(
|
|
IN PIRP pIoRequestPacket,
|
|
IN PKSPROPERTY pKSProperty,
|
|
IN PULONG pulProperty
|
|
);
|
|
|
|
static NTSTATUS SetTunerLnbProperty(
|
|
IN PIRP pIoRequestPacket,
|
|
IN PKSPROPERTY pKSProperty,
|
|
IN PULONG pulProperty
|
|
);
|
|
|
|
private:
|
|
|
|
KSSTATE m_KsState;
|
|
};
|
|
|
|
|
|
/* End of Global & Static variables Declaration */
|
|
|
|
/* External Variable Declaration */
|
|
/* End of External Variable Declaration */
|
|
|
|
/* Function Prototypes */
|
|
/* End of Function prototype definitions */
|
|
|
|
#endif /*__SKYWALKER1_TRANSPORT_PIN_H*/ |