mirror of
https://github.com/soukoku/ntwain.git
synced 2025-04-05 19:49:29 +08:00
20 lines
577 B
C#
20 lines
577 B
C#
using NTwain.Data;
|
|
using NTwain.Internals;
|
|
|
|
namespace NTwain.Triplets
|
|
{
|
|
/// <summary>
|
|
/// Represents <see cref="DataArgumentType.ExtImageInfo"/>.
|
|
/// </summary>
|
|
public sealed class ExtImageInfo : OpBase
|
|
{
|
|
internal ExtImageInfo(ITwainSessionInternal session) : base(session) { }
|
|
|
|
public ReturnCode Get(out TWExtImageInfo info)
|
|
{
|
|
Session.VerifyState(7, 7, DataGroups.Image, DataArgumentType.ExtImageInfo, Message.Get);
|
|
info = new TWExtImageInfo();
|
|
return Dsm.DsmEntry(Session.AppId, Session.SourceId, Message.Get, info);
|
|
}
|
|
}
|
|
} |