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

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

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