<div dir="ltr"><pre>v2: -removed a few unnecessary definitions<br></pre><pre>    -style change, both as per Alex` review<br></pre><pre><br>Hi, this fixes a crash in <a href="https://bugs.winehq.org/show_bug.cgi?id=42997">https://bugs.winehq.org/show_bug.cgi?id=42997</a>

The function is documented here:
<a href="https://msdn.microsoft.com/en-us/library/bb432428%28v=vs.85">https://msdn.microsoft.com/en-us/library/bb432428(v=vs.85</a>).aspx</pre></div>