mirror of
https://github.com/soukoku/ntwain.git
synced 2025-12-01 10:54:08 +08:00
Test idea of wrapping source identity into .net class.
This commit is contained in:
@@ -16,7 +16,7 @@ namespace NTwain.Triplets
|
||||
public ReturnCode RegisterCallback(TWCallback2 callback)
|
||||
{
|
||||
Session.VerifyState(4, 4, DataGroups.Control, DataArgumentType.Callback, Message.RegisterCallback);
|
||||
return Dsm.DsmEntry(Session.AppId, Session.SourceId, Message.RegisterCallback, callback);
|
||||
return Dsm.DsmEntry(Session.AppId, Session.Source.Identity, Message.RegisterCallback, callback);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user