You also have to add the SHGFI_ICON flag for .hIcon to be set.