public static bool GetAccountImage(int Account) { bool flag; try { FWriteCallback callback = new FWriteCallback(FWrite); if (GetAccountImage(Account, callback)) { LastMsg = "The request GetAccountImage is successful"; return(true); } LastMsg = GetError(); flag = false; } catch (Exception e) { LastMsg = e.ToString(); flag = false; } return(flag); }
private static extern bool GetAccountImage(int Account, FWriteCallback callback);