📄 krnl32.ini
字号:
[dll]
dll=kernel32.dll
;Undocument: GetProductName,GetProcessFlags,OpenVxDHandle,RegisterSysMsgHandler,RequestDeviceWakeup
;RequestWakeupLatency,RtlFillMemory,RtlMoveMemory,RtlUnwind,RtlZeroMemory
;BOOL Beep(DWORD dwFreq, // sound frequency, in hertz
; DWORD dwDuration // sound duration, in milliseconds
; )
[Beep]
Name=Beep
ReturnType = 0
ParamCount = 2
Type1 = 0
CanDefault1 = 0
Type2 = 0
CanDefault2 = 0
;LONG CompareFileTime(
; CONST FILETIME *lpFileTime1, // pointer to first file time
; CONST FILETIME *lpFileTime2 // pointer to second file time
; );
;Return Values
;If the function succeeds, the return value is one of the following values:
;Value Meaning
;-1 First file time is less than second file time.
;0 First file time is equal to second file time.
;+1 First file time is greater than second file time.
;BOOL CopyFile(
; LPCTSTR lpExistingFileName, // pointer to name of an existing file
; LPCTSTR lpNewFileName, // pointer to filename to copy to
; BOOL bFailIfExists // flag for operation if file exists
; );
[CopyFile]
Name=CopyFileA
ReturnType = 0
ParamCount = 3
Type1 = 2
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
Type3 = 0
CanDefault3 = 0
;BOOL CreateDirectory(
; LPCTSTR lpPathName, // pointer to a directory path string
; LPSECURITY_ATTRIBUTES lpSecurityAttributes // pointer to a security descriptor
; );
[CreateDirectory]
Name=CreateDirectoryW
ReturnType = 0
ParamCount = 2
Type1 = 2
Type2 = 0
CanDefault2 = 1
Default2=0
;HANDLE CreateFileMapping(
; HANDLE hFile, // handle to file to map
; LPSECURITY_ATTRIBUTES lpFileMappingAttributes, // optional security attributes
; DWORD flProtect, // protection for mapping object
; DWORD dwMaximumSizeHigh, // high-order 32 bits of object size
; DWORD dwMaximumSizeLow, // low-order 32 bits of object size
; LPCTSTR lpName // name of file-mapping object
; );
[CreateFileMapping]
Name=CreateFileMappingA
ReturnType = 0
ParamCount = 6
Type1 = 0
CanDefault1 = 1
Default1=4294967295
Type2 = 0
CanDefault2 = 1
Default2=0
Type3 = 0
CanDefault3 = 1
Default3=4
Type4 = 0
CanDefault4 = 1
Default4=0
Type5 = 0
CanDefault5 = 1
Default5=65536
Type6 = 2
CanDefault6 = 1
Default6="AtsShareMem"
;BOOL CreateProcess(
; LPCTSTR lpApplicationName, // pointer to name of executable module
; LPTSTR lpCommandLine, // pointer to command line string
; LPSECURITY_ATTRIBUTES lpProcessAttributes, // pointer to process security attributes
; LPSECURITY_ATTRIBUTES lpThreadAttributes, // pointer to thread security attributes
; BOOL bInheritHandles, // handle inheritance flag
; DWORD dwCreationFlags, // creation flags
; LPVOID lpEnvironment, // pointer to new environment block
; LPCTSTR lpCurrentDirectory, // pointer to current directory name
; LPSTARTUPINFO lpStartupInfo, // pointer to STARTUPINFO
; LPPROCESS_INFORMATION lpProcessInformation // pointer to PROCESS_INFORMATION
; );
[CreateProcess]
Name=CreateProcessA
ReturnType = 0
ParamCount = 10
Type1 = 2
Type2 = 2
Type3 = 0
CanDefault3 = 1
Default3=0
Type4 = 0
CanDefault4 = 1
Default4=0
Type5 = 0
CanDefault5 = 1
Default5=0
Type6 = 0
Type7 = 0
CanDefault7 = 1
Default7=0
Type8 = 2
CanDefault8 = 1
Default8=""
Type9 = 0
Type10 = 0
;HANDLE CreateSemaphore(
; LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, // pointer to security attributes
; LONG lInitialCount, // initial count
; LONG lMaximumCount, // maximum count
; LPCTSTR lpName // pointer to semaphore-object name
; );
[CreateSemaphore]
Name=CreateSemaphoreA
ReturnType = 0
ParamCount = 4
Type1 = 0
CanDefault1 = 1
Default1=0
Type2 = 0
Type3 = 0
Type4 = 2
CanDefault4 = 1
Default4=""
;HANDLE WINAPI CreateToolhelp32Snapshot(DWORD dwFlags,
; DWORD th32ProcessID);
;bool DeleteFile(lpExistingFileName);
;TH32CS_SNAPHEAPLIST= 0x00000001
;TH32CS_SNAPPROCESS = 0x00000002
;TH32CS_SNAPTHREAD = 0x00000004
;TH32CS_SNAPMODULE = 0x00000008
;TH32CS_SNAPALL = (TH32CS_SNAPHEAPLIST | TH32CS_SNAPPROCESS | TH32CS_SNAPTHREAD | TH32CS_SNAPMODULE)
;TH32CS_INHERIT = 0x80000000
[CreateToolhelp32Snapshot]
Name=CreateToolhelp32Snapshot
ReturnType = 0
ParamCount = 2
Type1 = 0
Type2 = 0
CanDefault2 = 1
Default2=0
;BOOL DeviceIoControl(
; HANDLE hDevice, // handle to device of interest
; DWORD dwIoControlCode, // control code of operation to perform
; LPVOID lpInBuffer, // pointer to buffer to supply input data
; DWORD nInBufferSize, // size of input buffer
; LPVOID lpOutBuffer, // pointer to buffer to receive output data
; DWORD nOutBufferSize, // size of output buffer
; LPDWORD lpBytesReturned, // pointer to variable to receive output byte count
; LPOVERLAPPED lpOverlapped // pointer to overlapped structure for asynchronous operation
; );
[DeviceIoControl]
Name=DeviceIoControl
ReturnType = 0
ParamCount = 8
Type1 = 0
Type2 = 0
Type3 = 0
Type4 = 0
Type5 = 0
Type6 = 0
Type7 = 0
Type8 = 0
[DeleteFile]
Name=DeleteFileA
ReturnType = 0
ParamCount = 1
Type1 = 2
CanDefault1 = 0
;VOID ExitProcess(
; UINT uExitCode // exit code for all threads
; );
[ExitProcess]
Name=ExitProcess
ReturnType = 0
ParamCount = 1
Type1 = 0
CanDefault1 = 0
;DWORD ExpandEnvironmentStrings(
; LPCTSTR lpSrc, // pointer to string with environment variables
; LPTSTR lpDst, // pointer to string with expanded environment variables
; DWORD nSize // maximum characters in expanded string
; );
[ExpandEnvironmentStrings]
Name=ExpandEnvironmentStringsA
ReturnType = 0
ParamCount = 3
Type1 = 2
Type2 = 2
Type3 = 0
CanDefault3 = 1
Default3=1024
;VOID FatalAppExit(
; UINT uAction, // reserved
; LPCTSTR lpMessageText // pointer to string to display in message box
; );
[FatalAppExit]
Name=FatalAppExitA
ReturnType = 0
ParamCount = 2
Type1 = 0
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
BOOL FlushFileBuffers(
HANDLE hFile // open handle to file whose buffers are to be flushed
);
[FlushFileBuffers]
Name=FlushFileBuffers
ReturnType = 0
ParamCount = 1
Type1 = 0
;BOOL FlushInstructionCache(
; HANDLE hProcess, // handle to process with cache to flush
; LPCVOID lpBaseAddress, // pointer to region to flush
; DWORD dwSize // length of region to flush
; );
[FlushInstructionCache]
Name=FlushInstructionCache
ReturnType = 0
ParamCount = 3
Type1 = 0
Type2 = 0
Type3 = 0
;The FlushViewOfFile function writes to the disk a byte range within a mapped view of a file.
;BOOL FlushViewOfFile(
; LPCVOID lpBaseAddress, // start address of byte range to flush
; DWORD dwNumberOfBytesToFlush // number of bytes in range
; );
[FlushViewOfFile]
Name=FlushViewOfFile
ReturnType = 0
ParamCount = 2
Type1 = 0
Type2 = 0
;BOOL FreeLibrary(
; HMODULE hLibModule // handle to loaded library module
; );
[FreeLibrary]
Name=FreeLibrary
ReturnType = 0
ParamCount = 1
Type1 = 0
;BOOL GetCommConfig(
; HANDLE hCommDev, // handle of communications service
; LPCOMMCONFIG lpCC, // address of comm.configuration structure
; LPDWORD lpdwSize // address of size of buffer
; );
[GetCommConfig]
Name=GetCommConfig
ReturnType = 0
ParamCount = 3
Type1 = 0
Type2 = 0
Type3 = 0
;BOOL GetCommMask(
; HANDLE hFile, // handle of communications device
; LPDWORD lpEvtMask // address of variable to get event mask
; );
[GetCommMask]
Name=GetCommMask
ReturnType = 0
ParamCount = 2
Type1 = 0
Type2 = 0
;BOOL GetComputerName(
; LPTSTR lpBuffer, // address of name buffer
; LPDWORD nSize // address of size of name buffer
; );
[GetComputerName]
Name=GetComputerNameA
ReturnType = 0
ParamCount = 2
Type1 = 2
CanDefault1 = 0
Type2 = 0
CanDefault2 = 0
;DWORD GetCurrentDirectory(
; DWORD nBufferLength, // size, in characters, of directory buffer
; LPTSTR lpBuffer // address of buffer for current directory
; );
[GetCurrentDirectory]
Name=GetCurrentDirectoryA
ReturnType = 0
ParamCount = 2
Type1 = 0
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
;HANDLE GetCurrentProcess(VOID)
[GetCurrentProcess]
Name=GetCurrentProcess
ReturnType = 0
ParamCount = 0
;UINT GetDriveType(
; LPCTSTR lpRootPathName // address of root path
; );
;The return value specifies the type of drive. It can be one of the following values:
;Value Meaning
;0 The drive type cannot be determined.
;1 The root directory does not exist.
;2 The drive can be removed from the drive.
;3 The disk cannot be removed from the drive.
;4 The drive is a remote (network) drive.
;5 The drive is a CD-ROM drive.
;6 The drive is a RAM disk.
[GetDriveType]
Name=GetDriveTypeA
ReturnType = 0
ParamCount = 1
Type1 = 2
CanDefault1 = 0
;DWORD GetFileAttributes(
; LPCTSTR lpFileName // address of the name of a file or directory
; );
;FILE_ATTRIBUTE_READONLY 0x00000001
;FILE_ATTRIBUTE_HIDDEN 0x00000002
;FILE_ATTRIBUTE_SYSTEM 0x00000004
;FILE_ATTRIBUTE_DIRECTORY 0x00000010
;FILE_ATTRIBUTE_ARCHIVE 0x00000020
;FILE_ATTRIBUTE_ENCRYPTED 0x00000040
;FILE_ATTRIBUTE_NORMAL 0x00000080
;FILE_ATTRIBUTE_TEMPORARY 0x00000100
;FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
;FILE_ATTRIBUTE_REPARSE_POINT 0x00000400
;FILE_ATTRIBUTE_COMPRESSED 0x00000800
;FILE_ATTRIBUTE_OFFLINE 0x00001000
[GetFileAttributes]
Name=GetFileAttributesA
ReturnType = 0
ParamCount = 1
Type1 = 2
CanDefault1 = 0
;DWORD GetFileSize(
; HANDLE hFile, // handle of file to get size of
; LPDWORD lpFileSizeHigh // address of high-order word for file size
; );
[GetFileSize]
Name=GetFileSize
ReturnType = 0
ParamCount = 2
Type1 = 0
Type2 = 0
;BOOL GetFileTime(
; HANDLE hFile, // identifies the file
; LPFILETIME lpCreationTime, // address of creation time
; LPFILETIME lpLastAccessTime, // address of last access time
; LPFILETIME lpLastWriteTime // address of last write time
; );
[GetFileTime]
Name=GetFileTime
ReturnType = 0
ParamCount = 4
Type1 = 0
Type2 = 0
Type3 = 0
Type4 = 0
;DWORD GetFileType(
; HANDLE hFile // file handle
; );
[GetFileType]
Name=GetFileType
ReturnType = 0
ParamCount = 1
Type1 = 0
;DWORD GetFullPathName(
; LPCTSTR lpFileName, // address of name of file to find path for
; DWORD nBufferLength, // size, in characters, of path buffer
; LPTSTR lpBuffer, // address of path buffer
; LPTSTR *lpFilePart // address of filename in path
; );
[GetFullPathName]
Name=GetFullPathNameA
ReturnType = 0
ParamCount = 4
Type1 = 0
Type2 = 0
Type3 = 0
Type4 = 0
;DWORD GetLastError(VOID)
[GetLastError]
Name=GetLastError
ReturnType = 0
ParamCount = 0
;VOID GetLocalTime(
; LPSYSTEMTIME lpSystemTime // address of system time structure
; );
;typedef struct _SYSTEMTIME { // st
; WORD wYear;
; WORD wMonth;
; WORD wDayOfWeek;
; WORD wDay;
; WORD wHour;
; WORD wMinute;
; WORD wSecond;
; WORD wMilliseconds;
;} SYSTEMTIME;
;DWORD GetLogicalDrives(VOID)
;Return Values
;Bit position 0 (the least-significant bit) is drive A, bit position 1 is drive B, bit position 2 is drive C, and so on.
[GetLogicalDrives]
Name=GetLogicalDrives
ReturnType = 0
ParamCount = 0
;DWORD GetLogicalDriveStrings(
; DWORD nBufferLength, // size of buffer
; LPTSTR lpBuffer // address of buffer for drive strings
; );
[GetLogicalDriveStrings]
Name=GetLogicalDriveStringsA
ReturnType = 0
ParamCount = 2
Type1 = 0
Type2 = 2
;DWORD GetModuleFileNameA(
; HMODULE hModule, // handle to module to find filename for
; LPTSTR lpFilename, // pointer to buffer for module path
; DWORD nSize // size of buffer, in characters
; );
[GetModuleFileNameA]
Name=GetModuleFileNameA
ReturnType = 0
ParamCount = 3
Type1 = 0
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
Type3 = 0
CanDefault3 = 0
;FARPROC GetProcAddress(
; HMODULE hModule, // handle to DLL module
; LPCSTR lpProcName // name of function
; );
[GetProcAddress]
Name=GetProcAddress
ReturnType = 0
ParamCount = 2
Type1 = 0
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
;DWORD GetProcessVersion(
; DWORD ProcessId // identifier specifying the process of interest
; );
[GetProcessVersion]
Name=GetProcessVersion
ReturnType = 0
ParamCount = 1
Type1 = 0
;BOOL GetProcessWorkingSetSize(
; HANDLE hProcess, // open handle to the process of interest
; LPDWORD lpMinimumWorkingSetSize, // points to variable to receive minimum working set size
; LPDWORD lpMaximumWorkingSetSize // points to variable to receive maximum working set size
; );
[GetProcessWorkingSetSize]
Name=GetProcessWorkingSetSize
ReturnType = 0
ParamCount = 3
Type1 = 0
Type2 = 0
Type3 = 0
;UINT GetSystemDirectory(
; LPTSTR lpBuffer, // address of buffer for system directory
; UINT uSize // size of directory buffer
; );
[GetSystemDirectory]
Name=GetSystemDirectoryA
ReturnType = 0
ParamCount = 2
Type1 = 2
CanDefault1 = 0
Type2 = 0
CanDefault2 = 1
Default2=1024
;UINT GetTempFileName(
; LPCTSTR lpPathName, // address of directory name for temporary file
; LPCTSTR lpPrefixString, // address of filename prefix
; UINT uUnique, // number used to create temporary filename
; LPTSTR lpTempFileName // address of buffer that receives the new filename
; );
[GetTempFileName]
Name=GetTempFileNameA
ReturnType = 0
ParamCount = 4
Type1 = 2
Type2 = 2
Type3 = 0
Type4 = 2
;DWORD GetTempPathA(
; DWORD nBufferLength, // size, in characters, of the buffer
; LPTSTR lpBuffer // address of buffer for temp. path
; );
[GetTempPath]
Name=GetTempPathA
ReturnType = 0
ParamCount = 2
Type1 = 0
CanDefault1 = 1
Default1=1024
Type2 = 2
CanDefault2 = 0
;DWORD GetTickCount(VOID)
[GetTickCount]
Name=GetTickCount
ReturnType = 0
ParamCount = 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -