Exemplo n.º 1
0
        /// <summary>
        /// Wraps the WMCreateSyncReader fucntion
        /// </summary>
        /// <param name="Rights">Indicates the desired operation. See WMF SDK documentation</param>
        /// <returns>The reader object</returns>
        public static IWMSyncReader CreateSyncReader(WMT_RIGHTS Rights)
        {
            IWMSyncReader res = null;

            Marshal.ThrowExceptionForHR(WMCreateSyncReader(IntPtr.Zero, Rights, out res));
            return(res);
        }
Exemplo n.º 2
0
        public static IWMReader CreateReader(WMT_RIGHTS rights)
        {
            IWMReader res = null;

            Marshal.ThrowExceptionForHR(Functions.WMCreateReader(IntPtr.Zero, rights, out res));
            return(res);
        }
Exemplo n.º 3
0
 private static extern int WMCreateSyncReader(IntPtr pUnkCert,
                                              WMT_RIGHTS dwRights,
                                              [Out, MarshalAs(UnmanagedType.Interface)] out IWMSyncReader
                                                ppSyncReader);
Exemplo n.º 4
0
 private static extern int WMCreateReader(IntPtr pUnkReserved,
                                          WMT_RIGHTS dwRights,
                                          [Out, MarshalAs(UnmanagedType.Interface)] out IWMReader ppReader);
Exemplo n.º 5
0
    /// <summary>
    /// Wraps the WMCreateSyncReader fucntion
    /// </summary>
    /// <param name="Rights">Indicates the desired operation. See WMF SDK documentation</param>
    /// <returns>The reader object</returns>
    public static IWMSyncReader CreateSyncReader(WMT_RIGHTS Rights)

    {
      IWMSyncReader res = null;

      Marshal.ThrowExceptionForHR(WMCreateSyncReader(IntPtr.Zero, Rights, out res));

      return res;
    }
Exemplo n.º 6
0
 private static extern int WMCreateSyncReader(IntPtr pUnkCert,
                                              WMT_RIGHTS dwRights,
                                              [Out, MarshalAs(UnmanagedType.Interface)] out IWMSyncReader ppSyncReader);
Exemplo n.º 7
0
 private static extern int WMCreateReader(IntPtr pUnkReserved,
                                          WMT_RIGHTS dwRights,
                                          [Out, MarshalAs(UnmanagedType.Interface)] out IWMReader ppReader);
Exemplo n.º 8
0
		public static IWMReader CreateReader(WMT_RIGHTS rights)
		{
			IWMReader res = null;
			Marshal.ThrowExceptionForHR(Functions.WMCreateReader(IntPtr.Zero, rights, out res));
			return res;
		}
Exemplo n.º 9
0
 public static extern WinErrorCode WMCreateSyncReader(IntPtr pUnkCert, WMT_RIGHTS dwRights, [Out, MarshalAs(UnmanagedType.Interface)] out IWMSyncReader ppSyncReader);
Exemplo n.º 10
0
 public static extern uint WMCreateSyncReader(
     [In] IntPtr pUnkCert, // must be set to null
     [In] WMT_RIGHTS dwRights,
     [Out] out IWMSyncReader ppSyncReader);