The second option is definitely more "Delphi style" (if you look at the Delphi versions of the Windows API headers, you will see that most pointer parameters have been converted to var parameters).
In addition to that, the second option does not need a cast and is much more readable IMHO.