// The file was added to the directory.
// The file was removed from the directory.
// The file was renamed and this is the old name.
// The file was renamed and this is the new name.
memcpy(wchFileName, pfni->FileName, pfni->FileNameLength);
wchFileName[pfni->FileNameLength / sizeof(WCHAR)] = L'\0';
// Enjoy of added, removed, or modified file name...
dwNextEntryOffset += pfni->NextEntryOffset; // next please!
}while(pfni->NextEntryOffset != 0);