diff --git a/generation/WinSDK/autoTypes.json b/generation/WinSDK/autoTypes.json index 4bd05fe3..48799f49 100644 --- a/generation/WinSDK/autoTypes.json +++ b/generation/WinSDK/autoTypes.json @@ -446,6 +446,32 @@ "InvalidHandleValues": [ -1, 0 ], "NativeTypedef": true }, + { + "Namespace": "Windows.Win32.UI.Shell.Common", + "Name": "PIDLIST_RELATIVE", + "ValueType": "ITEMIDLIST*", + "CloseApi": "ILFree", + "InvalidHandleValues": [ 0 ], + "NativeTypedef": true + }, + { + "Namespace": "Windows.Win32.UI.Shell.Common", + "Name": "PIDLIST_ABSOLUTE", + "ValueType": "ITEMIDLIST*", + "CloseApi": "ILFree", + "AlsoUsableFor": "PIDLIST_RELATIVE", + "InvalidHandleValues": [ 0 ], + "NativeTypedef": true + }, + { + "Namespace": "Windows.Win32.UI.Shell.Common", + "Name": "PITEMID_CHILD", + "ValueType": "ITEMIDLIST*", + "CloseApi": "ILFree", + "AlsoUsableFor": "PIDLIST_RELATIVE", + "InvalidHandleValues": [ 0 ], + "NativeTypedef": true + }, { "Name": "HCOLORSPACE", "ValueType": "DECLARE_HANDLE", diff --git a/generation/WinSDK/emitter.settings.rsp b/generation/WinSDK/emitter.settings.rsp index 45cdad2e..f39e484c 100644 --- a/generation/WinSDK/emitter.settings.rsp +++ b/generation/WinSDK/emitter.settings.rsp @@ -262,6 +262,10 @@ SHFormatDrive::fmtID=SHFMT_ID SHGetSetSettings::dwMask=SSF_MASK IStream::Seek::dwOrigin=STREAM_SEEK SHGetKnownFolderPath::ppszPath=[FreeWith("CoTaskMemFree")] +SHGetNameFromIDList::ppszName=[FreeWith("CoTaskMemFree")] +StringFromCLSID::lplpsz=[FreeWith("CoTaskMemFree")] +StringFromIID::lplpsz=[FreeWith("CoTaskMemFree")] +IShellItem::GetDisplayName::ppszName=[FreeWith("CoTaskMemFree")] PSINJECTDATA::InjectionPoint=PSINJECT_POINT EnumObjects::nType=OBJ_TYPE EnumSystemFirmwareTables::pFirmwareTableEnumBuffer=byte* diff --git a/generation/WinSDK/requiredNamespacesForNames.rsp b/generation/WinSDK/requiredNamespacesForNames.rsp index dbcff5db..b3a2c56a 100644 --- a/generation/WinSDK/requiredNamespacesForNames.rsp +++ b/generation/WinSDK/requiredNamespacesForNames.rsp @@ -669,6 +669,7 @@ IADesktopP2=Windows.Win32.UI.LegacyWindowsEnvironmentFeatures DoPrivacyDlg=Windows.Win32.Web.MsHtml # endregion shlobj.h # region shlobj_core.h +ILFree=Windows.Win32.UI.Shell.Common PROPERTYUI_FLAGS=Windows.Win32.UI.Shell.PropertiesSystem PROPERTYUI_NAME_FLAGS=Windows.Win32.UI.Shell.PropertiesSystem PROPERTYUI_FORMAT_FLAGS=Windows.Win32.UI.Shell.PropertiesSystem