title: How to calculate an area of a Windows region (HRGN) in pixels?
body: <p>What is the fastest way of getting the area of any arbitrary Windows region?</p>
  
  <p>I know I can enumerate all points of bounding rectangle and call the <code>PtInRegion()</code> function but it seems not very fast. Maybe you know some faster way?</p>