MCPcopy Create free account
hub / github.com/D4stiny/JLoadLibrary / Kernel32

Interface Kernel32

src/com/billdemirkapi/jll/Kernel32.java:9–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import com.sun.jna.Pointer;
8
9public interface Kernel32 extends StdCallLibrary {
10
11 public HANDLE OpenProcess(DWORD_PTR dwDesiredAccess, BOOL bInheritHandle, DWORD_PTR dwProcessId);
12 public DWORD_PTR GetProcAddress(HANDLE hModule, String lpProcName);
13 public LPVOID VirtualAllocEx(HANDLE hProcess, LPVOID lpAddress, int dwSize, DWORD_PTR flAllocationType, DWORD_PTR flProtect);
14 public BOOL WriteProcessMemory(HANDLE hProcess, LPVOID lpBaseAddress, Pointer lpBuffer, int nSize, Pointer lpNumberOfBytesWritten);
15 public DWORD_PTR CreateRemoteThread(HANDLE hProcess, int lpThreadAttributes, int dwStackSize, DWORD_PTR loadLibraryAddress, LPVOID lpParameter, int dwCreationFlags, int lpThreadId);
16 public BOOL CloseHandle(HANDLE hObject);
17 //public HANDLE GetModuleHandleW(WString lpModuleName);
18 public int GetLastError();
19 public HANDLE GetModuleHandle(String string);
20
21}

Callers 8

injectMethod · 0.80
injectMethod · 0.80
injectMethod · 0.80
injectMethod · 0.80
injectMethod · 0.80
injectMethod · 0.80
injectMethod · 0.80
injectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected