title: How to get IWICDevelopRaw interface
body: <p>I am rendering a raw photo (sony .arw) using WIC and Direct2D. This part I have working it loads and I can draw it on the screen. What I want to do is get access to the IWICDevelopRaw interface. I assumed that the decoder would implement that interface so I tried:</p>
  
  <pre><code>    Microsoft::WRL::ComPtr&lt;IWICBitmapDecoder&gt; pDecoder;
  
      HRESULT hr = m_pWICIMagingFactory-&gt;CreateDecoderFromFilename(
          uri,
          NULL,
          GENERIC_READ,
          WICDecodeMetadataCacheOnLoad,
          &amp;pDecoder
          );
      if (SUCCEEDED(hr))
      {
          Microsoft::WRL::ComPtr&lt;IUnknown&gt; u;
          hr = pDecoder.AsIID(IID_IWICDevelopRaw, &amp;u);
          if (SUCCEEDED(hr)) { 
              ...
  
          }
      }
  </code></pre>
  
  <p>But <code>hr</code> is <code>NO_INTERFACE</code> after the call <code>to pDecoder.AsIID(IID_IWICDevelopRaw, &amp;u)</code></p>