I could put in a comment to clarify that.  Ie   a  DIRECTORY SYMLINK has both FILE_ATTRIBUTE_DIRECTORY  and FILE_ATTRIBUTE_REPARSE_POINT.

I guess I could put
```
if (((fdata->dwFileAttributes & (FILE_ATTRIBUTE_REPARSE_POINT|FILE_ATTRIBUTE_DIRECTORY)) = FILE_ATTRIBUTE_DIRECTORY) 
    ent->d_type = DT_DIR;
else if (fdata->dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT
	&& (fdata->dwReserved0 == IO_REPARSE_TAG_SYMLINK))
    ent->d_type = DT_LNK;
```