JNA packages refactoring

This commit is contained in:
Jindra Petřík
2025-05-24 04:40:41 +02:00
parent 470f1411d9
commit a412e51567
41 changed files with 5640 additions and 95 deletions

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
package com.sun.jna.platform.win32;
package com.jpexs.decompiler.flash.jna.platform.win32;
/**
* @author JPEXS
@@ -35,10 +35,10 @@ import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES;
import com.sun.jna.platform.win32.WinNT.HANDLE;
import com.sun.jna.platform.win32.WinNT.HANDLEByReference;
import com.sun.jna.platform.win32.WinReg.HKEY;
import com.sun.jna.platform.win32.WinReg.HKEYByReference;
import com.jpexs.decompiler.flash.jna.platform.win32.WinNT.HANDLE;
import com.jpexs.decompiler.flash.jna.platform.win32.WinNT.HANDLEByReference;
import com.jpexs.decompiler.flash.jna.platform.win32.WinReg.HKEY;
import com.jpexs.decompiler.flash.jna.platform.win32.WinReg.HKEYByReference;
import com.sun.jna.ptr.IntByReference;
import com.sun.jna.win32.StdCallLibrary;
import com.sun.jna.win32.W32APIOptions;

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
package com.sun.jna.platform.win32;
package com.jpexs.decompiler.flash.jna.platform.win32;
/**
* @author JPEXS
@@ -23,8 +23,8 @@ import com.sun.jna.Memory;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.platform.win32.WinNT.EVENTLOGRECORD;
import com.sun.jna.platform.win32.WinReg.HKEY;
import com.sun.jna.platform.win32.WinReg.HKEYByReference;
import com.jpexs.decompiler.flash.jna.platform.win32.WinReg.HKEY;
import com.jpexs.decompiler.flash.jna.platform.win32.WinReg.HKEYByReference;
import com.sun.jna.ptr.IntByReference;
import java.util.ArrayList;
import java.util.Map;

View File

@@ -14,8 +14,9 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
package com.sun.jna.platform.win32;
package com.jpexs.decompiler.flash.jna.platform.win32;
import com.sun.jna.platform.win32.WinError;
import com.sun.jna.platform.win32.WinNT.HRESULT;
// TODO: Auto-generated Javadoc

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
package com.sun.jna.platform.win32;
package com.jpexs.decompiler.flash.jna.platform.win32;
/**
* @author JPEXS

View File

@@ -14,14 +14,16 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
package com.sun.jna.platform.win32;
package com.jpexs.decompiler.flash.jna.platform.win32;
import com.sun.jna.Native;
import com.sun.jna.Platform;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import com.sun.jna.Union;
import com.sun.jna.platform.win32.WinNT.HANDLE;
import com.sun.jna.platform.win32.BaseTSD;
import com.sun.jna.platform.win32.WinDef;
import com.jpexs.decompiler.flash.jna.platform.win32.WinNT.HANDLE;
import com.sun.jna.ptr.ByteByReference;
import com.sun.jna.win32.StdCallLibrary;
import java.util.Arrays;

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
package com.sun.jna.platform.win32;
package com.jpexs.decompiler.flash.jna.platform.win32;
import com.sun.jna.FromNativeContext;
import com.sun.jna.Memory;
@@ -24,6 +24,9 @@ import com.sun.jna.Pointer;
import com.sun.jna.PointerType;
import com.sun.jna.Structure;
import com.sun.jna.Union;
import com.sun.jna.platform.win32.BaseTSD;
import com.sun.jna.platform.win32.WinDef;
import com.sun.jna.platform.win32.WinError;
import com.sun.jna.ptr.ByReference;
import java.util.Arrays;
import java.util.List;

View File

@@ -14,11 +14,11 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
package com.sun.jna.platform.win32;
package com.jpexs.decompiler.flash.jna.platform.win32;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.platform.win32.WinNT.HANDLE;
import com.jpexs.decompiler.flash.jna.platform.win32.WinNT.HANDLE;
import com.sun.jna.ptr.ByReference;
import com.sun.jna.win32.StdCallLibrary;

View File

@@ -1,4 +1,4 @@
/**
* Windows API functions and structures accessible via JNA.
*/
package com.sun.jna.platform.win32;
package com.jpexs.decompiler.flash.jna.platform.win32;

View File

@@ -19,8 +19,8 @@ package com.jpexs.video;
import com.jpexs.helpers.Helper;
import com.sun.jna.NativeLibrary;
import com.sun.jna.Platform;
import com.sun.jna.platform.win32.Advapi32Util;
import com.sun.jna.platform.win32.WinReg;
import com.jpexs.decompiler.flash.jna.platform.win32.Advapi32Util;
import com.jpexs.decompiler.flash.jna.platform.win32.WinReg;
import java.awt.image.BufferedImage;
import java.nio.ByteBuffer;
import java.util.ArrayList;