summaryrefslogtreecommitdiffstats
path: root/make/dynlink-windows-CustomJavaCode.java
blob: 4101f4c91d9f18f7568f1dbeba841a31099206e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
public long openLibrary(String libraryName) {
  return LoadLibraryW(libraryName);
}

public long lookupSymbol(long libraryHandle, String symbolName) {
  return GetProcAddressA(libraryHandle, symbolName);
}

public void closeLibrary(long libraryHandle) {
  FreeLibrary(libraryHandle);
}