FileDocCategorySizeDatePackage
Kernel32.javaAPI DocExample65639Mon Apr 27 01:00:00 BST 1998com.ms.win32

Kernel32

public class Kernel32 extends Object

Fields Summary
Constructors Summary
Methods Summary
public static native shortAddAtom(java.lang.String lpString)

dll.import("KERNEL32",
auto)

public static native booleanAllocConsole()

dll.import("KERNEL32",auto)

public static native booleanAreFileApisANSI()

dll.import("KERNEL32",auto)

public static native booleanBackupRead(int hFile, byte[] lpBuffer, int nNumberOfBytesToRead, int[] lpNumberOfBytesRead, boolean bAbort, boolean bProcessSecurity, int[] lpContext)

dll.import("KERNEL32",auto)

public static native booleanBackupRead(int hFile, int lpBuffer, int nNumberOfBytesToRead, int[] lpNumberOfBytesRead, boolean bAbort, boolean bProcessSecurity, int[] lpContext)

dll.import("KERNEL32",auto)

public static native booleanBackupSeek(int hFile, int dwLowBytesToSeek, int dwHighBytesToSeek, int[] lpdwLowByteSeeked, int[] lpdwHighByteSeeked, int[] lpContext)

dll.import("KERNEL32",auto)

public static native booleanBackupWrite(int hFile, byte[] lpBuffer, int nNumberOfBytesToWrite, int[] lpNumberOfBytesWritten, boolean bAbort, boolean bProcessSecurity, int[] lpContext)

dll.import("KERNEL32",auto)

public static native booleanBackupWrite(int hFile, int lpBuffer, int nNumberOfBytesToWrite, int[] lpNumberOfBytesWritten, boolean bAbort, boolean bProcessSecurity, int[] lpContext)

dll.import("KERNEL32",auto)

public static native booleanBeep(int dwFreq, int dwDuration)

dll.import("KERNEL32",auto)

public static native intBeginUpdateResource(java.lang.String pFileName, boolean bDeleteExistingResources)

dll.import("KERNEL32",
auto)

public static native booleanBuildCommDCB(java.lang.String lpDef, DCB lpDCB)

dll.import("KERNEL32",
auto)

public static native booleanBuildCommDCBAndTimeouts(java.lang.String lpDef, DCB lpDCB, COMMTIMEOUTS lpCommTimeouts)

dll.import("KERNEL32",
auto)

public static native booleanCallNamedPipe(java.lang.String lpNamedPipeName, int lpInBuffer, int nInBufferSize, int lpOutBuffer, int nOutBufferSize, int[] lpBytesRead, int nTimeOut)

dll.import("KERNEL32",
auto)

public static native booleanCancelIo(int hFile)

dll.import("KERNEL32",auto)

public static native booleanCancelWaitableTimer(int hTimer)

dll.import("KERNEL32",auto)

public static native booleanClearCommBreak(int hFile)

dll.import("KERNEL32",auto)

public static native booleanClearCommError(int hFile, int[] lpErrors, COMSTAT lpStat)

dll.import("KERNEL32",auto)

public static native booleanCloseHandle(int hObject)

dll.import("KERNEL32",auto)

public static native intCompareFileTime(FILETIME lpFileTime1, FILETIME lpFileTime2)

dll.import("KERNEL32",auto)

public static native intCompareString(int Locale, int dwCmpFlags, java.lang.String lpString1, int cchCount1, java.lang.String lpString2, int cchCount2)

dll.import("KERNEL32",
auto)

public static native booleanConnectNamedPipe(int hNamedPipe, OVERLAPPED lpOverlapped)

dll.import("KERNEL32",auto)

public static native booleanContinueDebugEvent(int dwProcessId, int dwThreadId, int dwContinueStatus)

dll.import("KERNEL32",auto)

public static native intConvertDefaultLocale(int Locale)

dll.import("KERNEL32",auto)

public static native intConvertThreadToFiber(int lpParameter)

dll.import("KERNEL32",auto)

public static native booleanCopyFile(java.lang.String lpExistingFileName, java.lang.String lpNewFileName, boolean bFailIfExists)

dll.import("KERNEL32",
auto)

public static native booleanCopyFileEx(java.lang.String lpExistingFileName, java.lang.String lpNewFileName, com.ms.dll.Callback lpProgressRoutine, int lpData, int[] pbCancel, int dwCopyFlags)

dll.import("KERNEL32",
auto)

public static native intCreateConsoleScreenBuffer(int dwDesiredAccess, int dwShareMode, SECURITY_ATTRIBUTES lpSecurityAttributes, int dwFlags, int lpScreenBufferData)

dll.import("KERNEL32",auto)

public static native booleanCreateDirectory(java.lang.String lpPathName, SECURITY_ATTRIBUTES lpSecurityAttributes)

dll.import("KERNEL32",
auto)

public static native booleanCreateDirectoryEx(java.lang.String lpTemplateDirectory, java.lang.String lpNewDirectory, SECURITY_ATTRIBUTES lpSecurityAttributes)

dll.import("KERNEL32",
auto)

public static native intCreateEvent(SECURITY_ATTRIBUTES lpEventAttributes, boolean bManualReset, boolean bInitialState, java.lang.String lpName)

dll.import("KERNEL32",
auto)

public static native intCreateFiber(int dwStackSize, int lpStartAddress, int lpParameter)

dll.import("KERNEL32",auto)

public static native intCreateFile(java.lang.String lpFileName, int dwDesiredAccess, int dwShareMode, SECURITY_ATTRIBUTES lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, int hTemplateFile)

dll.import("KERNEL32",
auto)

public static native intCreateFileMapping(int hFile, SECURITY_ATTRIBUTES lpFileMappingAttributes, int flProtect, int dwMaximumSizeHigh, int dwMaximumSizeLow, java.lang.String lpName)

dll.import("KERNEL32",
auto)

public static native intCreateIoCompletionPort(int FileHandle, int ExistingCompletionPort, int CompletionKey, int NumberOfConcurrentThreads)

dll.import("KERNEL32",auto)

public static native intCreateMailslot(java.lang.String lpName, int nMaxMessageSize, int lReadTimeout, SECURITY_ATTRIBUTES lpSecurityAttributes)

dll.import("KERNEL32",
auto)

public static native intCreateMutex(SECURITY_ATTRIBUTES lpMutexAttributes, boolean bInitialOwner, java.lang.String lpName)

dll.import("KERNEL32",
auto)

public static native intCreateNamedPipe(java.lang.String lpName, int dwOpenMode, int dwPipeMode, int nMaxInstances, int nOutBufferSize, int nInBufferSize, int nDefaultTimeOut, SECURITY_ATTRIBUTES lpSecurityAttributes)

dll.import("KERNEL32",
auto)

public static native booleanCreatePipe(int[] hReadPipe, int[] hWritePipe, SECURITY_ATTRIBUTES lpPipeAttributes, int nSize)

dll.import("KERNEL32",auto)

public static native booleanCreateProcess(java.lang.String lpApplicationName, java.lang.String lpCommandLine, SECURITY_ATTRIBUTES lpProcessAttributes, SECURITY_ATTRIBUTES lpThreadAttributes, boolean bInheritHandles, int dwCreationFlags, int lpEnvironment, java.lang.String lpCurrentDirectory, STARTUPINFO lpStartupInfo, PROCESS_INFORMATION lpProcessInformation)

dll.import("KERNEL32",
auto)

