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.

15 lines
739 B

  1. typedef HRESULT (STDAPICALLTYPE *PFNREADPROP)(IPropertyStorage *ppropstg, PROPID propid, LPTSTR pszBuf, DWORD cchBuf);
  2. typedef struct {
  3. const FMTID *pfmtid; // FMTID_ for property set
  4. UINT idProp; // property ID
  5. PFNREADPROP pfnRead; // function to fetch the string representation
  6. UINT idFmtString; // format string to use, should be "%1String %2"
  7. } ITEM_PROP;
  8. // standard PFNREADPROP callback types
  9. STDAPI GetStringProp(IPropertyStorage *ppropstg, PROPID propid, LPTSTR pszBuf, DWORD cchBuf);
  10. STDAPI GetFileTimeProp(IPropertyStorage *ppropstg, PROPID propid, LPTSTR pszBuf, DWORD cchBuf);
  11. STDAPI GetInfoTipFromStorage(IPropertySetStorage *ppropsetstg, const ITEM_PROP *pip, WCHAR **ppszTip);