# C1.Util.DX.WIC.PixelFormatInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_WIC_PixelFormatInfo" data-uid="C1.Util.DX.WIC.PixelFormatInfo" class="text-break">PixelFormatInfo Class
</h1>
  <div class="markdown level0 summary"><p>IWICPixelFormatInfo</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.CppObject.html">CppObject</a></div>
    <div class="level3"><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></div>
    <div class="level4"><a class="xref" href="C1.Util.DX.WIC.ComponentInfo.html">ComponentInfo</a></div>
    <div class="level5"><span class="xref">PixelFormatInfo</span></div>
      <div class="level6"><a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo2.html">PixelFormatInfo2</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Util.DX.IUnknown.html">IUnknown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.WIC.html">C1.Util.DX.WIC</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.4.8.dll</h6>
  <h5 id="C1_Util_DX_WIC_PixelFormatInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;E8EDA601-3D48-431a-AB44-69059BE88BBE&quot;)]
public class PixelFormatInfo : ComponentInfo, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;E8EDA601-3D48-431a-AB44-69059BE88BBE&quot;)&gt;
Public Class PixelFormatInfo
    Inherits ComponentInfo
    Implements IDisposable, IUnknown</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_WIC_PixelFormatInfo__ctor_System_IntPtr_" data-uid="C1.Util.DX.WIC.PixelFormatInfo.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo.-ctor.html#C1_Util_DX_WIC_PixelFormatInfo__ctor_System_IntPtr_">PixelFormatInfo(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo.html">PixelFormatInfo</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_WIC_PixelFormatInfo_GetBitsPerPixel" data-uid="C1.Util.DX.WIC.PixelFormatInfo.GetBitsPerPixel">
          <a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo.GetBitsPerPixel.html#C1_Util_DX_WIC_PixelFormatInfo_GetBitsPerPixel">GetBitsPerPixel()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IWICPixelFormatInfo::GetBitsPerPixel([Out] unsigned int* puiBitsPerPixel)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_WIC_PixelFormatInfo_GetChannelCount" data-uid="C1.Util.DX.WIC.PixelFormatInfo.GetChannelCount">
          <a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo.GetChannelCount.html#C1_Util_DX_WIC_PixelFormatInfo_GetChannelCount">GetChannelCount()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IWICPixelFormatInfo::GetChannelCount([Out] unsigned int* puiChannelCount)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_WIC_PixelFormatInfo_GetChannelMask_System_Int32_" data-uid="C1.Util.DX.WIC.PixelFormatInfo.GetChannelMask(System.Int32)">
          <a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo.GetChannelMask.html#C1_Util_DX_WIC_PixelFormatInfo_GetChannelMask_System_Int32_">GetChannelMask(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the channel mask.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_WIC_PixelFormatInfo_GetChannelMask_System_Int32_System_Int32_System_IntPtr_" data-uid="C1.Util.DX.WIC.PixelFormatInfo.GetChannelMask(System.Int32,System.Int32,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo.GetChannelMask.html#C1_Util_DX_WIC_PixelFormatInfo_GetChannelMask_System_Int32_System_Int32_System_IntPtr_">GetChannelMask(int, int, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IWICPixelFormatInfo::GetChannelMask([In] unsigned int uiChannelIndex,[In] unsigned int cbMaskBuffer,[In] void* pbMaskBuffer,[Out] unsigned int* pcbActual)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_WIC_PixelFormatInfo_GetColorContext" data-uid="C1.Util.DX.WIC.PixelFormatInfo.GetColorContext">
          <a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo.GetColorContext.html#C1_Util_DX_WIC_PixelFormatInfo_GetColorContext">GetColorContext()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IWICPixelFormatInfo::GetColorContext([Out] IWICColorContext** ppIColorContext)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_WIC_PixelFormatInfo_GetFormatGUID" data-uid="C1.Util.DX.WIC.PixelFormatInfo.GetFormatGUID">
          <a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo.GetFormatGUID.html#C1_Util_DX_WIC_PixelFormatInfo_GetFormatGUID">GetFormatGUID()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IWICPixelFormatInfo::GetFormatGUID([Out] GUID* pFormat)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_WIC_PixelFormatInfo_op_Explicit_System_IntPtr__C1_Util_DX_WIC_PixelFormatInfo" data-uid="C1.Util.DX.WIC.PixelFormatInfo.op_Explicit(System.IntPtr)~C1.Util.DX.WIC.PixelFormatInfo">
          <a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo.op_Explicit.html#C1_Util_DX_WIC_PixelFormatInfo_op_Explicit_System_IntPtr__C1_Util_DX_WIC_PixelFormatInfo">explicit operator PixelFormatInfo(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a> to <a class="xref" href="C1.Util.DX.WIC.PixelFormatInfo.html">PixelFormatInfo</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
