title: How can I save currently used cursor into the stream (resource or file)?
body: <p>Does anyone know how to save the cursor (currently used by my application, even if it's custom or animated) into the stream or file, so that I'll be able to send it over network to another computer where my application load and use it ? Simply, I want to clone the cursor from a remote computer.</p>
  
  <p>As I found in <a href="http://msdn.microsoft.com/en-us/library/ms997538" rel="nofollow noreferrer">this article</a>, most of icon functions can be used for cursors as well, but I can't find any easy to translate example. <a href="https://stackoverflow.com/questions/2289894/how-can-i-save-hicon-to-an-ico-file/4338491#4338491">Here's</a> one example using COM, but I'm not sure if the <a href="http://msdn.microsoft.com/en-us/library/ms680761%28v=vs.85%29.aspx" rel="nofollow noreferrer">IPicture</a> interface is useable also for cursors. <a href="http://social.msdn.microsoft.com/forums/en-US/winforms/thread/9ea0bf74-760f-4f40-b64c-0cf7b0a56939/" rel="nofollow noreferrer">Here</a> for instance is the discussion about saving the image into the *.cur file, but I can't find anything suitable for saving and loading cursors into stream, resource or something what I'll be able to send over network and load on a target computer.</p>
  
  <p>P.S. there's no SaveCursorToFile function as you <a href="http://msdn.microsoft.com/en-us/library/ms648392%28v=vs.85%29.aspx" rel="nofollow noreferrer">might expect</a>.</p>
  
  <p>Thanks for any suggestions</p>