asm_dip/toolchain/fasm2/include/pcount/kernel32.inc
2024-11-25 00:04:53 -05:00

558 lines
12 KiB
PHP

; KERNEL32 API calls parameters' count
AddAtom% = 1
AddConsoleAlias% = 3
AllocConsole% = 0
AreFileApisANSI% = 0
AssignProcessToJobObject% = 2
BackupRead% = 7
BackupSeek% = 6
BackupWrite% = 7
BaseAttachCompleteThunk% = 0
Beep% = 2
BeginUpdateResource% = 2
BuildCommDCB% = 2
BuildCommDCBAndTimeouts% = 3
CallNamedPipe% = 7
CancelIo% = 1
CancelWaitableTimer% = 1
ClearCommBreak% = 1
ClearCommError% = 3
CloseConsoleHandle% = 1
CloseHandle% = 1
CloseProfileUserMapping% = 0
CmdBatNotification% = 1
CommConfigDialog% = 3
CompareFileTime% = 2
CompareString% = 6
ConnectNamedPipe% = 2
ConsoleMenuControl% = 3
ContinueDebugEvent% = 3
ConvertDefaultLocale% = 1
ConvertThreadToFiber% = 1
CopyFile% = 3
CopyFileEx% = 6
CreateConsoleScreenBuffer% = 5
CreateDirectory% = 2
CreateDirectoryEx% = 3
CreateEvent% = 4
CreateFiber% = 3
CreateFile% = 7
CreateFileMapping% = 6
CreateHardLink% = 3
CreateIoCompletionPort% = 4
CreateJobObject% = 2
CreateMailslot% = 4
CreateMutex% = 3
CreateNamedPipe% = 8
CreatePipe% = 4
CreateProcess% = 10
CreateRemoteThread% = 7
CreateSemaphore% = 4
CreateTapePartition% = 4
CreateThread% = 6
CreateToolhelp32Snapshot% = 2
CreateVirtualBuffer% = 3
CreateWaitableTimer% = 3
DebugActiveProcess% = 1
DebugBreak% = 0
DefineDosDevice% = 3
DeleteAtom% = 1
DeleteCriticalSection% = 1
DeleteFiber% = 1
DeleteFile% = 1
DeviceIoControl% = 8
DisableThreadLibraryCalls% = 1
DisconnectNamedPipe% = 1
DosDateTimeToFileTime% = 3
DuplicateConsoleHandle% = 4
DuplicateHandle% = 7
EndUpdateResource% = 2
EnterCriticalSection% = 1
EnumCalendarInfo% = 4
EnumCalendarInfoEx% = 4
EnumDateFormats% = 3
EnumDateFormatsEx% = 3
EnumResourceLanguages% = 5
EnumResourceNames% = 4
EnumResourceTypes% = 3
EnumSystemCodePages% = 2
EnumSystemLocales% = 2
EnumTimeFormats% = 3
EraseTape% = 3
EscapeCommFunction% = 2
ExitProcess% = 1
ExitThread% = 1
ExitVDM% = 2
ExpandEnvironmentStrings% = 3
ExpungeConsoleCommandHistory% = 1
ExtendVirtualBuffer% = 2
FatalAppExit% = 2
FatalExit% = 1
FileTimeToDosDateTime% = 3
FileTimeToLocalFileTime% = 2
FileTimeToSystemTime% = 2
FillConsoleOutputAttribute% = 5
FillConsoleOutputCharacter% = 5
FindAtom% = 1
FindClose% = 1
FindCloseChangeNotification% = 1
FindFirstChangeNotification% = 3
FindFirstFile% = 2
FindFirstFileEx% = 6
FindNextChangeNotification% = 1
FindNextFile% = 2
FindResource% = 3
FindResourceEx% = 4
FlushConsoleInputBuffer% = 1
FlushFileBuffers% = 1
FlushInstructionCache% = 3
FlushViewOfFile% = 2
FoldString% = 5
FormatMessage% = 7
FreeConsole% = 0
FreeEnvironmentStrings% = 1
FreeLibrary% = 1
FreeLibraryAndExitThread% = 2
FreeResource% = 1
FreeVirtualBuffer% = 1
GenerateConsoleCtrlEvent% = 2
GetACP% = 0
GetAtomName% = 3
GetBinaryType% = 2
GetCPInfo% = 2
GetCPInfoEx% = 3
GetCommConfig% = 3
GetCommMask% = 2
GetCommModemStatus% = 2
GetCommProperties% = 2
GetCommState% = 2
GetCommTimeouts% = 2
GetCommandLine% = 0
GetCompressedFileSize% = 2
GetComputerName% = 2
GetConsoleAlias% = 4
GetConsoleAliasExes% = 2
GetConsoleAliasExesLength% = 0
GetConsoleAliases% = 3
GetConsoleAliasesLength% = 1
GetConsoleCP% = 0
GetConsoleCommandHistory% = 3
GetConsoleCommandHistoryLength% = 1
GetConsoleCursorInfo% = 2
GetConsoleDisplayMode% = 1
GetConsoleFontInfo% = 4
GetConsoleFontSize% = 2
GetConsoleHardwareState% = 3
GetConsoleInputExeName% = 2
GetConsoleInputWaitHandle% = 0
GetConsoleKeyboardLayoutName% = 1
GetConsoleMode% = 2
GetConsoleOutputCP% = 0
GetConsoleScreenBufferInfo% = 2
GetConsoleTitle% = 2
GetConsoleWindow% = 0
GetCurrencyFormat% = 6
GetCurrentConsoleFont% = 3
GetCurrentDirectory% = 2
GetCurrentProcess% = 0
GetCurrentProcessId% = 0
GetCurrentThread% = 0
GetCurrentThreadId% = 0
GetDateFormat% = 6
GetDefaultCommConfig% = 3
GetDevicePowerState% = 1
GetDiskFreeSpace% = 5
GetDiskFreeSpaceEx% = 4
GetDriveType% = 1
GetEnvironmentStrings% = 0
GetEnvironmentVariable% = 3
GetExitCodeProcess% = 2
GetExitCodeThread% = 2
GetFileAttributes% = 1
GetFileAttributesEx% = 3
GetFileInformationByHandle% = 2
GetFileSize% = 2
GetFileTime% = 4
GetFileType% = 1
GetFullPathName% = 4
GetHandleInformation% = 2
GetLargestConsoleWindowSize% = 1
GetLastError% = 0
GetLocalTime% = 1
GetLocaleInfo% = 4
GetLogicalDriveStrings% = 2
GetLogicalDrives% = 0
GetLongPathName% = 3
GetMailslotInfo% = 5
GetModuleFileName% = 3
GetModuleHandle% = 1
GetNamedPipeHandleState% = 7
GetNamedPipeInfo% = 5
GetNextVDMCommand% = 1
GetNumberFormat% = 6
GetNumberOfConsoleFonts% = 0
GetNumberOfConsoleInputEvents% = 2
GetNumberOfConsoleMouseButtons% = 1
GetOEMCP% = 0
GetOverlappedResult% = 4
GetPriorityClass% = 1
GetPrivateProfileInt% = 4
GetPrivateProfileSection% = 4
GetPrivateProfileSectionNames% = 3
GetPrivateProfileString% = 6
GetPrivateProfileStruct% = 5
GetProcAddress% = 2
GetProcessAffinityMask% = 3
GetProcessHeap% = 0
GetProcessHeaps% = 2
GetProcessPriorityBoost% = 2
GetProcessShutdownParameters% = 2
GetProcessTimes% = 5
GetProcessVersion% = 1
GetProcessWorkingSetSize% = 3
GetProfileInt% = 3
GetProfileSection% = 3
GetProfileString% = 5
GetQueuedCompletionStatus% = 5
GetShortPathName% = 3
GetStartupInfo% = 1
GetStdHandle% = 1
GetStringType% = 5
GetStringTypeEx% = 5
GetSystemDefaultLCID% = 0
GetSystemDefaultLangID% = 0
GetSystemDirectory% = 2
GetSystemInfo% = 1
GetSystemPowerStatus% = 1
GetSystemTime% = 1
GetSystemTimeAdjustment% = 3
GetSystemTimeAsFileTime% = 1
GetTapeParameters% = 4
GetTapePosition% = 5
GetTapeStatus% = 1
GetTempFileName% = 4
GetTempPath% = 2
GetThreadContext% = 2
GetThreadLocale% = 0
GetThreadPriority% = 1
GetThreadPriorityBoost% = 2
GetThreadSelectorEntry% = 3
GetThreadTimes% = 5
GetTickCount% = 0
GetTimeFormat% = 6
GetTimeZoneInformation% = 1
GetUserDefaultLCID% = 0
GetUserDefaultLangID% = 0
GetVDMCurrentDirectories% = 2
GetVersion% = 0
GetVersionEx% = 1
GetVolumeInformation% = 8
GetWindowsDirectory% = 2
GlobalAddAtom% = 1
GlobalAlloc% = 2
GlobalCompact% = 1
GlobalDeleteAtom% = 1
GlobalFindAtom% = 1
GlobalFix% = 1
GlobalFlags% = 1
GlobalFree% = 1
GlobalGetAtomName% = 3
GlobalHandle% = 1
GlobalLock% = 1
GlobalMemoryStatus% = 1
GlobalMemoryStatusVlm% = 1
GlobalReAlloc% = 3
GlobalSize% = 1
GlobalUnWire% = 1
GlobalUnfix% = 1
GlobalUnlock% = 1
GlobalWire% = 1
Heap32First% = 3
Heap32ListFirst% = 2
Heap32ListNext% = 2
Heap32Next% = 1
HeapAlloc% = 3
HeapCompact% = 2
HeapCreate% = 3
HeapDestroy% = 1
HeapExtend% = 4
HeapFree% = 3
HeapLock% = 1
HeapReAlloc% = 4
HeapSize% = 3
HeapSummary% = 3
HeapUnlock% = 1
HeapUsage% = 5
HeapValidate% = 3
HeapWalk% = 2
InitAtomTable% = 1
InitializeCriticalSection% = 1
InitializeCriticalSectionAndSpinCount% = 2
InterlockedCompareExchange% = 3
InterlockedDecrement% = 1
InterlockedExchange% = 2
InterlockedExchangeAdd% = 2
InterlockedIncrement% = 1
InvalidateConsoleDIBits% = 2
IsBadCodePtr% = 1
IsBadHugeReadPtr% = 2
IsBadHugeWritePtr% = 2
IsBadReadPtr% = 2
IsBadStringPtr% = 2
IsBadWritePtr% = 2
IsDBCSLeadByte% = 1
IsDBCSLeadByteEx% = 2
IsDebuggerPresent% = 0
IsProcessorFeaturePresent% = 1
IsValidCodePage% = 1
IsValidLocale% = 2
LCMapString% = 6
LeaveCriticalSection% = 1
LoadLibrary% = 1
LoadLibraryEx% = 3
LoadModule% = 2
LoadResource% = 2
LocalAlloc% = 2
LocalCompact% = 1
LocalFileTimeToFileTime% = 2
LocalFlags% = 1
LocalFree% = 1
LocalHandle% = 1
LocalLock% = 1
LocalReAlloc% = 3
LocalShrink% = 2
LocalSize% = 1
LocalUnlock% = 1
LockFile% = 5
LockFileEx% = 6
LockResource% = 1
MapViewOfFile% = 5
MapViewOfFileEx% = 6
MapViewOfFileVlm% = 7
Module32First% = 2
Module32Next% = 2
MoveFile% = 2
MoveFileEx% = 3
MoveFileWithProgress% = 5
MulDiv% = 3
MultiByteToWideChar% = 6
OpenEvent% = 3
OpenFile% = 3
OpenFileMapping% = 3
OpenJobObject% = 3
OpenMutex% = 3
OpenProcess% = 3
OpenProfileUserMapping% = 0
OpenSemaphore% = 3
OpenWaitableTimer% = 3
OutputDebugString% = 1
PeekConsoleInput% = 4
PeekNamedPipe% = 6
PostQueuedCompletionStatus% = 4
PrepareTape% = 3
Process32First% = 2
Process32Next% = 2
PulseEvent% = 1
PurgeComm% = 2
QueryDosDevice% = 3
QueryInformationJobObject% = 5
QueryPerformanceCounter% = 1
QueryPerformanceFrequency% = 1
QueryWin31IniFilesMappedToRegistry% = 4
QueueUserAPC% = 3
RaiseException% = 4
ReadConsole% = 5
ReadConsoleInput% = 4
ReadConsoleInputEx% = 5
ReadConsoleOutput% = 5
ReadConsoleOutputAttribute% = 5
ReadConsoleOutputCharacter% = 5
ReadFile% = 5
ReadFileEx% = 5
ReadFileScatter% = 5
ReadFileVlm% = 5
ReadProcessMemory% = 5
ReadProcessMemoryVlm% = 5
RegisterConsoleVDM% = 11
RegisterWaitForInputIdle% = 1
RegisterWowBaseHandlers% = 1
RegisterWowExec% = 1
ReleaseMutex% = 1
ReleaseSemaphore% = 3
RemoveDirectory% = 1
RequestWakeupLatency% = 1
ResetEvent% = 1
ResumeThread% = 1
RtlFillMemory% = 3
RtlMoveMemory% = 3
RtlUnwind% = 4
RtlZeroMemory% = 2
ScrollConsoleScreenBuffer% = 5
SearchPath% = 6
SetCommBreak% = 1
SetCommConfig% = 3
SetCommMask% = 2
SetCommState% = 2
SetCommTimeouts% = 2
SetComputerName% = 1
SetConsoleActiveScreenBuffer% = 1
SetConsoleCP% = 1
SetConsoleCommandHistoryMode% = 1
SetConsoleCtrlHandler% = 2
SetConsoleCursor% = 2
SetConsoleCursorInfo% = 2
SetConsoleCursorPosition% = 2
SetConsoleDisplayMode% = 3
SetConsoleFont% = 2
SetConsoleHardwareState% = 3
SetConsoleIcon% = 1
SetConsoleInputExeName% = 1
SetConsoleKeyShortcuts% = 4
SetConsoleMaximumWindowSize% = 2
SetConsoleMenuClose% = 1
SetConsoleMode% = 2
SetConsoleNumberOfCommands% = 2
SetConsoleOutputCP% = 1
SetConsolePalette% = 3
SetConsoleScreenBufferSize% = 2
SetConsoleTextAttribute% = 2
SetConsoleTitle% = 1
SetConsoleWindowInfo% = 3
SetCriticalSectionSpinCount% = 2
SetCurrentDirectory% = 1
SetDefaultCommConfig% = 3
SetEndOfFile% = 1
SetEnvironmentVariable% = 2
SetErrorMode% = 1
SetEvent% = 1
SetFileApisToANSI% = 0
SetFileApisToOEM% = 0
SetFileAttributes% = 2
SetFilePointer% = 4
SetFileTime% = 4
SetHandleCount% = 1
SetHandleInformation% = 3
SetInformationJobObject% = 4
SetLastConsoleEventActive% = 0
SetLastError% = 1
SetLocalTime% = 1
SetLocaleInfo% = 3
SetMailslotInfo% = 2
SetNamedPipeHandleState% = 4
SetPriorityClass% = 2
SetProcessAffinityMask% = 2
SetProcessPriorityBoost% = 2
SetProcessShutdownParameters% = 2
SetProcessWorkingSetSize% = 3
SetStdHandle% = 2
SetSystemPowerState% = 2
SetSystemTime% = 1
SetSystemTimeAdjustment% = 2
SetTapeParameters% = 3
SetTapePosition% = 6
SetThreadAffinityMask% = 2
SetThreadContext% = 2
SetThreadExecutionState% = 1
SetThreadIdealProcessor% = 2
SetThreadLocale% = 1
SetThreadPriority% = 2
SetThreadPriorityBoost% = 2
SetTimeZoneInformation% = 1
SetUnhandledExceptionFilter% = 1
SetVDMCurrentDirectories% = 2
SetVolumeLabel% = 2
SetWaitableTimer% = 6
SetupComm% = 3
ShowConsoleCursor% = 2
SignalObjectAndWait% = 4
SizeofResource% = 2
Sleep% = 1
SleepEx% = 2
SuspendThread% = 1
SwitchToFiber% = 1
SwitchToThread% = 0
SystemTimeToFileTime% = 2
SystemTimeToTzSpecificLocalTime% = 3
TerminateJobObject% = 2
TerminateProcess% = 2
TerminateThread% = 2
Thread32First% = 2
Thread32Next% = 2
TlsAlloc% = 0
TlsFree% = 1
TlsGetValue% = 1
TlsSetValue% = 2
Toolhelp32ReadProcessMemory% = 5
TransactNamedPipe% = 7
TransmitCommChar% = 2
TrimVirtualBuffer% = 1
TryEnterCriticalSection% = 1
UnhandledExceptionFilter% = 1
UnlockFile% = 5
UnlockFileEx% = 5
UnmapViewOfFile% = 1
UnmapViewOfFileVlm% = 1
UpdateResource% = 6
VDMConsoleOperation% = 2
VDMOperationStarted% = 1
VerLanguageName% = 3
VerifyConsoleIoHandle% = 1
VirtualAlloc% = 4
VirtualAllocEx% = 5
VirtualAllocVlm% = 6
VirtualBufferExceptionHandler% = 3
VirtualFree% = 3
VirtualFreeEx% = 4
VirtualFreeVlm% = 5
VirtualLock% = 2
VirtualProtect% = 4
VirtualProtectEx% = 5
VirtualProtectVlm% = 6
VirtualQuery% = 3
VirtualQueryEx% = 4
VirtualQueryVlm% = 4
VirtualUnlock% = 2
WaitCommEvent% = 3
WaitForDebugEvent% = 2
WaitForMultipleObjects% = 4
WaitForMultipleObjectsEx% = 5
WaitForSingleObject% = 2
WaitForSingleObjectEx% = 3
WaitNamedPipe% = 2
WideCharToMultiByte% = 8
WinExec% = 2
WriteConsole% = 5
WriteConsoleInput% = 4
WriteConsoleInputVDM% = 4
WriteConsoleOutput% = 5
WriteConsoleOutputAttribute% = 5
WriteConsoleOutputCharacter% = 5
WriteFile% = 5
WriteFileEx% = 5
WriteFileGather% = 5
WriteFileVlm% = 5
WritePrivateProfileSection% = 3
WritePrivateProfileString% = 4
WritePrivateProfileStruct% = 5
WriteProcessMemory% = 5
WriteProcessMemoryVlm% = 5
WriteProfileSection% = 2
WriteProfileString% = 3
WriteTapemark% = 4
_hread% = 3
_hwrite% = 3
_lclose% = 1
_lcreat% = 2
_llseek% = 3
_lopen% = 2
_lread% = 3
_lwrite% = 3
lstrcat% = 2
lstrcmp% = 2
lstrcmpi% = 2
lstrcpy% = 2
lstrcpyn% = 3
lstrlen% = 1