日期:2014-05-16 浏览次数:20944 次
long DLLAPI apiGetStationList(long lLoginID, TDeviceList **pptStationList);
typedef struct T_Device_List
{
DWORD dwNodeCount;
TDeviceNodeInfo *ptNodeInfo;
}TDeviceList;
typedef struct T_Device_Node_Info
{
char achType[MAX_NODEUNIT_LEN + 1];//Camera or Station
char achName[MAX_NODEUNIT_LEN + 1];//Camera(C_XXX) or Station(S_XXX)
char achRefName[MAX_REFNAME_LEN + 1];
char achIP[MAX_IPHOST_LEN + 1];
DWORD dwPort;
char achUser[MAX_USERNAME_LEN + 1];
char achPwd[MAX_HEXPWD_LEN + 1];
struct T_Device_Node_Info *ptNextNode; //这里好像是链表,如何申明
} TDeviceNodeInfo;