当前位置: 首页>>代码示例>>C#>>正文


C# Interop.libvlc_exception_t类代码示例

本文整理汇总了C#中Vlc.DotNet.Core.Interop.libvlc_exception_t的典型用法代码示例。如果您正苦于以下问题:C# libvlc_exception_t类的具体用法?C# libvlc_exception_t怎么用?C# libvlc_exception_t使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


libvlc_exception_t类属于Vlc.DotNet.Core.Interop命名空间,在下文中一共展示了libvlc_exception_t类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Initalize

        private void Initalize(string vlcDirectory, string[] args)
        {
            RootPath = vlcDirectory;

            //save the original EnviornmentDirectory.
            string originalDir = Environment.CurrentDirectory;
            //Set the directory to load the COM object libvlc.dll
            Environment.CurrentDirectory = vlcDirectory;

            p_exception = new libvlc_exception_t();
            p_exception.Initalize();
            p_instance = InteropMethods.libvlc_new(args.Length, args, ref p_exception);
            p_exception.CheckException();
            Environment.CurrentDirectory = originalDir;
        }
开发者ID:ch4,项目名称:vlcdotnet,代码行数:15,代码来源:VideoLanClient.cs

示例2: libvlc_media_subitems

 internal static extern IntPtr libvlc_media_subitems(IntPtr p_media, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例3: libvlc_video_get_aspect_ratio

 internal static extern String libvlc_video_get_aspect_ratio(IntPtr p_media_player, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例4: libvlc_get_fullscreen

 internal static extern bool libvlc_get_fullscreen(IntPtr p_media_player, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例5: libvlc_toggle_fullscreen

 internal static extern void libvlc_toggle_fullscreen(IntPtr p_media_player, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例6: libvlc_media_player_is_seekable

 internal static extern bool libvlc_media_player_is_seekable(IntPtr p_media_player, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例7: libvlc_media_player_get_fps

 internal static extern float libvlc_media_player_get_fps(IntPtr p_media_player, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例8: libvlc_media_player_set_rate

 internal static extern void libvlc_media_player_set_rate(IntPtr p_media_player, float rate, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例9: libvlc_media_player_set_xwindow

 internal static extern void libvlc_media_player_set_xwindow(IntPtr p_media_player, UInt32 handle, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例10: libvlc_media_player_stop

 internal static extern void libvlc_media_player_stop(IntPtr p_media_player, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例11: libvlc_media_player_event_manager

 internal static extern IntPtr libvlc_media_player_event_manager(IntPtr p_media_player, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例12: libvlc_media_player_new_from_media

 internal static extern IntPtr libvlc_media_player_new_from_media(IntPtr p_media, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例13: libvlc_media_player_new

 internal static extern IntPtr libvlc_media_player_new(IntPtr p_instance, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例14: libvlc_media_is_preparsed

 internal static extern bool libvlc_media_is_preparsed(IntPtr p_media, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs

示例15: libvlc_media_get_duration

 internal static extern long libvlc_media_get_duration(IntPtr p_media, ref libvlc_exception_t p_exception);
开发者ID:ch4,项目名称:vlcdotnet,代码行数:1,代码来源:InteropMethods.cs


注:本文中的Vlc.DotNet.Core.Interop.libvlc_exception_t类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。