First Sample BitmapEffect

Published 14 April 06 02:02 PM | RWlodarczyk 

We've announced a while ago that the BitmapEffects pipeline within WinFx (particularly in Windows Presentation Foundation) would be extensible. However, no samples were provided. Today I'm posting the first sample that we've created for test purposes. It demonstrates how to build a simple BitmapEffect.

RGB Adjustor BitmapEffect (February CTP): RGBFilterEffect_code.zip (code no longer available)

RGB Adjustor BitmapEffect (February CTP): RGBFilterEffect_compiled.zip (code no longer available)

(please note: When building this sample you will hit a build error (Error result 1 returned from 'C:\WINNT\system32\cmd.exe'.). Unfortunately this is expected at this time and this is being worked on so it's addressed in a future update. Also, in order to build the sample, you should follow section 6.2 in the Windows SDK readme.)
Filed under: , ,

Comments

# John Stewien said on April 17, 2006 10:50 PM:
IS there a problem running this on Win XP x64?

uint hresult = Ole32Methods.CoCreateInstance(ref guidEffectCLSID, wrapper.DangerousGetHandle(),
                          CLSCTX_INPROC_SERVER, ref IID_IUnknown, out unmanagedEffect);

leaves unmanagedEffect as null and returns 2147746132
Anonymous comments are disabled

About RWlodarczyk

Robert has been at Microsoft since August 2003. He has worked on WPF Imaging, Media, and Effects, and Windows Vista (in the form of the Windows Imaging Component). He is currently the test lead for the Windows Imaging Component.
Page view tracker