WORD wFormat variable truncates the DT_HIDEPREFIX (0x100000) flag.
Should be changed to: DWORD wFormat