Called by the RTD server whenever Excel requests data for the specified topic.
virtual bool OnGetDataState( LPCWSTR lpszClient, LPCWSTR lpszTopic, LPVARIANT lpvntState ); |
A pointer to a null-terminated unicode string containing the name of the client. This will always be the same as the value passed in CXllRtdFeedServerProxy::RegisterClient().
A pointer to a null-terminated unicode string containing the topic about which Excel requires information.
A pointer to an empty VARIANT which should be populated with the state value for the requested topic.
This call may occur at any of three points:
If data is available, the implementation method should set *lpvntState to a scalar state variable and return true. If no data is yet available, the implementation method should return false.
Header: XllRtdFeedServerProxy.h