public static native intCreateRemoteThread(int hProcess, SECURITY_ATTRIBUTES lpThreadAttributes, int dwStackSize, com.ms.dll.Callback lpStartAddress, int lpParameter, int dwCreationFlags, int[] lpThreadId)

dll.import("KERNEL32",auto)

public static native intCreateSemaphore(SECURITY_ATTRIBUTES lpSemaphoreAttributes, int lInitialCount, int lMaximumCount, java.lang.String lpName)

dll.import("KERNEL32",
auto)

public static native intCreateTapePartition(int hDevice, int dwPartitionMethod, int dwCount, int dwSize)

dll.import("KERNEL32",auto)

public static native intCreateThread(SECURITY_ATTRIBUTES lpThreadAttributes, int dwStackSize, com.ms.dll.Callback lpStartAddress, int lpParameter, int dwCreationFlags, int[] lpThreadId)

dll.import("KERNEL32",auto)

public static native intCreateWaitableTimer(SECURITY_ATTRIBUTES lpTimerAttributes, boolean bManualReset, java.lang.String lpTimerName)

dll.import("KERNEL32",
auto)

public static native booleanDebugActiveProcess(int dwProcessId)

dll.import("KERNEL32",auto)

public static native voidDebugBreak()

dll.import("KERNEL32",auto)

public static native booleanDefineDosDevice(int dwFlags, java.lang.String lpDeviceName, java.lang.String lpTargetPath)

dll.import("KERNEL32",
auto)

public static native shortDeleteAtom(short nAtom)

dll.import("KERNEL32",auto)

public static native voidDeleteFiber(int lpFiber)

dll.import("KERNEL32",auto)

public static native booleanDeleteFile(java.lang.String lpFileName)

dll.import("KERNEL32",
auto)

public static native booleanDeviceIoControl(int hDevice, int dwIoControlCode, int lpInBuffer, int nInBufferSize, int lpOutBuffer, int nOutBufferSize, int[] lpBytesReturned, OVERLAPPED lpOverlapped)

dll.import("KERNEL32",auto)

public static native booleanDisableThreadLibraryCalls(int hLibModule)

dll.import("KERNEL32",auto)

public static native booleanDisconnectNamedPipe(int hNamedPipe)

dll.import("KERNEL32",auto)

public static native booleanDosDateTimeToFileTime(short wFatDate, short wFatTime, FILETIME lpFileTime)

dll.import("KERNEL32",auto)

public static native booleanDuplicateHandle(int hSourceProcessHandle, int hSourceHandle, int hTargetProcessHandle, int[] lpTargetHandle, int dwDesiredAccess, boolean bInheritHandle, int dwOptions)

dll.import("KERNEL32",auto)

public static native booleanEndUpdateResource(int hUpdate, boolean fDiscard)

dll.import("KERNEL32",auto)

public static native booleanEnumCalendarInfo(com.ms.dll.Callback lpCalInfoEnumProc, int Locale, int Calendar, int CalType)

dll.import("KERNEL32",auto)

public static native booleanEnumDateFormats(com.ms.dll.Callback lpDateFmtEnumProc, int Locale, int dwFlags)

dll.import("KERNEL32",auto)

public static native booleanEnumResourceLanguages(int hModule, java.lang.String lpType, java.lang.String lpName, com.ms.dll.Callback lpEnumFunc, int lParam)

dll.import("KERNEL32",
auto)

public static native booleanEnumResourceNames(int hModule, java.lang.String lpType, com.ms.dll.Callback lpEnumFunc, int lParam)

dll.import("KERNEL32",
auto)

public static native booleanEnumResourceTypes(int hModule, com.ms.dll.Callback lpEnumFunc, int lParam)

dll.import("KERNEL32",auto)

public static native booleanEnumSystemCodePages(com.ms.dll.Callback lpCodePageEnumProc, int dwFlags)

dll.import("KERNEL32",auto)

public static native booleanEnumSystemLocales(com.ms.dll.Callback lpLocaleEnumProc, int dwFlags)

dll.import("KERNEL32",auto)

public static native booleanEnumTimeFormats(com.ms.dll.Callback lpTimeFmtEnumProc, int Locale, int dwFlags)

dll.import("KERNEL32",auto)

public static native intEraseTape(int hDevice, int dwEraseType, boolean bImmediate)

dll.import("KERNEL32",auto)

public static native booleanEscapeCommFunction(int hFile, int dwFunc)

dll.import("KERNEL32",auto)

public static native voidExitProcess(int uExitCode)

dll.import("KERNEL32",auto)

public static native voidExitThread(int dwExitCode)

dll.import("KERNEL32",auto)

public static native intExpandEnvironmentStrings(java.lang.String lpSrc, java.lang.StringBuffer lpDst, int nSize)

dll.import("KERNEL32",
auto)

public static native voidFatalAppExit(int uAction, java.lang.String lpMessageText)

dll.import("KERNEL32",
auto)

public static native voidFatalExit(int ExitCode)

dll.import("KERNEL32",auto)

public static native booleanFileTimeToDosDateTime(FILETIME lpFileTime, short[] lpFatDate, short[] lpFatTime)

dll.import("KERNEL32",auto)

public static native booleanFileTimeToLocalFileTime(FILETIME lpFileTime, FILETIME lpLocalFileTime)

dll.import("KERNEL32",auto)

public static native booleanFileTimeToSystemTime(FILETIME lpFileTime, SYSTEMTIME lpSystemTime)

dll.import("KERNEL32",auto)

public static native shortFindAtom(java.lang.String lpString)

dll.import("KERNEL32",
auto)

public static native booleanFindClose(int hFindFile)

dll.import("KERNEL32",auto)

public static native booleanFindCloseChangeNotification(int hChangeHandle)

dll.import("KERNEL32",auto)

public static native intFindFirstChangeNotification(java.lang.String lpPathName, boolean bWatchSubtree, int dwNotifyFilter)

dll.import("KERNEL32",
auto)

public static native intFindFirstFile(java.lang.String lpFileName, WIN32_FIND_DATA lpFindFileData)

dll.import("KERNEL32",
auto, SetLastError)

public static native intFindFirstFileEx(java.lang.String lpFileName, int fInfoLevelId, int lpFindFileData, int fSearchOp, int lpSearchFilter, int dwAdditionalFlags)

dll.import("KERNEL32",
auto, SetLastError)

public static native booleanFindNextChangeNotification(int hChangeHandle)

dll.import("KERNEL32",auto)

public static native booleanFindNextFile(int hFindFile, WIN32_FIND_DATA lpFindFileData)

dll.import("KERNEL32",auto,SetLastError)

public static native intFindResource(int hModule, java.lang.String lpName, java.lang.String lpType)

dll.import("KERNEL32",
auto)

public static native intFindResourceEx(int hModule, java.lang.String lpType, java.lang.String lpName, short wLanguage)

dll.import("KERNEL32",
auto)

public static native booleanFlushConsoleInputBuffer(int hConsoleInput)

dll.import("KERNEL32",auto)

public static native booleanFlushFileBuffers(int hFile)

dll.import("KERNEL32",auto)

public static native booleanFlushInstructionCache(int hProcess, int lpBaseAddress, int dwSize)

dll.import("KERNEL32",auto)

public static native booleanFlushViewOfFile(int lpBaseAddress, int dwNumberOfBytesToFlush)

dll.import("KERNEL32",auto)

public static native intFoldString(int dwMapFlags, java.lang.String lpSrcStr, int cchSrc, java.lang.StringBuffer lpDestStr, int cchDest)

