[idd] helper: expose PNG clipboard images as DIB

Advertise PNG offers as delayed CF_DIBV5 data while retaining the
registered PNG representation. Decode requests with the native WIC
PNG decoder so applications that only accept DIB formats can paste
the image.
This commit is contained in:
Geoffrey McRae
2026-08-21 13:40:34 +10:00
parent ccb80d6464
commit 7ca94e8959
3 changed files with 150 additions and 15 deletions

View File

@@ -188,7 +188,7 @@ copy /Y "$(ProjectDir)VERSION" "$(SolutionDir)$(Platform)\$(Configuration)\LGIdd
<CallingConvention>StdCall</CallingConvention>
</ClCompile>
<Link>
<AdditionalDependencies>%(AdditionalDependencies);Bcrypt.lib;Ole32.lib;Shell32.lib;Wtsapi32.lib</AdditionalDependencies>
<AdditionalDependencies>%(AdditionalDependencies);Bcrypt.lib;Ole32.lib;Shell32.lib;Windowscodecs.lib;Wtsapi32.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>