⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dvbteletextsubtitles.idl

📁 Teletext module usually used in the DVB area.
💻 IDL
字号:
// DVBTeletextSubtitles.idl : IDL source for DVBTeletextSubtitles
//

// This file will be processed by the MIDL tool to
// produce the type library (DVBTeletextSubtitles.tlb) and marshalling code.

/* 

(C) Luke Paton 2004.

Copyright notice:

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*/


import "oaidl.idl";
import "ocidl.idl";
import "bdaiface.idl";
import "vmr9.idl";

[
	uuid(C2EA7DEE-A22A-4113-9694-4D329D6D40FA),
	version(1.0),
	helpstring("DVBTeletextSubtitles 1.0 Type Library")
]
library DVBTeletextSubtitlesLib
{
	importlib("stdole2.tlb");

	typedef [v1_enum] enum colour_types
	{
		Colour_Background,
		Colour_Black,
		Colour_Red,
		Colour_Green,
		Colour_Yellow,
		Colour_Blue,
		Colour_Magenta,
		Colour_Cyan,
		Colour_White,
		Colour_Key,
        Colour_Max
	}
		colour_types;

    [
        uuid(06003E1C-4CA2-4fcc-82C0-3E76131E56E7)
    ]
	interface IEnumTeletextPages : IUnknown
	{
        HRESULT Next([in] ULONG cRequest, [in, out, size_is (cRequest)] int* pPage, [out] ULONG* pcReceived);
        HRESULT Skip([in] ULONG cRecords);
        HRESULT Reset();
        HRESULT Clone([out] IEnumTeletextPages** ppIEnumTeletextPages);
    };

    [
        uuid(9D0FA545-05EF-459f-8F92-AA354E55CDD7)
    ]
	interface IEnumTeletextSubPages : IUnknown
	{
        HRESULT Next([in] ULONG cRequest, [in, out, size_is (cRequest)] int* pSubPage, [out] int* pOccurances, [out] ULONG* pcReceived);
        HRESULT Skip([in] ULONG cRecords);
        HRESULT Reset();
        HRESULT Clone([out] IEnumTeletextSubPages** ppIEnumTeletextSubPages);
    };

    [
        uuid(F5CC7A26-AD2C-4855-80D5-7E35B42D4C36)
    ]
	interface IDVBTeletextSubtitles : IUnknown
	{
		HRESULT set_SubtitlesDecimalPage([in] LONG subtitles_page);
		HRESULT get_SubtitlesDecimalPage([out] LONG* subtitles_page);

		HRESULT set_SubtitlesDecimalSubPage([in] LONG subtitles_subpage);
		HRESULT get_SubtitlesDecimalSubPage([out] LONG* subtitles_subpage);

		HRESULT set_SubtitleDelayTime([in] DWORD subtitle_delay_range);
		HRESULT get_SubtitleDelayTime([out] DWORD* subtitle_delay_range);

		HRESULT set_SubtitleDelayRange([in] DWORD subtitle_delay_range);
		HRESULT get_SubtitleDelayRange([out] DWORD* subtitle_delay_range);

		HRESULT set_TeletextPid([in] LONG teletext_pid);
		HRESULT get_TeletextPid([out] LONG* teletext_pid);
		HRESULT ReadTeletextTransportStreamFile([in] BSTR file_path);
		HRESULT get_InputPidMap([out] IEnumPIDMap** enum_map);

        HRESULT get_Pages([out] IEnumTeletextPages** enum_pages);

        HRESULT get_SubPages(int page, IEnumTeletextSubPages** enum_subpages);
		HRESULT set_LastLine([in] LONG last_line);
		HRESULT get_LastLine([out] LONG* last_line);
		HRESULT RefreshDisplay(void);
		HRESULT ClearDisplay(void);
		HRESULT set_Colour([in] colour_types colour_index, [in] LONG colour);
		HRESULT get_Colour([in] colour_types colour_index, [out] LONG* colour);
		HRESULT set_TextMode([in] BOOL opaque);
		HRESULT get_TextMode([out] BOOL* opaque);
		HRESULT set_TransparencyPercent([in] LONG transparency_percent);
		HRESULT get_TransparencyPercent([out] LONG* transparency_percent);
		HRESULT set_DisplayHeadingLine([in] BOOL display_heading_line);
		HRESULT get_DisplayHeadingLine([out] BOOL* display_heading_line);
   		HRESULT set_File([in] BSTR file_path);
		HRESULT get_File([out] BSTR* file_path);
        HRESULT FindTeletextPid(void);
    };

    [
        uuid(56CEFDAD-FDF1-4c89-9082-4F3A7424AD81)
    ]
    coclass DVBTeletextSubtitles
    {
		interface IDVBTeletextSubtitles;
        [default] interface IUnknown;
    };

    [
        uuid(99D4E259-BB4B-466c-AA7C-2A59DDAC6458)
    ]
    coclass CDVBTeletextSubtitlesPropertiesPage1
    {
        [default] interface IUnknown;
    };

};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -