Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
911 B

  1. //
  2. // RegItemP.h - header for regitem IDLists
  3. //
  4. // NOTE - these structures cannot be changed for any reason.
  5. //
  6. #ifndef _REGITEMP_H_
  7. #define _REGITEMP_H_
  8. #ifndef NOPRAGMAS
  9. #pragma pack(1)
  10. #endif
  11. typedef struct _IDREGITEM
  12. {
  13. WORD cb;
  14. BYTE bFlags;
  15. BYTE bOrder;
  16. CLSID clsid;
  17. } IDREGITEM;
  18. typedef UNALIGNED IDREGITEM *LPIDREGITEM;
  19. typedef const UNALIGNED IDREGITEM *LPCIDREGITEM;
  20. typedef struct
  21. {
  22. IDREGITEM idri;
  23. USHORT cbNext;
  24. } IDLREGITEM; // "RegItem" IDList
  25. typedef const UNALIGNED IDLREGITEM *LPCIDLREGITEM;
  26. #ifndef NOPRAGMAS
  27. #pragma pack()
  28. #endif
  29. // stolen from shell32\shitemid.h
  30. #ifndef SHID_ROOTEDREGITEM
  31. #define SHID_ROOTEDREGITEM 0x1e //
  32. #endif //SHID_ROOTEDREGITEM
  33. // stolen from shell32\shitemid.h
  34. #ifndef SHID_ROOT_REGITEM
  35. #define SHID_ROOT_REGITEM 0x1f //
  36. #endif //SHID_ROOT_REGITEM
  37. #endif // _REGITEMP_H_