dll.import("KERNEL32",
auto)

public static native booleanFreeConsole()

dll.import("KERNEL32",auto)

public static native booleanFreeEnvironmentStrings(int anonymous0)

dll.import("KERNEL32",
auto)

public static native booleanFreeLibrary(int hLibModule)

dll.import("KERNEL32",auto)

public static native voidFreeLibraryAndExitThread(int hLibModule, int dwExitCode)

dll.import("KERNEL32",auto)

public static native booleanFreeResource(int hResData)

dll.import("KERNEL32",auto)

public static native booleanGenerateConsoleCtrlEvent(int dwCtrlEvent, int dwProcessGroupId)

dll.import("KERNEL32",auto)

public static native intGetACP()

dll.import("KERNEL32",auto)

public static native intGetAtomName(short nAtom, java.lang.StringBuffer lpBuffer, int nSize)

dll.import("KERNEL32",
auto)

public static native booleanGetBinaryType(java.lang.String lpApplicationName, int[] lpBinaryType)

dll.import("KERNEL32",
auto)

public static native booleanGetCPInfo(int CodePage, CPINFO lpCPInfo)

dll.import("KERNEL32",auto)

public static native booleanGetCommMask(int hFile, int[] lpEvtMask)

dll.import("KERNEL32",auto)

public static native booleanGetCommModemStatus(int hFile, int[] lpModemStat)

dll.import("KERNEL32",auto)

public static native booleanGetCommState(int hFile, DCB lpDCB)

dll.import("KERNEL32",auto)

public static native booleanGetCommTimeouts(int hFile, COMMTIMEOUTS lpCommTimeouts)

dll.import("KERNEL32",auto)

public static native intGetCommandLine()

dll.import("KERNEL32",auto)

public static native intGetCompressedFileSize(java.lang.String lpFileName, int[] lpFileSizeHigh)

dll.import("KERNEL32",
auto)

public static native booleanGetComputerName(java.lang.StringBuffer lpBuffer, int[] nSize)

dll.import("KERNEL32",
auto)

public static native intGetConsoleCP()

dll.import("KERNEL32",auto)

public static native booleanGetConsoleCursorInfo(int hConsoleOutput, CONSOLE_CURSOR_INFO lpConsoleCursorInfo)

dll.import("KERNEL32",auto)

public static native booleanGetConsoleMode(int hConsoleHandle, int[] lpMode)

dll.import("KERNEL32",auto)

public static native intGetConsoleOutputCP()

dll.import("KERNEL32",auto)

public static native booleanGetConsoleScreenBufferInfo(int hConsoleOutput, CONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo)

dll.import("KERNEL32",auto)

public static native intGetConsoleTitle(java.lang.StringBuffer lpConsoleTitle, int nSize)

dll.import("KERNEL32",
auto)

public static native intGetCurrencyFormat(int Locale, int dwFlags, java.lang.String lpValue, CURRENCYFMT lpFormat, java.lang.StringBuffer lpCurrencyStr, int cchCurrency)

dll.import("KERNEL32",
auto)

public static native intGetCurrentDirectory(int nBufferLength, java.lang.StringBuffer lpBuffer)

dll.import("KERNEL32",
auto)

public static native intGetCurrentProcess()

dll.import("KERNEL32",auto)

public static native intGetCurrentProcessId()

dll.import("KERNEL32",auto)

public static native intGetCurrentThread()

dll.import("KERNEL32",auto)

public static native intGetCurrentThreadId()

dll.import("KERNEL32",auto)

public static native intGetDateFormat(int Locale, int dwFlags, SYSTEMTIME lpDate, java.lang.String lpFormat, java.lang.StringBuffer lpDateStr, int cchDate)

dll.import("KERNEL32",
auto)

public static native booleanGetDiskFreeSpace(java.lang.String lpRootPathName, int[] lpSectorsPerCluster, int[] lpBytesPerSector, int[] lpNumberOfFreeClusters, int[] lpTotalNumberOfClusters)

dll.import("KERNEL32",
auto)

public static native booleanGetDiskFreeSpaceEx(java.lang.String lpDirectoryName, long[] lpFreeBytesAvailableToCaller, long[] lpTotalNumberOfBytes, long[] lpTotalNumberOfFreeBytes)

dll.import("KERNEL32",
auto)

public static native intGetDriveType(java.lang.String lpRootPathName)

dll.import("KERNEL32",
auto)

public static native intGetEnvironmentStrings()

dll.import("KERNEL32",auto)

public static native intGetEnvironmentVariable(java.lang.String lpName, java.lang.StringBuffer lpBuffer, int nSize)

dll.import("KERNEL32",
auto)

public static native booleanGetExitCodeProcess(int hProcess, int[] lpExitCode)

dll.import("KERNEL32",auto)

public static native booleanGetExitCodeThread(int hThread, int[] lpExitCode)

dll.import("KERNEL32",auto)

public static native intGetFileAttributes(java.lang.String lpFileName)

dll.import("KERNEL32",
auto)

public static native booleanGetFileAttributesEx(java.lang.String lpFileName, int fInfoLevelId, int lpFileInformation)

dll.import("KERNEL32",
auto)

public static native booleanGetFileInformationByHandle(int hFile, BY_HANDLE_FILE_INFORMATION lpFileInformation)

dll.import("KERNEL32",auto)

public static native intGetFileSize(int hFile, int[] lpFileSizeHigh)

dll.import("KERNEL32",auto)

public static native booleanGetFileTime(int hFile, FILETIME lpCreationTime, FILETIME lpLastAccessTime, FILETIME lpLastWriteTime)

dll.import("KERNEL32",auto)

public static native intGetFileType(int hFile)

dll.import("KERNEL32",auto)

public static native intGetFullPathName(java.lang.String lpFileName, int nBufferLength, java.lang.StringBuffer lpBuffer, int lpFilePart)

dll.import("KERNEL32",
auto)

public static native booleanGetHandleInformation(int hObject, int[] lpdwFlags)

dll.import("KERNEL32",auto)

public static native intGetLastError()

dll.import("KERNEL32",auto)

public static native voidGetLocalTime(SYSTEMTIME lpSystemTime)

dll.import("KERNEL32",auto)

public static native intGetLocaleInfo(int Locale, int LCType, java.lang.StringBuffer lpLCData, int cchData)

dll.import("KERNEL32",
auto)

public static native intGetLogicalDriveStrings(int nBufferLength, int lpBuffer)

dll.import("KERNEL32",
auto)

public static native intGetLogicalDrives()

dll.import("KERNEL32",auto)

public static native booleanGetMailslotInfo(int hMailslot, int[] lpMaxMessageSize, int[] lpNextSize, int[] lpMessageCount, int[] lpReadTimeout)

dll.import("KERNEL32",auto)

public static native intGetModuleFileName(int hModule, java.lang.StringBuffer lpFilename, int nSize)

dll.import("KERNEL32",
auto)

public static native intGetModuleHandle(java.lang.String lpModuleName)

dll.import("KERNEL32",
auto)

public static native booleanGetNamedPipeHandleState(int hNamedPipe, int[] lpState, int[] lpCurInstances, int[] lpMaxCollectionCount, int[] lpCollectDataTimeout, java.lang.StringBuffer lpUserName, int nMaxUserNameSize)

dll.import("KERNEL32",
auto)

public static native booleanGetNamedPipeInfo(int hNamedPipe, int[] lpFlags, int[] lpOutBufferSize, int[] lpInBufferSize, int[] lpMaxInstances)

