2010/7/26 Rico Schüller kgbricola@web.de:
IUnknown_Release((IUnknown *)object);
Since you'll probably resend this anyway based on Matteo's comment, I think just HeapFree() should do just as well. Also, I don't have a recent enough DX SDK to check at the moment, but if d3dcommon.h is generated by IDL, it will mostly likely have proper COM macros for ID3D10Blob as well.