CanEasy COM-Help
CanEasy::_IRecordEvents Interface Reference

Detailed Description

Events provided by the record (see class Record)

dispinterface _IRecordEvents
{
properties:
methods:
HRESULT OnRecordChanged([in] enum RecordChangedEvent nReason);
HRESULT OnRecordChangedSync([in] enum RecordChangedEvent nReason);
HRESULT OnWrite();
HRESULT OnWriteSync();
};

Definition at line 6370 of file cand_tlb.idl.

Member Function Documentation

◆ OnRecordChanged()

HRESULT CanEasy::_IRecordEvents::OnRecordChanged ( [in] enum RecordChangedEvent  nReason)

Called if record was loaded/unloaded

Parameters
nReasonGives information about loaded/unloaded

◆ OnRecordChangedSync()

HRESULT CanEasy::_IRecordEvents::OnRecordChangedSync ( [in] enum RecordChangedEvent  nReason)

Called if record was loaded/unloaded from main thread

Parameters
nReasonGives information about loaded/unloaded

◆ OnWrite()

HRESULT CanEasy::_IRecordEvents::OnWrite ( )

Called if new record entry was inserted into the record

◆ OnWriteSync()

HRESULT CanEasy::_IRecordEvents::OnWriteSync ( )

Called if new record entry was inserted into the record from runtime thread

CanEasy::RecordChangedEvent
RecordChangedEvent
The RecordChangedEvent enumeration defines whether a record was loaded or unloaded.
Definition: cand_tlb.idl:343
CanEasy::_IRecordEvents::OnRecordChangedSync
HRESULT OnRecordChangedSync([in] enum RecordChangedEvent nReason)
CanEasy::_IRecordEvents::OnWriteSync
HRESULT OnWriteSync()
CanEasy::_IRecordEvents::OnRecordChanged
HRESULT OnRecordChanged([in] enum RecordChangedEvent nReason)
CanEasy::_IRecordEvents::OnWrite
HRESULT OnWrite()