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.

59 lines
2.0 KiB

  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // propmisc.h
  4. //
  5. // Common Property Set routines.
  6. //
  7. ////////////////////////////////////////////////////////////////////////////////
  8. #ifndef __propmisc_h__
  9. #define __propmisc_h__
  10. #include "proptype.h"
  11. // Update a string value (*lplpstzOrig) with new
  12. // value lpszNew.
  13. // Create a list.
  14. LPLLIST LpllCreate (LPLLIST *lplpll,
  15. LPLLCACHE lpllc,
  16. DWORD dwc,
  17. DWORD cbNode);
  18. // Get a node from the list
  19. LPLLIST LpllGetNode (LPLLIST lpll,
  20. LPLLCACHE lpllc,
  21. DWORD idw);
  22. // Delete a node from the list
  23. LPLLIST LpllDeleteNode (LPLLIST lpll,
  24. LPLLCACHE lpllc,
  25. DWORD idw,
  26. DWORD cbNode,
  27. void (*lpfnFreeNode)(LPLLIST)
  28. );
  29. // Insert a node into the list
  30. LPLLIST LpllInsertNode (LPLLIST lpll,
  31. LPLLCACHE lpllc,
  32. DWORD idw,
  33. DWORD cbNode);
  34. // Set the bit indicating that a suminfo filetime/int has been set/loaded
  35. VOID VSumInfoSetPropBit(LONG pid, BYTE *pbftset);
  36. // Check the bit indicating that a suminfo filetime/int has been set/loaded
  37. BOOL FSumInfoPropBitIsSet(LONG pid, BYTE bftset);
  38. // Set the bit indicating that a docsuminfo filetime/int has been set/loaded
  39. VOID VDocSumInfoSetPropBit(LONG pid, BYTE *pbftset);
  40. // Check the bit indicating that a docsuminfo filetime/int has been set/loaded
  41. BOOL FDocSumInfoPropBitIsSet(LONG pid, BYTE bftset);
  42. // Free the DocSum headpart plex
  43. VOID FreeHeadPartPlex(LPDSIOBJ lpDSIObj);
  44. // Return the size of the FMTID in the thumbnail
  45. DWORD CbThumbNailFMTID(DWORD cftag);
  46. #endif // __propmisc_h__