private void Config() { #if ALLOW_UNTESTED_INTERFACES int hr = 0; parser = (IDvbSiParser) new DvbSiParser(); graph = new BdaGraph(); graph.InitializeGraph(); graph.MakeTuneRequest(); graph.RunGraph(); hr = parser.Initialize(graph.bdaSecTab as IMpeg2Data); Debug.Assert(hr == 0, "Initialize failed !!!"); IPAT pat = null; hr = parser.GetPAT(out pat); DsError.ThrowExceptionForHR(hr); int recordCount; short progNumber = 0; short mapPid = 0; hr = pat.GetCountOfRecords(out recordCount); DsError.ThrowExceptionForHR(hr); // Get the last value hr = pat.GetRecordProgramMapPid(recordCount - 1, out mapPid); DsError.ThrowExceptionForHR(hr); hr = pat.GetRecordProgramNumber(recordCount - 1, out progNumber); DsError.ThrowExceptionForHR(hr); hr = parser.GetPMT(mapPid, progNumber, out pmt); Debug.Assert(pmt != null, "Can't get a PMT object"); #endif }
public MKDSItemPointLineRenderGroup(IPOI ItemPoints, IPAT ItemPointPaths, Color LineColor) { this.ItemPoints = ItemPoints; this.ItemPointPaths = ItemPointPaths; this.LineColor = LineColor; }
public MKDSItemPointLineRenderGroup(IPOI ItemPoints, IPAT ItemPointPaths, Color LineColor) { this.ItemPoints = ItemPoints; this.ItemPointPaths = ItemPointPaths; this.LineColor = LineColor; }