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.

71 lines
2.0 KiB

  1. //
  2. // Copyright 2001 - Microsoft Corporation
  3. //
  4. // Orginal By:
  5. // Scott Hanggie (ScottHan) ??-???-199?
  6. //
  7. // Modified By:
  8. // Geoff Pease (GPease) 23-JAN-2001
  9. //
  10. // Maintained By:
  11. // Geoff Pease (GPease) 23-JAN-2001
  12. //
  13. #pragma once
  14. //
  15. // PFID - "Property Folder ID"
  16. //
  17. typedef GUID PFID;
  18. #define PFID_NULL GUID_NULL
  19. #define IsEqualPFID(rpfid1, rpfid2) IsEqualGUID((rpfid1), (rpfid2))
  20. //
  21. // Advanced properties default folder items
  22. //
  23. typedef struct tagDEFFOLDERITEM
  24. {
  25. const PFID* pPFID;
  26. UINT nIDStringRes;
  27. } DEFFOLDERITEM;
  28. extern const DEFFOLDERITEM g_rgTopLevelFolders[];
  29. //
  30. // DEFVAL - Predetermined constants/strings for enumerations.
  31. //
  32. typedef struct tagDEFVAL
  33. {
  34. ULONG ulVal;
  35. LPTSTR pszName;
  36. } DEFVAL;
  37. //
  38. // Advanced properties default property items
  39. //
  40. typedef struct tagDEFPROPERTYITEM
  41. {
  42. LPWSTR pszName; // Storage "string" name
  43. const FMTID * pFmtID; // Format ID
  44. PROPID propID; // Prop ID
  45. VARTYPE vt; // Default PROPVARIANT type.
  46. DWORD dwSrcType; // See DocTypes.h - This is a "FTYPE_s"
  47. const PFID * ppfid; // Property "Folder" ID
  48. BOOL fReadOnly:1; // If the property can only be read.
  49. BOOL fAlwaysPresentProperty:1; // If the property should always be added if missing from the property set.
  50. BOOL fEnumeratedValues:1; // If the property needs a table to translate the value to a string.
  51. const GUID * pclsidControl; // Inline "docprop" control to use to edit property.
  52. ULONG cDefVals; // If the property has enumerated values, cDefVals and pDefVals contain
  53. const DEFVAL * pDefVals; // the table used to list known values.
  54. } DEFPROPERTYITEM;
  55. extern const DEFPROPERTYITEM g_rgDefPropertyItems[];