dll.import("KERNEL32",auto)

public static native intGetNumberFormat(int Locale, int dwFlags, java.lang.String lpValue, NUMBERFMT lpFormat, java.lang.StringBuffer lpNumberStr, int cchNumber)

dll.import("KERNEL32",
auto)

public static native booleanGetNumberOfConsoleInputEvents(int hConsoleInput, int[] lpNumberOfEvents)

dll.import("KERNEL32",auto)

public static native booleanGetNumberOfConsoleMouseButtons(int[] lpNumberOfMouseButtons)

dll.import("KERNEL32",auto)

public static native intGetOEMCP()

dll.import("KERNEL32",auto)

public static native booleanGetOverlappedResult(int hFile, OVERLAPPED lpOverlapped, int[] lpNumberOfBytesTransferred, boolean bWait)

dll.import("KERNEL32",auto)

public static native intGetPriorityClass(int hProcess)

dll.import("KERNEL32",auto)

public static native intGetPrivateProfileInt(java.lang.String lpAppName, java.lang.String lpKeyName, int nDefault, java.lang.String lpFileName)

dll.import("KERNEL32",
auto)

public static native intGetPrivateProfileSection(java.lang.String lpAppName, int lpReturnedString, int nSize, java.lang.String lpFileName)

dll.import("KERNEL32",
auto)

public static native intGetPrivateProfileSectionNames(int lpszReturnBuffer, int nSize, java.lang.String lpFileName)

dll.import("KERNEL32",
auto)

public static native intGetPrivateProfileString(java.lang.String lpAppName, java.lang.String lpKeyName, java.lang.String lpDefault, java.lang.StringBuffer lpReturnedString, int nSize, java.lang.String lpFileName)

dll.import("KERNEL32",
auto)

public static native booleanGetPrivateProfileStruct(java.lang.String lpszSection, java.lang.String lpszKey, int lpStruct, int uSizeStruct, java.lang.String szFile)

dll.import("KERNEL32",
auto)

public static native com.ms.dll.CallbackGetProcAddress(int hModule, java.lang.String lpProcName)

dll.import("KERNEL32",
ansi)

public static native booleanGetProcessAffinityMask(int hProcess, int[] lpProcessAffinityMask, int[] lpSystemAffinityMask)

dll.import("KERNEL32",auto)

public static native intGetProcessHeap()

dll.import("KERNEL32",auto)

public static native intGetProcessHeaps(int NumberOfHeaps, int[] ProcessHeaps)

dll.import("KERNEL32",auto)

public static native booleanGetProcessPriorityBoost(int hProcess, int[] pDisablePriorityBoost)

dll.import("KERNEL32",auto)

public static native booleanGetProcessShutdownParameters(int[] lpdwLevel, int[] lpdwFlags)

dll.import("KERNEL32",auto)

public static native booleanGetProcessTimes(int hProcess, FILETIME lpCreationTime, FILETIME lpExitTime, FILETIME lpKernelTime, FILETIME lpUserTime)

dll.import("KERNEL32",auto)

public static native intGetProcessVersion(int ProcessId)

dll.import("KERNEL32",auto)

public static native booleanGetProcessWorkingSetSize(int hProcess, int[] lpMinimumWorkingSetSize, int[] lpMaximumWorkingSetSize)

dll.import("KERNEL32",auto)

public static native intGetProfileInt(java.lang.String lpAppName, java.lang.String lpKeyName, int nDefault)

dll.import("KERNEL32",
auto)

public static native intGetProfileSection(java.lang.String lpAppName, int lpReturnedString, int nSize)

dll.import("KERNEL32",
auto)

public static native intGetProfileString(java.lang.String lpAppName, java.lang.String lpKeyName, java.lang.String lpDefault, java.lang.StringBuffer lpReturnedString, int nSize)

dll.import("KERNEL32",
auto)

public static native booleanGetQueuedCompletionStatus(int CompletionPort, int[] lpNumberOfBytesTransferred, int[] lpCompletionKey, OVERLAPPED lpOverlapped, int dwMilliseconds)

dll.import("KERNEL32",auto)

public static native intGetShortPathName(java.lang.String lpszLongPath, java.lang.StringBuffer lpszShortPath, int cchBuffer)

dll.import("KERNEL32",
auto)

public static native intGetStartupInfo(STARTUPINFO startupinfo)

dll.import("kernel32",
auto)

public static native intGetStdHandle(int nStdHandle)

dll.import("KERNEL32",auto)

public static native booleanGetStringType(int dwInfoType, java.lang.String lpSrcStr, int cchSrc, short[] lpCharType)

dll.import("KERNEL32",
auto)

public static native booleanGetStringTypeEx(int Locale, int dwInfoType, java.lang.String lpSrcStr, int cchSrc, short[] lpCharType)

dll.import("KERNEL32",
auto)

public static native intGetSystemDefaultLCID()

dll.import("KERNEL32",auto)

public static native shortGetSystemDefaultLangID()

dll.import("KERNEL32",auto)

public static native intGetSystemDirectory(java.lang.StringBuffer lpBuffer, int uSize)

dll.import("KERNEL32",
auto)

public static native voidGetSystemInfo(SYSTEM_INFO lpSystemInfo)

dll.import("KERNEL32",
auto)

public static native booleanGetSystemPowerStatus(SYSTEM_POWER_STATUS lpSystemPowerStatus)

dll.import("KERNEL32",auto)

public static native voidGetSystemTime(SYSTEMTIME lpSystemTime)

dll.import("KERNEL32",auto)

public static native booleanGetSystemTimeAdjustment(int[] lpTimeAdjustment, int[] lpTimeIncrement, int[] lpTimeAdjustmentDisabled)

dll.import("KERNEL32",auto)

public static native voidGetSystemTimeAsFileTime(FILETIME lpSystemTimeAsFileTime)

dll.import("KERNEL32",auto)

public static native intGetTapeParameters(int hDevice, int dwOperation, int[] lpdwSize, int lpTapeInformation)

dll.import("KERNEL32",auto)

public static native intGetTapePosition(int hDevice, int dwPositionType, int[] lpdwPartition, int[] lpdwOffsetLow, int[] lpdwOffsetHigh)

dll.import("KERNEL32",auto)

public static native intGetTapeStatus(int hDevice)

dll.import("KERNEL32",auto)

public static native intGetTempFileName(java.lang.String lpPathName, java.lang.String lpPrefixString, int uUnique, java.lang.StringBuffer lpTempFileName)

dll.import("KERNEL32",
auto)

public static native intGetTempPath(int nBufferLength, java.lang.StringBuffer lpBuffer)

dll.import("KERNEL32",
auto)

public static native intGetThreadLocale()

dll.import("KERNEL32",auto)

public static native intGetThreadPriority(int hThread)

dll.import("KERNEL32",auto)

public static native booleanGetThreadPriorityBoost(int hThread, int[] pDisablePriorityBoost)

dll.import("KERNEL32",auto)

public static native booleanGetThreadTimes(int hThread, FILETIME lpCreationTime, FILETIME lpExitTime, FILETIME lpKernelTime, FILETIME lpUserTime)

dll.import("KERNEL32",auto)

public static native intGetTickCount()

dll.import("KERNEL32",auto)

public static native intGetTimeFormat(int Locale, int dwFlags, SYSTEMTIME lpTime, java.lang.String lpFormat, java.lang.StringBuffer lpTimeStr, int cchTime)

