private static extern ReturnCodes DataSourcePendingXfer(
     [In, Out] Identity origin,
     [In] Identity destination,
     DataGroups dataGroup,
     DataAttributeTypes dataAttributeType,
     Messages message,
     [In, Out] PendingXfersInterop pendingXfer);
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="dataSourceManager">Datasourcemanager for the xfers</param>
 /// <param name="dataSource">Datasource for the xfers</param>
 internal Xfer(
     DataSourceManager dataSourceManager,
     DataSource dataSource)
 {
     this.dataSourceManager         = dataSourceManager;
     this.dataSource                = dataSource;
     this.pendingXfersInteropStruct = new PendingXfersInterop();
 }
 /// <summary>
 /// Resets all pending transfers
 /// </summary>
 /// <param name="applicationIdentity">Identity of the application</param>
 /// <param name="dataSourceIdentity">Identity of the datasource</param>
 /// <param name="pendingXfer"></param>
 /// <returns>Reply of the twaindriver</returns>
 internal static ReturnCodes ResetPendingXfer(
     Identity applicationIdentity,
     Identity dataSourceIdentity,
     PendingXfersInterop pendingXfer)
 {
     return(DataSourcePendingXfer(
                applicationIdentity,
                dataSourceIdentity,
                DataGroups.Control,
                DataAttributeTypes.PendingXfers,
                Messages.Reset,
                pendingXfer));
 }