<div dir="ltr">On Wed, Aug 13, 2008 at 9:32 PM,  <span dir="ltr"><<a href="mailto:hroe@home.nl">hroe@home.nl</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
the win32 function<br>
<br>
void *erts_sys_ddll_call_init(void *function) {<br>
    void *(*initfn)(TWinDynDriverCallbacks *) = function;<br>
    return (*initfn)(&wddc);<br>
}<br>
<br>
seems to be incorrect, it should have been:<br>
</blockquote><div><br>On Windows, the DRIVER_INIT macro expands to a wrapper function which takes aTWinDynDriverCallbacks * argument<br>(see erl_win_dyn_driver.h). Therefore the current code is correct.<br><br>/Bjorn<br>
</div></div><br>-- <br>Björn Gustavsson, Erlang/OTP, Ericsson AB<br>
</div>