User`s guide

16
OPC Interface of NuDAQ PCI card OPC Server
3.4 Custom Interface/Client Side
IOPCDataCallback
HRESULT OnReadComplete (dwTransid, hGroup, hrMasterquality,
hrMastererror, dwCount, phClientItems, pvValues, pwQualities,
pftTimeStamps, pErrors);
HRESULT OnWriteComplete (dwTransid, hGroup, hrMastererr, dwCount,
phClientItems, pErrors);
HRESULT OnCancelComplete (dwTransid, hGroup);
HRESULT OnDataChange (dwTransid, hGroup, hrMasterquality,
hrMastererror, dwCount, phClientItems, pvValues, pwQualities,
pftTimeStamps, pErrors);
IOPCShutdown
void ShutdownRequest (szReason);
IAdviseSink (old)
void OnDataChange (pFE, pSTM);
Note: all other functions can be stubs which return E_NOTIMPL.
About the detail of each method of interface, please refer to “OPC Data
Access Custom Interface Specification” manual on the OPC Foundation
website http://www.opcfoundation.org.