dll.import("KERNEL32",
auto)

public static native intGetTimeZoneInformation(TIME_ZONE_INFORMATION lpTimeZoneInformation)

dll.import("KERNEL32",auto)

public static native intGetUserDefaultLCID()

dll.import("KERNEL32",auto)

public static native shortGetUserDefaultLangID()

dll.import("KERNEL32",auto)

public static native intGetVersion()

dll.import("KERNEL32",auto)

public static native booleanGetVersionEx(OSVERSIONINFO lpVersionInformation)

dll.import("KERNEL32",auto)

public static native booleanGetVolumeInformation(java.lang.String lpRootPathName, java.lang.StringBuffer lpVolumeNameBuffer, int nVolumeNameSize, int[] lpVolumeSerialNumber, int[] lpMaximumComponentLength, int[] lpFileSystemFlags, java.lang.StringBuffer lpFileSystemNameBuffer, int nFileSystemNameSize)

dll.import("KERNEL32",
auto)

public static native intGetWindowsDirectory(java.lang.StringBuffer lpBuffer, int uSize)

dll.import("KERNEL32",
auto)

public static native shortGlobalAddAtom(java.lang.String lpString)

dll.import("KERNEL32",
auto)

public static native intGlobalAlloc(int uFlags, int dwBytes)

dll.import("KERNEL32",auto)

public static native intGlobalCompact(int dwMinFree)

dll.import("KERNEL32",auto)

public static native shortGlobalDeleteAtom(short nAtom)

dll.import("KERNEL32",auto)

public static native shortGlobalFindAtom(java.lang.String lpString)

dll.import("KERNEL32",
auto)

public static native voidGlobalFix(int hMem)

dll.import("KERNEL32",auto)

public static native intGlobalFlags(int hMem)

dll.import("KERNEL32",auto)

public static native intGlobalFree(int hMem)

dll.import("KERNEL32",auto)

public static native intGlobalGetAtomName(short nAtom, java.lang.StringBuffer lpBuffer, int nSize)

dll.import("KERNEL32",
auto)

public static native intGlobalHandle(int pMem)

dll.import("KERNEL32",auto)

public static native intGlobalLock(int hMem)

dll.import("KERNEL32",auto)

public static native voidGlobalMemoryStatus(MEMORYSTATUS lpBuffer)

dll.import("KERNEL32",auto)

public static native intGlobalReAlloc(int hMem, int dwBytes, int uFlags)

dll.import("KERNEL32",auto)

public static native intGlobalSize(int hMem)

dll.import("KERNEL32",auto)

public static native booleanGlobalUnWire(int hMem)

dll.import("KERNEL32",auto)

public static native voidGlobalUnfix(int hMem)

dll.import("KERNEL32",auto)

public static native booleanGlobalUnlock(int hMem)

dll.import("KERNEL32",auto)

public static native intGlobalWire(int hMem)

dll.import("KERNEL32",auto)

public static native intHeapAlloc(int hHeap, int dwFlags, int dwBytes)

dll.import("KERNEL32",auto)

public static native intHeapCompact(int hHeap, int dwFlags)

dll.import("KERNEL32",auto)

public static native intHeapCreate(int flOptions, int dwInitialSize, int dwMaximumSize)

dll.import("KERNEL32",auto)

public static native booleanHeapDestroy(int hHeap)

dll.import("KERNEL32",auto)

public static native booleanHeapFree(int hHeap, int dwFlags, int lpMem)

dll.import("KERNEL32",auto)

public static native booleanHeapLock(int hHeap)

dll.import("KERNEL32",auto)

public static native intHeapReAlloc(int hHeap, int dwFlags, int lpMem, int dwBytes)

dll.import("KERNEL32",auto)

public static native intHeapSize(int hHeap, int dwFlags, int lpMem)

dll.import("KERNEL32",auto)

public static native booleanHeapUnlock(int hHeap)

dll.import("KERNEL32",auto)

public static native booleanHeapValidate(int hHeap, int dwFlags, int lpMem)

dll.import("KERNEL32",auto)

public static native booleanInitAtomTable(int nSize)

dll.import("KERNEL32",auto)

public static native intInterlockedCompareExchange(int[] Destination, int Exchange, int Comperand)

dll.import("KERNEL32",auto)

public static native intInterlockedDecrement(int[] lpAddend)

dll.import("KERNEL32",auto)

public static native intInterlockedExchange(int[] Target, int Value)

dll.import("KERNEL32",auto)

public static native intInterlockedExchangeAdd(int[] Addend, int Value)

dll.import("KERNEL32",auto)

public static native intInterlockedIncrement(int[] lpAddend)

dll.import("KERNEL32",auto)

public static native booleanIsBadCodePtr(int lpfn)

dll.import("KERNEL32",auto)

public static native booleanIsBadHugeReadPtr(int lp, int ucb)

dll.import("KERNEL32",auto)

public static native booleanIsBadHugeWritePtr(int lp, int ucb)

dll.import("KERNEL32",auto)

public static native booleanIsBadReadPtr(int lp, int ucb)

dll.import("KERNEL32",auto)

public static native booleanIsBadStringPtr(int lpsz, int ucchMax)

dll.import("KERNEL32",
auto)

public static native booleanIsBadWritePtr(int lp, int ucb)

dll.import("KERNEL32",auto)

public static native booleanIsDBCSLeadByte(byte TestChar)

dll.import("KERNEL32",auto)

public static native booleanIsDBCSLeadByteEx(int CodePage, byte TestChar)

dll.import("KERNEL32",auto)

public static native booleanIsProcessorFeaturePresent(int ProcessorFeature)

dll.import("KERNEL32",auto)

public static native booleanIsValidCodePage(int CodePage)

dll.import("KERNEL32",auto)

public static native booleanIsValidLocale(int Locale, int dwFlags)

dll.import("KERNEL32",auto)

public static native intLCMapString(int Locale, int dwMapFlags, java.lang.String lpSrcStr, int cchSrc, java.lang.StringBuffer lpDestStr, int cchDest)

dll.import("KERNEL32",
auto)

public static native intLoadLibrary(java.lang.String lpLibFileName)

dll.import("KERNEL32",
auto)

public static native intLoadLibraryEx(java.lang.String lpLibFileName, int hFile, int dwFlags)

dll.import("KERNEL32",
auto)

public static native intLoadModule(java.lang.String lpModuleName, int lpParameterBlock)

dll.import("KERNEL32",
ansi)

public static native intLoadResource(int hModule, int hResInfo)

dll.import("KERNEL32",auto)

public static native intLocalAlloc(int uFlags, int uBytes)

dll.import("KERNEL32",auto)

public static native intLocalCompact(int uMinFree)

dll.import("KERNEL32",auto)

public static native booleanLocalFileTimeToFileTime(FILETIME lpLocalFileTime, FILETIME lpFileTime)

dll.import("KERNEL32",auto)

public static native intLocalFlags(int hMem)

dll.import("KERNEL32",auto)

public static native intLocalFree(int hMem)

dll.import("KERNEL32",auto)

public static native intLocalHandle(int pMem)

dll.import("KERNEL32",auto)

public static native intLocalLock(int hMem)

dll.import("KERNEL32",auto)

public static native intLocalReAlloc(int hMem, int uBytes, int uFlags)

dll.import("KERNEL32",auto)

public static native intLocalShrink(int hMem, int cbNewSize)

dll.import("KERNEL32",auto)

public static native intLocalSize(int hMem)

