add error code getter.

This commit is contained in:
hecomi
2016-10-30 19:35:00 +09:00
parent 7a27d86eff
commit 73018f671a
4 changed files with 12 additions and 5 deletions
@@ -29,6 +29,8 @@ public static class Lib
public static extern int GetPointerY(int id);
[DllImport("uDesktopDuplication")]
public static extern int SetTexturePtr(int id, IntPtr ptr);
[DllImport("uDesktopDuplication")]
public static extern int GetErrorCode();
public static string GetName(int id)
{