include: Add definition of inline function FreeKnownFolderDefinitionFields.

This commit is contained in:
Mariusz Pluciński 2011-06-09 10:40:55 +02:00 committed by Alexandre Julliard
parent 17aeb550bf
commit 3ea1fa170c
1 changed files with 13 additions and 0 deletions

View File

@ -3058,6 +3058,19 @@ interface IKnownFolderManager : IUnknown
[out, string] LPWSTR *ppszError);
}
/* function for releasing structure returned from IKnownFolder::GetFolderDefinition */
cpp_quote("static inline void FreeKnownFolderDefinitionFields(KNOWNFOLDER_DEFINITION *pKFD)")
cpp_quote("{")
cpp_quote(" CoTaskMemFree(pKFD->pszName);")
cpp_quote(" CoTaskMemFree(pKFD->pszDescription);")
cpp_quote(" CoTaskMemFree(pKFD->pszRelativePath);")
cpp_quote(" CoTaskMemFree(pKFD->pszParsingName);")
cpp_quote(" CoTaskMemFree(pKFD->pszTooltip);")
cpp_quote(" CoTaskMemFree(pKFD->pszLocalizedName);")
cpp_quote(" CoTaskMemFree(pKFD->pszIcon);")
cpp_quote(" CoTaskMemFree(pKFD->pszSecurity);")
cpp_quote("}")
/*****************************************************************************
* ShellObjects typelibrary
*/