请问怎么得到这个code及name?
typedef struct
{
unsigned charMarket;//XDFMarket取值
unsigned charSecKind;//证券类型[见文档]
charCode[8];//代码
charName[8];//名称
GIDXGidx;//本日全局ID
}XDFAPI_NameTable;
intm_nMarketID;
XDFAPI_NameTable * m_pNameTable;
intm_nNameCount;
UINTm_nTimerID;
if (m_pNameTable)
{
delete []m_pNameTable;
m_pNameTable=0;
}
m_nNameCount=0;
Global_Handler.GetCodeTable(m_nMarketID,NULL, m_nNameCount);
if (m_nNameCount>0)
{
m_pNameTable = new XDFAPI_NameTable[m_nNameCount];
Global_Handler.GetCodeTable(m_nMarketID, m_pNameTable, m_nNameCount);
}