Examining Microsoft's J/Direct
By Andrew Wilson
Dr. Dobb's Journal January 1998
/** @dll.import("KERNEL32", entrypoint="GlobalLock" ) */ protected static native int globalLock ( int addr ); // Converts the API to follow Java naming conventions /** @dll.import("KERNEL32", entrypoint="#353" ) */ protected static native int globalLock ( int addr ); // Converts the ordinal to support valid java naming conventions
Example 2: Two ways of specifying an entry point for a particular function.
Copyright © 1998, Dr. Dobb's Journal