dll.import("KERNEL32",auto)

public static native booleanLocalUnlock(int hMem)

dll.import("KERNEL32",auto)

public static native booleanLockFile(int hFile, int dwFileOffsetLow, int dwFileOffsetHigh, int nNumberOfBytesToLockLow, int nNumberOfBytesToLockHigh)

dll.import("KERNEL32",auto)

public static native booleanLockFileEx(int hFile, int dwFlags, int dwReserved, int nNumberOfBytesToLockLow, int nNumberOfBytesToLockHigh, OVERLAPPED lpOverlapped)

dll.import("KERNEL32",auto)

public static native intLockResource(int hResData)

dll.import("KERNEL32",auto)

public static native intMapViewOfFile(int hFileMappingObject, int dwDesiredAccess, int dwFileOffsetHigh, int dwFileOffsetLow, int dwNumberOfBytesToMap)

dll.import("KERNEL32",auto)

public static native intMapViewOfFileEx(int hFileMappingObject, int dwDesiredAccess, int dwFileOffsetHigh, int dwFileOffsetLow, int dwNumberOfBytesToMap, int lpBaseAddress)

dll.import("KERNEL32",auto)

public static native booleanMoveFile(java.lang.String lpExistingFileName, java.lang.String lpNewFileName)

dll.import("KERNEL32",
auto)

public static native booleanMoveFileEx(java.lang.String lpExistingFileName, java.lang.String lpNewFileName, int dwFlags)

dll.import("KERNEL32",
auto)

public static native intMulDiv(int nNumber, int nNumerator, int nDenominator)

dll.import("KERNEL32",auto)

public static native intOpenEvent(int dwDesiredAccess, boolean bInheritHandle, java.lang.String lpName)

dll.import("KERNEL32",
auto)

public static native intOpenFile(java.lang.String lpFileName, OFSTRUCT lpReOpenBuff, int uStyle)

dll.import("KERNEL32",
ansi)

public static native intOpenFileMapping(int dwDesiredAccess, boolean bInheritHandle, java.lang.String lpName)

dll.import("KERNEL32",
auto)

public static native intOpenMutex(int dwDesiredAccess, boolean bInheritHandle, java.lang.String lpName)

dll.import("KERNEL32",
auto)

public static native intOpenProcess(int dwDesiredAccess, boolean bInheritHandle, int dwProcessId)

dll.import("KERNEL32",auto)

public static native intOpenSemaphore(int dwDesiredAccess, boolean bInheritHandle, java.lang.String lpName)

dll.import("KERNEL32",
auto)

public static native intOpenWaitableTimer(int dwDesiredAccess, boolean bInheritHandle, java.lang.String lpTimerName)

dll.import("KERNEL32",
auto)

public static native voidOutputDebugString(java.lang.String lpOutputString)

dll.import("KERNEL32",
auto)

public static native booleanPeekNamedPipe(int hNamedPipe, int lpBuffer, int nBufferSize, int[] lpBytesRead, int[] lpTotalBytesAvail, int[] lpBytesLeftThisMessage)

dll.import("KERNEL32",auto)

public static native booleanPostQueuedCompletionStatus(int CompletionPort, int dwNumberOfBytesTransferred, int dwCompletionKey, OVERLAPPED lpOverlapped)

dll.import("KERNEL32",auto)

public static native intPrepareTape(int hDevice, int dwOperation, boolean bImmediate)

dll.import("KERNEL32",auto)

public static native booleanPulseEvent(int hEvent)

dll.import("KERNEL32",auto)

public static native booleanPurgeComm(int hFile, int dwFlags)

dll.import("KERNEL32",auto)

public static native intQueryDosDevice(java.lang.String lpDeviceName, int lpTargetPath, int ucchMax)

dll.import("KERNEL32",
auto)

public static native booleanQueryPerformanceCounter(long[] lpPerformanceCount)

dll.import("KERNEL32",
auto)

public static native booleanQueryPerformanceFrequency(long[] lpPerformanceFreq)

dll.import("KERNEL32",
auto)

public static native intQueueUserAPC(com.ms.dll.Callback pfnAPC, int hThread, int dwData)

dll.import("KERNEL32",auto)

public static native voidRaiseException(int dwExceptionCode, int dwExceptionFlags, int nNumberOfArguments, int[] lpArguments)

dll.import("KERNEL32",auto)

public static native booleanReadConsole(int hConsoleInput, int lpBuffer, int nNumberOfCharsToRead, int[] lpNumberOfCharsRead, int lpReserved)

dll.import("KERNEL32",auto)

public static native booleanReadDirectoryChangesW(int hDirectory, int lpBuffer, int nBufferLength, boolean bWatchSubtree, int dwNotifyFilter, int[] lpBytesReturned, OVERLAPPED lpOverlapped, com.ms.dll.Callback lpCompletionRoutine)

dll.import("KERNEL32",auto)

public static native booleanReadFile(int hFile, int lpBuffer, int nNumberOfBytesToRead, int[] lpNumberOfBytesRead, OVERLAPPED lpOverlapped)

dll.import("KERNEL32",auto)

public static native booleanReadFileEx(int hFile, int lpBuffer, int nNumberOfBytesToRead, OVERLAPPED lpOverlapped, com.ms.dll.Callback lpCompletionRoutine)

dll.import("KERNEL32",auto)

public static native booleanReadProcessMemory(int hProcess, int lpBaseAddress, int lpBuffer, int nSize, int[] lpNumberOfBytesRead)

dll.import("KERNEL32",auto)

public static native booleanReleaseMutex(int hMutex)

dll.import("KERNEL32",auto)

public static native booleanReleaseSemaphore(int hSemaphore, int lReleaseCount, int[] lpPreviousCount)

dll.import("KERNEL32",auto)

public static native booleanRemoveDirectory(java.lang.String lpPathName)

dll.import("KERNEL32",
auto)

public static native booleanResetEvent(int hEvent)

dll.import("KERNEL32",auto)

public static native intResumeThread(int hThread)

dll.import("KERNEL32",auto)

public static native intSearchPath(java.lang.String lpPath, java.lang.String lpFileName, java.lang.String lpExtension, int nBufferLength, java.lang.StringBuffer lpBuffer, int lpFilePart)

dll.import("KERNEL32",
auto)

public static native booleanSetCommBreak(int hFile)

dll.import("KERNEL32",auto)

public static native booleanSetCommMask(int hFile, int dwEvtMask)

dll.import("KERNEL32",auto)

public static native booleanSetCommState(int hFile, DCB lpDCB)

dll.import("KERNEL32",auto)

public static native booleanSetCommTimeouts(int hFile, COMMTIMEOUTS lpCommTimeouts)

dll.import("KERNEL32",auto)

public static native booleanSetComputerName(java.lang.String lpComputerName)

dll.import("KERNEL32",
auto)

public static native booleanSetConsoleActiveScreenBuffer(int hConsoleOutput)

dll.import("KERNEL32",auto)

public static native booleanSetConsoleCP(int wCodePageID)

dll.import("KERNEL32",auto)

public static native booleanSetConsoleCtrlHandler(com.ms.dll.Callback HandlerRoutine, boolean Add)

dll.import("KERNEL32",auto)

public static native booleanSetConsoleCursorInfo(int hConsoleOutput, CONSOLE_CURSOR_INFO lpConsoleCursorInfo)

dll.import("KERNEL32",auto)

public static native booleanSetConsoleMode(int hConsoleHandle, int dwMode)

