typedef struct _RESDATA{
:
:
_RESDATA*nextptr;//
_RESDATA*prevptr;//
}RESDATA,*LPRESDATA;

これってstd::vector<LPRESDATA>とかでまとめたくなるね。