Top Fields Constructors Methods
jogamp.common.os

public final Class WindowsDynamicLinkerImpl

extends DynamicLinkerImpl
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final int
private static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected final void
closeLibraryImpl(final long libraryHandle)

Implements abstract jogamp.common.os.DynamicLinkerImpl.closeLibraryImpl.

private static native int
FreeLibrary(long hLibModule)

Interface to C language function: BOOL FreeLibrary(HANDLE hLibModule);

private static native int
GetLastError()

Interface to C language function: DWORD GetLastError(void);

public final String
getLastError()

Implements com.jogamp.common.os.DynamicLinker.getLastError.

Returns a string containing the last error.
private static native long
GetProcAddressA(long hModule, String lpProcName)

Interface to C language function: PROC GetProcAddressA(HANDLE hModule, LPCSTR lpProcName);

private static native long
LoadLibraryW(String lpLibFileName)

Interface to C language function: HANDLE LoadLibraryW(LPCWSTR lpLibFileName);

protected final long
protected final long
lookupSymbolLocalImpl(final long libraryHandle, final String symbolName)

Implements abstract jogamp.common.os.DynamicLinkerImpl.lookupSymbolLocalImpl.

protected final long
protected final long
Inherited from jogamp.common.os.DynamicLinkerImpl:
claimAllLinkPermissioncloseLibrarylookupSymbollookupSymbolGlobalopenLibraryGlobalopenLibraryLocalreleaseAllLinkPermission

Field Detail

symbolArgAlignmentback to summary
private static final int symbolArgAlignment
symbolMaxArgumentsback to summary
private static final int symbolMaxArguments

Constructor Detail

WindowsDynamicLinkerImplback to summary
public WindowsDynamicLinkerImpl()

Method Detail

closeLibraryImplback to summary
protected final void closeLibraryImpl(final long libraryHandle) throws IllegalArgumentException

Implements abstract jogamp.common.os.DynamicLinkerImpl.closeLibraryImpl.

Annotations
@Override
FreeLibraryback to summary
private static native int FreeLibrary(long hLibModule)

Interface to C language function:
BOOL FreeLibrary(HANDLE hLibModule);

GetLastErrorback to summary
private static native int GetLastError()

Interface to C language function:
DWORD GetLastError(void);

getLastErrorback to summary
public final String getLastError()

Implements com.jogamp.common.os.DynamicLinker.getLastError.

Doc from com.jogamp.common.os.DynamicLinker.getLastError.

Returns a string containing the last error. Maybe called for debuging purposed if any method fails.

Returns:String

error string, maybe null. A null or non-null value has no semantics.

Annotations
@Override
GetProcAddressAback to summary
private static native long GetProcAddressA(long hModule, String lpProcName)

Interface to C language function:
PROC GetProcAddressA(HANDLE hModule, LPCSTR lpProcName);

LoadLibraryWback to summary
private static native long LoadLibraryW(String lpLibFileName)

Interface to C language function:
HANDLE LoadLibraryW(LPCWSTR lpLibFileName);

lookupSymbolGlobalImplback to summary
protected final long lookupSymbolGlobalImpl(final String symbolName) throws SecurityException

Implements abstract jogamp.common.os.DynamicLinkerImpl.lookupSymbolGlobalImpl.

Annotations
@Override
lookupSymbolLocalImplback to summary
protected final long lookupSymbolLocalImpl(final long libraryHandle, final String symbolName) throws IllegalArgumentException

Implements abstract jogamp.common.os.DynamicLinkerImpl.lookupSymbolLocalImpl.

Annotations
@Override
openLibraryGlobalImplback to summary
protected final long openLibraryGlobalImpl(final String libraryName) throws SecurityException

Implements abstract jogamp.common.os.DynamicLinkerImpl.openLibraryGlobalImpl.

Annotations
@Override
openLibraryLocalImplback to summary
protected final long openLibraryLocalImpl(final String libraryName) throws SecurityException

Implements abstract jogamp.common.os.DynamicLinkerImpl.openLibraryLocalImpl.

Annotations
@Override