public static long deregisterNatives(long dllHandle, Class<?> clazz, String nativeDescriptorName, Object[] extraInfo) {
        if (!initialized) {
            if (loadFailure != null) {
                Error e = new UnsatisfiedLinkError();
                e.initCause(loadFailure);
                throw e;
            } else {
                return 0;
            }
        }

        return ntv_deregisterNatives(dllHandle, clazz, nativeDescriptorName, extraInfo);
    }
public static long deregisterNatives ( long dllHandle , Class < ? > clazz , String nativeDescriptorName , Object [ ] extraInfo ) { if ( ! initialized ) { if ( loadFailure != null ) { Error e = new UnsatisfiedLinkError ( ) ; e . initCause ( loadFailure ) ; throw e ; } else { return 0 ; } } return ntv_deregisterNatives ( dllHandle , clazz , nativeDescriptorName , extraInfo ) ; }
Drive the deregistration hooks the native methods from the core DLL for the specified class.

@param clazz the class cleanup should occur for
@param nativeDescriptorName the name of the structure used for registration
@param dllHandle the DLL handle that was used during registration
@param extraInfo extra information provided to the callback by the caller

@return the return code