It is not legal at all. Using Microsoft Platform SDK header code is not under the GNU General Public License version 2.0 or its listed compatible licenses, so you have to do it manually WITHOUT looking at the PSDK. I recommend removing the PSDK from your system as a way to remove temptation.
<br><br><div class="gmail_quote">On Nov 6, 2007 1:21 PM, Pau Garcia i Quiles &lt;<a href="mailto:pgquiles@elpauer.org">pgquiles@elpauer.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>How legal (if at all) would be to develop a header file by looking<br>reading the corresponding header file from the Microsoft Platform SDK<br>and adapting it to gcc (removing MSVC stuff, etc)?<br><br>I&#39;m interested in supporting annotations[*] and before I start
<br>deducting everything from MSDN documentation, I&#39;d like to know if<br>there is a fast track.<br><br>[*] More information:<br><a href="http://msdn2.microsoft.com/en-us/library/aa383701.aspx" target="_blank">http://msdn2.microsoft.com/en-us/library/aa383701.aspx
</a><br><a href="http://msdn2.microsoft.com/en-us/library/ms235402%28VS.80%29.aspx" target="_blank">http://msdn2.microsoft.com/en-us/library/ms235402(VS.80).aspx</a><br><br>Thank you.<br><font color="#888888"><br>--<br>Pau Garcia i Quiles
<br><a href="http://www.elpauer.org" target="_blank">http://www.elpauer.org</a><br>(Due to my workload, I may need 10 days to answer)<br><br><br><br></font></blockquote></div><br>