Hello, I am using the API of a broker program. This is from the API Active X Guide.

Events
void OnSTIBookUpdateMsg(structSTIBookUpdate* structBookUpdate)
void OnSTIShutdown()

Methods
HRESULT DeRegisterForAllTopOfBookMsgs()
HRESULT DeRegisterForTopOfBookMsgs(BSTR bstrSymbol, BSTR bstrBook)
BSTR GetBookInfo(BSTR bstrSymbol, BSTR bstrBook)
structSTIBookUpdate GetBookInfoStruct(bool bBid, BSTR bstrSymbol, BSTR bstrBook)
HRESULT RegisterForTopOfBookMsgs(BSTR bstrSymbol, BSTR bstrBook)
long GetQueueCount()

These are methods to request certain information ex: Quote, Bid ...
I follow the HRESULT methods, however I don't understand how to GetBookInfoStruct query. Below is a sample Code that allows me to access to the HResult type requests
Here I use RegisterForTopOfBookMsgs
What is the distinction between RegisterForTopOfBookMsgs and GetBookInfoStruct??????

Please Login or Register  to view this content.
My main concern is HOW to get the GetBookInfoStruct(bool bBid, BSTR bstrSymbol, BSTR bstrBook) info I requested.

Thank you, I hope I used the proper terms since I do not really know how to program.