Skip to content

Commit

Permalink
update javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
twall committed Jan 26, 2013
1 parent 9cc0ce3 commit 1f01a50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/com/sun/jna/overview.html
Expand Up @@ -299,6 +299,12 @@ <h3>Callbacks (Function Pointers)</h3>
{@link com.sun.jna.Callback}. The arguments and return value follow the same
rules as for a direct function invocation.
<p>
When accessing Windows APIs, sometimes the documentation indicates that a
function pointer parameter must refer to a function that resides in a
DLL. In these instances, add the {@link com.sun.jna.win32.DLLCallback}
interface to your callback definition. The function pointer as seen by
Windows will be located in the <code>jnidispatch.dll</code> module.
<p>
If the callback returns a <code>String</code> or <code>String[]</code>, the
returned memory will be valid until the returned object is GC'd.
<p>
Expand Down

0 comments on commit 1f01a50

Please sign in to comment.