Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Commit

Permalink
Fix the missing arguments and broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannavl committed Oct 11, 2016
1 parent 6221710 commit 64189c2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Source/SharpDX.DirectComposition/Target.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ public static Target FromHwnd(DesktopDevice desktopDevice, IntPtr hwnd, bool top
/// <param name="hwnd">The window to which the composition object will be bound. This cannot be null.</param>
/// <param name="topmost">TRUE if the visual tree should be displayed on top of the children of the window specified by the hwnd parameter; otherwise, the visual tree is displayed behind the children.</param>
/// <returns></returns>
public static Target FromHwnd(Device device, IntPtr hwnd, bool topmost)
{
return device.CreateTargetForHwnd(hwnd, topmost);
}
public static Target FromHwnd(Device device, IntPtr hwnd, bool topmost)
{
Target target;
device.CreateTargetForHwnd(hwnd, topmost, out target);
return target;
}
}
}

0 comments on commit 64189c2

Please sign in to comment.