<html>
  <head>

    
  </head>
  <body text="#000000" bgcolor="#CCCCCC">
    Greetings all.  I am attempting to play with the FFI features of
    ccl, and I've come up with this code snippet that I'd like some
    feedback on.<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://paste.lisp.org/display/144054">http://paste.lisp.org/display/144054</a><br>
    <br>
    according to the win32 api, the function that I call will return 0
    on error and nonzero on success.  In this case, this function is
    used to request various bits of data about a given windows volume,
    and so all of the arguments are optional.  arguments are set to
    defaults with null pointers, and the ones that the user would like
    filled are passed in pointers that I imagine are already allocated
    for the given type of data.<br>
    <br>
    In my annotation i changed the with-mactprs macro to the
    %stack-block macro, I guess I didn't really realize that I'm
    allocating foreign memory, or memory that foreign code will write to
    that I setup is considered foreign memory, and then I guess the
    %stack-block macro is the right thing here.  Any feedback would be
    welcome!<br>
    <pre class="moz-signature" cols="72">-- 
Joshua Kordani
LSA Autonomy</pre>
  </body>
</html>