public static IAsyncOperation <bool> ShowPrintUIForWindowAsync(IntPtr hWnd) { Guid iid = typeof(IAsyncOperation <bool>).GUID; IPrinting3DManagerInterop factory = InteropHelper.GetActivationFactory <IPrinting3DManagerInterop>(typeof(Print3DManager)); return(factory.ShowPrintUIForWindowAsync(hWnd, ref iid)); }
public static IAsyncOperation <bool> ShowPrintUIForWindowAsync(IntPtr hWnd) { IPrinting3DManagerInterop printing3DManagerInterop = (IPrinting3DManagerInterop)WindowsRuntimeMarshal.GetActivationFactory(typeof(Print3DManager)); Guid guid = typeof(IAsyncOperation <bool>).GUID; return(printing3DManagerInterop.ShowPrintUIForWindowAsync(hWnd, ref guid)); }
public static Print3DManager GetForWindow(IntPtr hWnd) { Guid iid = typeof(Print3DManager).GUID; IPrinting3DManagerInterop factory = InteropHelper.GetActivationFactory <IPrinting3DManagerInterop>(typeof(Print3DManager)); return(factory.GetForWindow(hWnd, ref iid)); }
public static Print3DManager GetForWindow(IntPtr hWnd) { IPrinting3DManagerInterop printing3DManagerInterop = (IPrinting3DManagerInterop)WindowsRuntimeMarshal.GetActivationFactory(typeof(Print3DManager)); Guid guid = typeof(Print3DManager).GUID; return(printing3DManagerInterop.GetForWindow(hWnd, ref guid)); }