|
Hi All,
In WDK 5308, there are samples for N-UP filter and during processing of N-Up filter an API(FilterPipeline.h) GetPagePart() is failing.
Summary of Problem is as below:
In case of N-Up filter, a new FixedPage is created and all the required resources of the old fixedpage is to be copied to New FixedPage resource part.
GetPagePart() does this function.A call to GetPagePart in the method CopyPageResources() in rescpy.cpp is failing returning E_FAIL.
If anyone is aware of this issue and solution, Please let me know the solution as soon as possible.
Also find the code snippet causing the problem:
In rescpy.cpp, Line no:64:
CComPtr<IUnknown> pRes = NULL;
Code failing ----
if (SUCCEEDED(hr = const_cast<IFixedPage*>(pFPSrc)->GetPagePart(resIter->first, &pRes)) &&
SUCCEEDED(hr = pFPDst->SetPagePart(resIter->first, pRes)))
{resIter->second = TRUE;}
sivakami |