Skip to content
Snippets Groups Projects
Commit 3ea1fa17 authored by Mariusz Pluciński's avatar Mariusz Pluciński Committed by Alexandre Julliard
Browse files

include: Add definition of inline function FreeKnownFolderDefinitionFields.

parent 17aeb550
No related branches found
No related tags found
No related merge requests found
......@@ -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
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment