microsoft/DirectXTex

SaveToWICFile return 80004002

PTA00 opened this issue · 5 comments

PTA00 commented

this is my code.What do I need to check?
image

PTA00 commented

bool iswic2 = false;
auto pWIC = GetWICFactory(iswic2);
if (!pWIC)
return E_NOINTERFACE;

PTA00 commented

//
// MessageId: E_NOINTERFACE
//
// MessageText:
//
// No such interface supported
//
#define E_NOINTERFACE HRESULT_TYPEDEF(0x80004002L)

PTA00 commented

Sorry, I didn't notice that.