mirror of
https://github.com/soukoku/ntwain.git
synced 2025-04-05 17:04:25 +08:00
284 lines
7.9 KiB
C#
284 lines
7.9 KiB
C#
using NTwain.Data;
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace NTwain.Triplets
|
|
{
|
|
static partial class Dsm
|
|
{
|
|
static partial class NativeMethods
|
|
{
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
ref IntPtr data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
ref DataGroups data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWAudioInfo data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWCapability data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWCustomDSData data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWDeviceEvent data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWCallback data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWCallback2 data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWEntryPoint data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWEvent data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWFileSystem data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
IntPtr zero,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWIdentity data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWPassThru data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWPendingXfers data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWSetupFileXfer data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWSetupMemXfer data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWStatusUtf8 data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWUserInterface data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWCieColor data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWExtImageInfo data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWFilter data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWGrayResponse data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWImageInfo data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWImageLayout data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWImageMemXfer data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWJpegCompression data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWPalette8 data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWRgbResponse data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
[In, Out]TWStatus data);
|
|
|
|
[DllImport("twaindsm", EntryPoint = "#1")]
|
|
public static extern ReturnCode DsmWinNew(
|
|
[In, Out]TWIdentity origin,
|
|
[In, Out]TWIdentity destination,
|
|
DataGroups dg,
|
|
DataArgumentType dat,
|
|
Message msg,
|
|
ref TWMemory data);
|
|
|
|
}
|
|
}
|
|
}
|