More progress.

This commit is contained in:
soukoku
2014-04-05 18:33:21 -04:00
parent 26dd1e7568
commit 94f2720de4
43 changed files with 438 additions and 161 deletions

View File

@@ -22,7 +22,7 @@ namespace NTwain.Triplets
{
Session.VerifyState(4, 4, DataGroups.Image, DataArgumentType.RgbResponse, Message.Reset);
response = new TWRgbResponse();
return PInvoke.DsmEntry(Session.AppId, Session.SourceId, Message.Reset, response);
return PInvoke.DsmEntry(Session.GetAppId(), Session.SourceId, Message.Reset, response);
}
/// <summary>
@@ -34,7 +34,7 @@ namespace NTwain.Triplets
public ReturnCode Set(TWRgbResponse response)
{
Session.VerifyState(4, 4, DataGroups.Image, DataArgumentType.RgbResponse, Message.Set);
return PInvoke.DsmEntry(Session.AppId, Session.SourceId, Message.Set, response);
return PInvoke.DsmEntry(Session.GetAppId(), Session.SourceId, Message.Set, response);
}
}
}