Dump more .lnk file header fields.

This commit is contained in:
Dmitry Timoshkov 2005-09-08 18:54:32 +00:00 committed by Alexandre Julliard
parent 8feb70aa01
commit f861818081
1 changed files with 8 additions and 0 deletions

View File

@ -398,6 +398,14 @@ static int dump_lnk_fd(int fd)
printf("Size: %04lx\n", hdr->dwSize);
printf("GUID: %s\n", guid);
printf("FileAttr: %08lx\n", hdr->dwFileAttr);
printf("FileLength: %08lx\n", hdr->dwFileLength);
printf("nIcon: %ld\n", hdr->nIcon);
printf("Startup: %ld\n", hdr->fStartup);
printf("HotKey: %08lx\n", hdr->wHotKey);
printf("Unknown5: %08lx\n", hdr->Unknown5);
printf("Unknown6: %08lx\n", hdr->Unknown6);
/* dump out all the flags */
printf("Flags: %04lx ( ", hdr->dwFlags);
#define FLAG(x) if(hdr->dwFlags & SCF_##x) printf("%s ",#x);