title: MagSetImageScalingCallback definition in VB.NET?
body: <p>I'm searching for a right definition of <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms692395%28v=vs.85%29.aspx?f=255&amp;MSPPError=-2147217396" rel="nofollow noreferrer"><code>MagSetImageScalingCallback</code></a> api to VB.NET but until now nothing was found on web. Someone could say how could be the signature of this function?</p>
  
  <p>Here is a "mirror" in C++:</p>
  
  <pre><code>typedef BOOL (CALLBACK* MagImageScalingCallback)(HWND hwnd, void * srcdata, MAGIMAGEHEADER srcheader, void * destdata, MAGIMAGEHEADER destheader, RECT unclipped, RECT clipped, HRGN dirty ); 
  
  BOOL WINAPI MagSetImageScalingCallback(HWND hwnd, MagImageScalingCallback callback ); 
  </code></pre>
  
  <ul>
  <li><a href="http://forum.ru-board.com/topic.cgi?forum=33&amp;topic=10477&amp;start=1560&amp;limit=1&amp;m=1" rel="nofollow noreferrer">Reference</a></li>
  </ul>