IDataSourceDriver.GetRequestResult (METH) ¶ METHOD GetRequestResult : DataSourceTransactionResult InOut: Scope Name Type Return GetRequestResult DataSourceTransactionResult Input dwTransactionId DWORD
IDataSourceDriver.GetSetting (METH) ¶ METHOD GetSetting : DWORD InOut: Scope Name Type Return GetSetting DWORD Input dwSettingTag DWORD Output bUseDefault BOOL
IDataSourceDriver.Initialize (METH) ¶ METHOD Initialize : UDINT InOut: Scope Name Type Return Initialize UDINT Input stDataSource STRING pInitInfo POINTER TO DriverInitInfo pInitData POINTER TO BYTE
IDataSourceDriver.LastError (PROP) ¶ PROPERTY LastError : DWORD Will be valid only if State DataSourceState.DS_Error
IDataSourceDriver.ReadRequest (METH) ¶ METHOD ReadRequest : UDINT InOut: Scope Name Type Return ReadRequest UDINT Input pItems POINTER TO ARRAY [0..100] OF IDataItem iItemCount UDINT dwListId DWORD Output dwTransactionId DWORD
IDataSourceDriver.Reset (METH) ¶ METHOD Reset : UDINT InOut: Scope Name Type Return Reset UDINT
IDataSourceDriver.ShuttingDown (METH) ¶ METHOD ShuttingDown : UDINT InOut: Scope Name Type Return ShuttingDown UDINT
IDataSourceDriver.StartConnect (METH) ¶ METHOD StartConnect : UDINT InOut: Scope Name Type Return StartConnect UDINT
DataSourceShutdownFlags (ENUM) ¶ TYPE DataSourceShutdownFlags : InOut: Name Initial Succeeded 16#0 TimeoutOccurred 16#1
DataSourceState (ENUM) ¶ TYPE DataSourceState : InOut: Name Comment DS_New In this state only Initialize may be called DS_Initialized In this state only StartConnect may be called DS_Connecting While the driver is in this state, Connecting will be called. DS_Ready In this state, the driver is able to execute requests to its datasource. DS_Busy In this state, the driver currently is not able to execute requests to its datasource DS_ShuttingDown In this state only ShuttingDown will be called DS_Shutdown In this state the driver is shutdown and all allocated resources have been released DS_Error In this state the driver encountered an error that it cannot fix itself.