if( pNode == pCurrRoot) WinSendMsg( hwndCnr, CM_REMOVERECORD, MPFROMP(&pNode), MPFROM2SHORT(1, 0)); WinSendMsg( hwndCnr, CM_FREERECORD, MPFROMP(&pNode), MPFROMSHORT(1));
if( pNode) { if( pNode == pCurrRoot) WinSendMsg( hwndCnr, CM_REMOVERECORD, MPFROMP(&pNode), MPFROM2SHORT(1, 0)); WinSendMsg( hwndCnr, CM_FREERECORD, MPFROMP(&pNode), MPFROMSHORT(1)); }
   void DestroyDir( FS::IDir *aNode)   {      if( aNode != pMetaNode)      {         PTREENODE pNode = DIR2REC(aNode);         if( pNode == pCurrRoot)            WinSendMsg( hwndCnr, CM_REMOVERECORD,                        MPFROMP(&pNode), MPFROM2SHORT(1, 0));         WinSendMsg( hwndCnr, CM_FREERECORD, MPFROMP(&pNode), MPFROMSHORT(1));      }   }