コード例 #1
0
ファイル: WMFFunctions.cs プロジェクト: scalfy/practicesharp
        /// <summary>
        /// Wraps the WMCreateWriterPushSink function
        /// </summary>
        /// <returns>The writer push sink object</returns>
        public static IWMWriterPushSink CreateWriterPushSink()
        {
            IWMWriterPushSink res = null;

            Marshal.ThrowExceptionForHR(WMCreateWriterPushSink(out res));
            return(res);
        }
コード例 #2
0
ファイル: WMFFunctions.cs プロジェクト: scalfy/practicesharp
 private static extern int WMCreateWriterPushSink([Out, MarshalAs(UnmanagedType.Interface)] out IWMWriterPushSink ppSink);
コード例 #3
0
ファイル: WMUtils.cs プロジェクト: babgvant/EVRPlay
 public static extern int WMCreateWriterPushSink(
     out IWMWriterPushSink ppSink
     );