Пример #1
0
 private TwRC DSMparent(TwIdentity origin, IntPtr zeroptr, TwDG dg, TwDAT dat, TwMSG msg, ref IntPtr refptr)
 {
     if (IntPtr.Size == 8)
     {
         return(Twain64.DSMparent(origin, zeroptr, dg, dat, msg, ref refptr));
     }
     else
     {
         return(Twain32.DSMparent(origin, zeroptr, dg, dat, msg, ref refptr));
     }
 }
Пример #2
0
 private TwRC DSMident(TwIdentity origin, IntPtr zeroptr, TwDG dg, TwDAT dat, TwMSG msg, TwIdentity idds)
 {
     if (IntPtr.Size == 8)
     {
         return(Twain64.DSMident(origin, zeroptr, dg, dat, msg, idds));
     }
     else
     {
         return(Twain32.DSMident(origin, zeroptr, dg, dat, msg, idds));
     }
 }
Пример #3
0
 private TwRC DSuserif(TwIdentity origin, TwIdentity dest, TwDG dg, TwDAT dat, TwMSG msg, TwUserInterface guif)
 {
     if (IntPtr.Size == 8)
     {
         return(Twain64.DSuserif(origin, dest, dg, dat, msg, guif));
     }
     else
     {
         return(Twain32.DSuserif(origin, dest, dg, dat, msg, guif));
     }
 }
Пример #4
0
 private TwRC DSevent(TwIdentity origin, TwIdentity dest, TwDG dg, TwDAT dat, TwMSG msg, ref TwEvent evt)
 {
     if (IntPtr.Size == 8)
     {
         return(Twain64.DSevent(origin, dest, dg, dat, msg, ref evt));
     }
     else
     {
         return(Twain32.DSevent(origin, dest, dg, dat, msg, ref evt));
     }
 }
Пример #5
0
 private TwRC DSiinf(TwIdentity origin, TwIdentity dest, TwDG dg, TwDAT dat, TwMSG msg, TwImageInfo imginf)
 {
     if (IntPtr.Size == 8)
     {
         return(Twain64.DSiinf(origin, dest, dg, dat, msg, imginf));
     }
     else
     {
         return(Twain32.DSiinf(origin, dest, dg, dat, msg, imginf));
     }
 }
Пример #6
0
 private TwRC DSixfer(TwIdentity origin, TwIdentity dest, TwDG dg, TwDAT dat, TwMSG msg, ref IntPtr hbitmap)
 {
     if (IntPtr.Size == 8)
     {
         return(Twain64.DSixfer(origin, dest, dg, dat, msg, ref hbitmap));
     }
     else
     {
         return(Twain32.DSixfer(origin, dest, dg, dat, msg, ref hbitmap));
     }
 }
Пример #7
0
 private TwRC DSpxfer(TwIdentity origin, TwIdentity dest, TwDG dg, TwDAT dat, TwMSG msg, TwPendingXfers pxfr)
 {
     if (IntPtr.Size == 8)
     {
         return(Twain64.DSpxfer(origin, dest, dg, dat, msg, pxfr));
     }
     else
     {
         return(Twain32.DSpxfer(origin, dest, dg, dat, msg, pxfr));
     }
 }
Пример #8
0
 private TwRC DScap(TwIdentity origin, TwIdentity dest, TwDG dg, TwDAT dat, TwMSG msg, TwCapability capa)
 {
     if (IntPtr.Size == 8)
     {
         return(Twain64.DScap(origin, dest, dg, dat, msg, capa));
     }
     else
     {
         return(Twain32.DScap(origin, dest, dg, dat, msg, capa));
     }
 }