dll.import("KERNEL32",auto)

public static native booleanSetConsoleOutputCP(int wCodePageID)

dll.import("KERNEL32",auto)

public static native booleanSetConsoleTextAttribute(int hConsoleOutput, short wAttributes)

dll.import("KERNEL32",auto)

public static native booleanSetConsoleTitle(java.lang.String lpConsoleTitle)

dll.import("KERNEL32",
auto)

public static native booleanSetConsoleWindowInfo(int hConsoleOutput, boolean bAbsolute, SMALL_RECT lpConsoleWindow)

dll.import("KERNEL32",auto)

public static native booleanSetCurrentDirectory(java.lang.String lpPathName)

dll.import("KERNEL32",
auto)

public static native booleanSetEndOfFile(int hFile)

dll.import("KERNEL32",auto)

public static native booleanSetEnvironmentVariable(java.lang.String lpName, java.lang.String lpValue)

dll.import("KERNEL32",
auto)

public static native intSetErrorMode(int uMode)

dll.import("KERNEL32",auto)

public static native booleanSetEvent(int hEvent)

dll.import("KERNEL32",auto)

public static native voidSetFileApisToANSI()

dll.import("KERNEL32",auto)

public static native voidSetFileApisToOEM()

dll.import("KERNEL32",auto)

public static native booleanSetFileAttributes(java.lang.String lpFileName, int dwFileAttributes)

dll.import("KERNEL32",
auto)

public static native intSetFilePointer(int hFile, int lDistanceToMove, int[] lpDistanceToMoveHigh, int dwMoveMethod)

dll.import("KERNEL32",auto)

public static native booleanSetFileTime(int hFile, FILETIME lpCreationTime, FILETIME lpLastAccessTime, FILETIME lpLastWriteTime)

dll.import("KERNEL32",auto)

public static native intSetHandleCount(int uNumber)

dll.import("KERNEL32",auto)

public static native booleanSetHandleInformation(int hObject, int dwMask, int dwFlags)

dll.import("KERNEL32",auto)

public static native voidSetLastError(int dwErrCode)

dll.import("KERNEL32",auto)

public static native booleanSetLocalTime(SYSTEMTIME lpSystemTime)

dll.import("KERNEL32",auto)

public static native booleanSetLocaleInfo(int Locale, int LCType, java.lang.String lpLCData)

dll.import("KERNEL32",
auto)

public static native booleanSetMailslotInfo(int hMailslot, int lReadTimeout)

dll.import("KERNEL32",auto)

public static native booleanSetNamedPipeHandleState(int hNamedPipe, int[] lpMode, int[] lpMaxCollectionCount, int[] lpCollectDataTimeout)

dll.import("KERNEL32",auto)

public static native booleanSetPriorityClass(int hProcess, int dwPriorityClass)

dll.import("KERNEL32",auto)

public static native booleanSetProcessAffinityMask(int hProcess, int dwProcessAffinityMask)

dll.import("KERNEL32",auto)

public static native booleanSetProcessPriorityBoost(int hProcess, boolean bDisablePriorityBoost)

dll.import("KERNEL32",auto)

public static native booleanSetProcessShutdownParameters(int dwLevel, int dwFlags)

dll.import("KERNEL32",auto)

public static native booleanSetProcessWorkingSetSize(int hProcess, int dwMinimumWorkingSetSize, int dwMaximumWorkingSetSize)

dll.import("KERNEL32",auto)

public static native booleanSetStdHandle(int nStdHandle, int hHandle)

dll.import("KERNEL32",auto)

public static native booleanSetSystemPowerState(boolean fSuspend, boolean fForce)

dll.import("KERNEL32",auto)

public static native booleanSetSystemTime(SYSTEMTIME lpSystemTime)

dll.import("KERNEL32",auto)

public static native booleanSetSystemTimeAdjustment(int dwTimeAdjustment, boolean bTimeAdjustmentDisabled)

dll.import("KERNEL32",auto)

public static native intSetTapeParameters(int hDevice, int dwOperation, int lpTapeInformation)

dll.import("KERNEL32",auto)

public static native intSetTapePosition(int hDevice, int dwPositionMethod, int dwPartition, int dwOffsetLow, int dwOffsetHigh, boolean bImmediate)

dll.import("KERNEL32",auto)

public static native intSetThreadAffinityMask(int hThread, int dwThreadAffinityMask)

dll.import("KERNEL32",auto)

public static native intSetThreadIdealProcessor(int hThread, int dwIdealProcessor)

dll.import("KERNEL32",auto)

public static native booleanSetThreadLocale(int Locale)

dll.import("KERNEL32",auto)

public static native booleanSetThreadPriority(int hThread, int nPriority)

dll.import("KERNEL32",auto)

public static native booleanSetThreadPriorityBoost(int hThread, boolean bDisablePriorityBoost)

dll.import("KERNEL32",auto)

public static native booleanSetTimeZoneInformation(TIME_ZONE_INFORMATION lpTimeZoneInformation)

dll.import("KERNEL32",auto)

public static native com.ms.dll.CallbackSetUnhandledExceptionFilter(com.ms.dll.Callback lpTopLevelExceptionFilter)

dll.import("KERNEL32",auto)

public static native booleanSetVolumeLabel(java.lang.String lpRootPathName, java.lang.String lpVolumeName)

dll.import("KERNEL32",
auto)

public static native booleanSetWaitableTimer(int hTimer, long[] pDueTime, int lPeriod, com.ms.dll.Callback pfnCompletionRoutine, int pArgToCompletionRoutine, boolean fResume)

dll.import("KERNEL32",
auto)

public static native booleanSetupComm(int hFile, int dwInQueue, int dwOutQueue)

dll.import("KERNEL32",auto)

public static native intSignalObjectAndWait(int hObjectToSignal, int hObjectToWaitOn, int dwMilliseconds, boolean bAlertable)

dll.import("KERNEL32",auto)

public static native intSizeofResource(int hModule, int hResInfo)

dll.import("KERNEL32",auto)

public static native voidSleep(int dwMilliseconds)

dll.import("KERNEL32",auto)

public static native intSleepEx(int dwMilliseconds, boolean bAlertable)

dll.import("KERNEL32",auto)

public static native intSuspendThread(int hThread)

dll.import("KERNEL32",auto)

public static native voidSwitchToFiber(int lpFiber)

dll.import("KERNEL32",auto)

public static native booleanSwitchToThread()

dll.import("KERNEL32",auto)

public static native booleanSystemTimeToFileTime(SYSTEMTIME lpSystemTime, FILETIME lpFileTime)

dll.import("KERNEL32",auto)

public static native booleanSystemTimeToTzSpecificLocalTime(TIME_ZONE_INFORMATION lpTimeZoneInformation, SYSTEMTIME lpUniversalTime, SYSTEMTIME lpLocalTime)

dll.import("KERNEL32",auto)

public static native booleanTerminateProcess(int hProcess, int uExitCode)

dll.import("KERNEL32",auto)

public static native booleanTerminateThread(int hThread, int dwExitCode)

dll.import("KERNEL32",auto)

public static native intTlsAlloc()

dll.import("KERNEL32",auto)

public static native booleanTlsFree(int dwTlsIndex)

dll.import("KERNEL32",auto)

public static native intTlsGetValue(int dwTlsIndex)

dll.import("KERNEL32",auto)

public static native booleanTlsSetValue(int dwTlsIndex, int lpTlsValue)

dll.import("KERNEL32",auto)

