mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
marshal return types, add CharSet.Unicode to functions that lack it, marshal BOOL parameters
This commit is contained in:
parent
e9ab99c5ac
commit
d780d337e4
7 changed files with 18 additions and 10 deletions
|
@ -423,6 +423,7 @@ namespace GreenshotPlugin.Core {
|
|||
/// <param name="hObject"></param>
|
||||
/// <returns></returns>
|
||||
[DllImport("gdi32", SetLastError = true)]
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
private static extern bool DeleteObject(IntPtr hObject);
|
||||
|
||||
private WindowCapture() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue