|
我以前做的DLT645查找表格,你参考一下吧,很简单的
typedef void (*PFN)(void) ;
typedef struct TagSrhNode{
unsigned int uiCommand;
PFN pHandleFn;
struct TagSrhNode* pNextNode;
}SearchNode;
void HandleUa (void)
{
}
const SearchNode stUaNode = {0xE944,(PFN)HandleUa,(SearchNode*)0}; |
|