public static native booleanTransactNamedPipe(int hNamedPipe, int lpInBuffer, int nInBufferSize, int lpOutBuffer, int nOutBufferSize, int[] lpBytesRead, OVERLAPPED lpOverlapped)

dll.import("KERNEL32",auto)

public static native booleanTransmitCommChar(int hFile, char cChar)

dll.import("KERNEL32",
ansi)

public static native booleanUnlockFile(int hFile, int dwFileOffsetLow, int dwFileOffsetHigh, int nNumberOfBytesToUnlockLow, int nNumberOfBytesToUnlockHigh)

dll.import("KERNEL32",auto)

public static native booleanUnlockFileEx(int hFile, int dwReserved, int nNumberOfBytesToUnlockLow, int nNumberOfBytesToUnlockHigh, OVERLAPPED lpOverlapped)

dll.import("KERNEL32",auto)

public static native booleanUnmapViewOfFile(int lpBaseAddress)

dll.import("KERNEL32",auto)

public static native booleanUpdateResource(int hUpdate, java.lang.String lpType, java.lang.String lpName, short wLanguage, int lpData, int cbData)

dll.import("KERNEL32",
auto)

public static native intVerLanguageName(int wLang, java.lang.StringBuffer szLang, int nSize)

dll.import("KERNEL32",
auto)

public static native intVirtualAlloc(int lpAddress, int dwSize, int flAllocationType, int flProtect)

dll.import("KERNEL32",auto)

public static native intVirtualAllocEx(int hProcess, int lpAddress, int dwSize, int flAllocationType, int flProtect)

dll.import("KERNEL32",auto)

public static native booleanVirtualFree(int lpAddress, int dwSize, int dwFreeType)

dll.import("KERNEL32",auto)

public static native booleanVirtualFreeEx(int hProcess, int lpAddress, int dwSize, int dwFreeType)

dll.import("KERNEL32",auto)

public static native booleanVirtualLock(int lpAddress, int dwSize)

dll.import("KERNEL32",auto)

public static native booleanVirtualProtect(int lpAddress, int dwSize, int flNewProtect, int[] lpflOldProtect)

dll.import("KERNEL32",auto)

public static native booleanVirtualProtectEx(int hProcess, int lpAddress, int dwSize, int flNewProtect, int[] lpflOldProtect)

dll.import("KERNEL32",auto)

public static native intVirtualQuery(int lpAddress, MEMORY_BASIC_INFORMATION lpBuffer, int dwLength)

dll.import("KERNEL32",auto)

public static native intVirtualQueryEx(int hProcess, int lpAddress, MEMORY_BASIC_INFORMATION lpBuffer, int dwLength)

dll.import("KERNEL32",auto)

public static native booleanVirtualUnlock(int lpAddress, int dwSize)

dll.import("KERNEL32",auto)

public static native booleanWaitCommEvent(int hFile, int[] lpEvtMask, OVERLAPPED lpOverlapped)

dll.import("KERNEL32",auto)

public static native intWaitForMultipleObjects(int nCount, int[] lpHandles, boolean bWaitAll, int dwMilliseconds)

dll.import("KERNEL32",auto)

public static native intWaitForMultipleObjectsEx(int nCount, int[] lpHandles, boolean bWaitAll, int dwMilliseconds, boolean bAlertable)

dll.import("KERNEL32",auto)

public static native intWaitForSingleObject(int hHandle, int dwMilliseconds)

dll.import("KERNEL32",auto)

public static native intWaitForSingleObjectEx(int hHandle, int dwMilliseconds, boolean bAlertable)

dll.import("KERNEL32",auto)

public static native booleanWaitNamedPipe(java.lang.String lpNamedPipeName, int nTimeOut)

dll.import("KERNEL32",
auto)

public static native intWinExec(java.lang.String lpCmdLine, int uCmdShow)

dll.import("KERNEL32",
ansi)

public static native booleanWriteConsole(int hConsoleOutput, char[] lpBuffer, int nNumberOfCharsToWrite, int[] lpNumberOfCharsWritten, int lpReserved)

dll.import("KERNEL32",auto)

public static native booleanWriteFile(int hFile, int lpBuffer, int nNumberOfBytesToWrite, int[] lpNumberOfBytesWritten, OVERLAPPED lpOverlapped)

dll.import("KERNEL32",auto)

public static native booleanWriteFileEx(int hFile, int lpBuffer, int nNumberOfBytesToWrite, OVERLAPPED lpOverlapped, com.ms.dll.Callback lpCompletionRoutine)

dll.import("KERNEL32",auto)

public static native booleanWritePrivateProfileSection(java.lang.String lpAppName, java.lang.String lpString, java.lang.String lpFileName)

dll.import("KERNEL32",
auto)

public static native booleanWritePrivateProfileString(java.lang.String lpAppName, java.lang.String lpKeyName, java.lang.String lpString, java.lang.String lpFileName)

dll.import("KERNEL32",
auto)

public static native booleanWritePrivateProfileStruct(java.lang.String lpszSection, java.lang.String lpszKey, int lpStruct, int uSizeStruct, java.lang.String szFile)

dll.import("KERNEL32",
auto)

public static native booleanWriteProcessMemory(int hProcess, int lpBaseAddress, int lpBuffer, int nSize, int[] lpNumberOfBytesWritten)

dll.import("KERNEL32",auto)

public static native booleanWriteProfileSection(java.lang.String lpAppName, java.lang.String lpString)

dll.import("KERNEL32",
auto)

public static native booleanWriteProfileString(java.lang.String lpAppName, java.lang.String lpKeyName, java.lang.String lpString)

dll.import("KERNEL32",
auto)

public static native intWriteTapemark(int hDevice, int dwTapemarkType, int dwTapemarkCount, boolean bImmediate)

dll.import("KERNEL32",auto)

public static native int_hread(int hFile, int lpBuffer, int lBytes)

dll.import("KERNEL32",auto)

public static native int_hwrite(int hFile, java.lang.String lpBuffer, int lBytes)

dll.import("KERNEL32",
ansi)

public static native int_lclose(int hFile)

dll.import("KERNEL32",auto)

public static native int_lcreat(java.lang.String lpPathName, int iAttribute)

dll.import("KERNEL32",
ansi)

public static native int_llseek(int hFile, int lOffset, int iOrigin)

dll.import("KERNEL32",auto)

public static native int_lopen(java.lang.String lpPathName, int iReadWrite)

dll.import("KERNEL32",
ansi)

public static native int_lread(int hFile, int lpBuffer, int uBytes)

dll.import("KERNEL32",auto)

public static native int_lwrite(int hFile, java.lang.String lpBuffer, int uBytes)

dll.import("KERNEL32",
ansi)

public static native intlstrcat(java.lang.StringBuffer lpString1, java.lang.String lpString2)

dll.import("KERNEL32",
auto)

public static native intlstrcmp(java.lang.String lpString1, java.lang.String lpString2)

dll.import("KERNEL32",
auto)

public static native intlstrcmpi(java.lang.String lpString1, java.lang.String lpString2)

dll.import("KERNEL32",
auto)

public static native intlstrcpy(java.lang.StringBuffer lpString1, java.lang.String lpString2)

dll.import("KERNEL32",
auto)

public static native intlstrcpyn(java.lang.StringBuffer lpString1, java.lang.String lpString2, int iMaxLength)

dll.import("KERNEL32",
auto)

public static native intlstrlen(java.lang.String lpString)

dll.import("KERNEL32",
auto)