en:docs:win16:modules:kernel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:win16:modules:kernel [2021/09/01 09:22] prokusheven:docs:win16:modules:kernel [2023/10/14 03:18] (current) prokushev
Line 1: Line 1:
 {{page>en:templates:win16api}} {{page>en:templates:win16api}}
  
-Note minimal checked windows version is 1.03+Windows kernel for 8086 (KERNEL.EXE) doesn't uses DPMI or LDT for memory management. KERNEL.EXE for later versions of Windows emulates selectors functions via segments (like [[en:docs:FAPI]] does), but not so good (mostly functions returns errors). KRNL286.EXE and KRNL386.EXE uses direct LDT manipulations. Kernels for WOW uses DPMI functions. For now, osFree tries to reuse only DPMI (in future it is possible to implement direct LDT manipulation, may be).
  
-^ Ordinal ^ Name ^ Description ^ Status ^^^ Version ^ +Note minimal checked windows version is 1.03.
-^   :::    ::: ^  :::        ^ Real ^ Std ^ Enh ^ ::: ^ +
-| 000| KERNEL | | | | +
-| 001| [[en:docs:win16:api:kernel:fatalexit|FATALEXIT]] | | | | +
-| 003| [[en:docs:win16:api:kernel|GETVERSION]] | Return the current version of Windows | | | | 1.03 +
-| 004| [[en:docs:win16:api:kernel|LOCALINIT]] | | | | +
-| 005| [[en:docs:win16:api:kernel|LOCALALLOC]] | Allocate wBytes bytes of memory from the local heap | | | | 1.03 | +
-| 006| [[en:docs:win16:api:kernel|LOCALREALLOC]] | Reallocate the local memory block | | | | 1.03 | +
-| 007| [[en:docs:win16:api:kernel|LOCALFREE]] | Free the local memory block | | | | 1.03 | +
-| 008| [[en:docs:win16:api:kernel|LOCALLOCK]] | Lock the local memory block | | | | 1.03 | +
-| 009| [[en:docs:win16:api:kernel|LOCALUNLOCK]] | Unlock the local memory block | | | | 1.03 | +
-| 00a| [[en:docs:win16:api:kernel|LOCALSIZE]] | Retrieve the current size, in bytes, of the local memory block | | | | 1.03 | +
-| 00b| [[en:docs:win16:api:kernel|LOCALHANDLE]] | | | | +
-| 00c| [[en:docs:win16:api:kernel|LOCALFLAGS]] | Return information about the specified local memory block | | | | 1.03 | +
-| 00d| [[en:docs:win16:api:kernel|LOCALCOMPACT]] | Generate free bytes of memory by compacting, if necessary, the module's local heap | | | | 1.03 | +
-| 00e| [[en:docs:win16:api:kernel|LOCALNOTIFY]] | | | | +
-| 00f| [[en:docs:win16:api:kernel|GLOBALALLOC]] | Allocate memory from the global heap | | | | 1.03 | +
-| 010| [[en:docs:win16:api:kernel|GLOBALREALLOC]] | Reallocate the global memory block | | | | 1.03 | +
-| 011| [[en:docs:win16:api:kernel|GLOBALFREE]] | Free the global memory block | | | | 1.03 | +
-| 012| [[en:docs:win16:api:kernel|GLOBALLOCK]] | Retrieve the absolute memory address of the global memory block | | | | 1.03 | +
-| 013| [[en:docs:win16:api:kernel|GLOBALUNLOCK]] | Unlock the global memory block | | | | 1.03 | +
-| 014| [[en:docs:win16:api:kernel|GLOBALSIZE]] | Retrieve the current size, in bytes, of the global memory block | | | | 1.03 | +
-| 015| [[en:docs:win16:api:kernel|GLOBALHANDLE]] | | | | +
-| 016| [[en:docs:win16:api:kernel|GLOBALFLAGS]] | Return information1 about the specified global memory block | | | | 1.03 | +
-| 017| [[en:docs:win16:api:kernel|LOCKSEGMENT]] | | | | +
-| 018| [[en:docs:win16:api:kernel|UNLOCKSEGMENT]] | | | | +
-| 019| [[en:docs:win16:api:kernel|GLOBALCOMPACT]] | Generate free bytes of global memory by compacting, if necessary, the system's global heap | | | | 1.03 | +
-| 01d| [[en:docs:win16:api:kernel|YIELD]] | halts the current task and starts any waiting task | | | | 1.03 | +
-| 01e| [[en:docs:win16:api:kernel|WAITEVENT]] | | | | +
-| 024| [[en:docs:win16:api:kernel|GETCURRENTTASK]] | Return the handle of the currently executing task | | | | 1.03 | +
-| 025| [[en:docs:win16:api:kernel|GETCURRENTPDB]] | | | | +
-| 02d| [[en:docs:win16:api:kernel|LOADMODULE]] | | | | +
-| 02e| [[en:docs:win16:api:kernel|FREEMODULE]] | | | | +
-| 02f| [[en:docs:win16:api:kernel|GETMODULEHANDLE]] | Retrieve the module handle of the specified module | | | | 1.03 | +
-| 030| [[en:docs:win16:api:kernel|GETMODULEUSAGE]] | Return the reference count of a given module | | | | 1.03 | +
-| 031| [[en:docs:win16:api:kernel|GETMODULEFILENAME]] | Retrieve the name of the executable file from which the specified module was loaded | | | | 1.03 | +
-| 032| [[en:docs:win16:api:kernel|GETPROCADDRESS]] | Retrieve the memory address of the function whose name | | | | 1.03 | +
-| 033| [[en:docs:win16:api:kernel|MAKEPROCINSTANCE]] | Bind the data segment of the module instance specified to the function pointed | | | | 1.03 | +
-| 034| [[en:docs:win16:api:kernel|FREEPROCINSTANCE]] | Frees the function specified from the data segment | | | | 1.03 | +
-| 036| [[en:docs:win16:api:kernel|GETINSTANCEDATA]] | Copy data from a previous instance of an application into the data area of the current instance | | | | 1.03 | +
-| 037| [[en:docs:win16:api:kernel|CATCH]] | Catch the current execution environment and copy it the the buffer | | | | 1.03 | +
-| 038| [[en:docs:win16:api:kernel|THROW]] | Restore the execution environment to the values saved in the buffer | | | | 1.03 | +
-| 039| [[en:docs:win16:api:kernel|GETPROFILEINT]] | | | | +
-| 03a| [[en:docs:win16:api:kernel|GETPROFILESTRING]] | | | | +
-| 03b| [[en:docs:win16:api:kernel|WRITEPROFILESTRING]] | | | | +
-| 03c| [[en:docs:win16:api:kernel|FINDRESOURCE]] | Determine the location of a resource in the specified resource file | | | | 1.03 | +
-| 03d| [[en:docs:win16:api:kernel|LOADRESOURCE]] | Load a resource from the executable file associated with the module | | | | 1.03 | +
-| 03e| [[en:docs:win16:api:kernel|LOCKRESOURCE]] | Retrieve the absolute memory address of the loaded resource | | | | 1.03 | +
-| 03f| [[en:docs:win16:api:kernel|FREERESOURCE]] | Remove a loaded resource from memory by freeing the allocated memory occupied by that resource | | | | 1.03 | +
-| 040| [[en:docs:win16:api:kernel|ACCESSRESOURCE]] | Open the specified resource file and moves the file pointer to the beginning of the specified resource | | | | 1.03 | +
-| 041| [[en:docs:win16:api:kernel|SIZEOFRESOURCE]] | Supply the size in bytes of the specified resource | | | | 1.03 | +
-| 042| [[en:docs:win16:api:kernel|ALLOCRESOURCE]] | Allocate uninitialized memory for the passed resource | | | | 1.03 | +
-| 043| [[en:docs:win16:api:kernel|SETRESOURCEHANDLER]] | Set up a function to load resources | | | | 1.03 | +
-| 044| [[en:docs:win16:api:kernel|INITATOMTABLE]] | | | | +
-| 045| [[en:docs:win16:api:kernel|FINDATOM]] | | | | +
-| 046| [[en:docs:win16:api:kernel|ADDATOM]] | | | | +
-| 047| [[en:docs:win16:api:kernel|DELETEATOM]] | | | | +
-| 048| [[en:docs:win16:api:kernel|GETATOMNAME]] | | | | +
-| 049| [[en:docs:win16:api:kernel|GETATOMHANDLE]] | | | | +
-| 04a| [[en:docs:win16:api:kernel|OPENFILE]] | | | | +
-| 04d| [[en:docs:win16:api:kernel|AnsiNext]] | Move to the next character in a string | | | | 1.03 | +
-| 04e| [[en:docs:win16:api:kernel|AnsiPrev]] | Move to the previous character in a string | | | | 1.03 | +
-| 04f| [[en:docs:win16:api:kernel|AnsiUpper]] | Convert a string or a character to upper case | | | | 1.03 | +
-| 050| [[en:docs:win16:api:kernel|AnsiLower]] | Convert the given string to lower case | | | | 1.03 | +
-| 051| [[en:docs:win16:api:kernel|_LCLOSE]] | | | | +
-| 052| [[en:docs:win16:api:kernel|_LREAD]] | | | | +
-| 053| [[en:docs:win16:api:kernel|_LCREAT]] | | | | +
-| 054| [[en:docs:win16:api:kernel|_LLSEEK]] | | | | +
-| 055| [[en:docs:win16:api:kernel|_LOPEN]] | | | | +
-| 056| [[en:docs:win16:api:kernel|_LWRITE]] | | | | +
-| 057| [[en:docs:win16:api:kernel|lstrcmp]] | | | | +
-| 058| [[en:docs:win16:api:kernel|LSTRCPY]] | | | | +
-| 059| [[en:docs:win16:api:kernel|LSTRCAT]] | | | | +
-| 05a| [[en:docs:win16:api:kernel|LSTRLEN]] | | | | +
-| 05b| [[en:docs:win16:api:kernel|INITTASK]] | | | | +
-| 05c| [[en:docs:win16:api:kernel|GETTEMPDRIVE]] | | | | +
-| 05d| [[en:docs:win16:api:kernel|GETCODEHANDLE]] | Return the handle of the code segment containing the function pointed | | | | 1.03 | +
-| 05e| [[en:docs:win16:api:kernel|DEFINEHANDLETABLE]] | | | | +
-| 05f| [[en:docs:win16:api:kernel|LOADLIBRARY]] | Load the library module contained in the specified file and returns a handle to the loaded module | | | | 1.03 | +
-| 060| [[en:docs:win16:api:kernel|FREELIBRARY]] | Free memory occuped by library when module reference count equal to zero | | | | 1.03 | +
-| 061| [[en:docs:win16:api:kernel|GETTEMPFILENAME]] | | | | +
-| 064| [[en:docs:win16:api:kernel|VALIDATECODESEGMENTS]] | | | | +
-| 066| [[en:docs:win16:api:kernel|DOS3CALL]] | | | | +
-| 067| [[en:docs:win16:api:kernel|NETBIOSCALL]] | | | | +
-| 068| [[en:docs:win16:api:kernel|GETCODEINFO]] | | | | +
-| 06a| [[en:docs:win16:api:kernel|SETSWAPAREASIZE]] | | | | +
-| 06b| [[en:docs:win16:api:kernel|SETERRORMODE]] | | | | +
-| 06c| [[en:docs:win16:api:kernel|SWITCHSTACKTO]] | | | | +
-| 06d| [[en:docs:win16:api:kernel|SWITCHSTACKBACK]] | | | | +
-| 06f| [[en:docs:win16:api:kernel|GLOBALWIRE]] | | | | +
-| 070| [[en:docs:win16:api:kernel|GLOBALUNWIRE]] | | | | +
-| 073| [[en:docs:win16:api:kernel|OUTPUTDEBUGSTRING]] | | | | +
-| 079| [[en:docs:win16:api:kernel|LOCALSHRINK]] | | | | +
-| 07f| [[en:docs:win16:api:kernel|GETPRIVATEPROFILEINT]] | | | | +
-| 080| [[en:docs:win16:api:kernel|GETPRIVATEPROFILESTRING]] | | | | +
-| 081| [[en:docs:win16:api:kernel|WRITEPRIVATEPROFILESTRING]] | | | | +
-| 082| [[en:docs:win16:api:kernel|FILECDR]] | | | | +
-| 083| [[en:docs:win16:api:kernel|GETDOSENVIRONMENT]] | | | | +
-| 084| [[en:docs:win16:api:kernel|GETWINFLAGS]] | | | | +
-| 086| [[en:docs:win16:api:kernel|GETWINDOWSDIRECTORY]] | | | | +
-| 087| [[en:docs:win16:api:kernel|GETSYSTEMDIRECTORY]] | | | | +
-| 088| [[en:docs:win16:api:kernel|GETDRIVETYPE]] | | | | +
-| 089| [[en:docs:win16:api:kernel|FATALAPPEXIT]] | | | | +
-| 08a| [[en:docs:win16:api:kernel|GETHEAPSPACES]] | | | | +
-| 096| [[en:docs:win16:api:kernel|DIRECTEDYIELD]] | | | | +
-| 098| [[en:docs:win16:api:kernel|GETNUMTASKS]] | | | | +
-| 09a| [[en:docs:win16:api:kernel|GLOBALNOTIFY]] | | | | +
-| 09c| [[en:docs:win16:api:kernel|LIMITEMSPAGES]] | | | | +
-| 0a3| [[en:docs:win16:api:kernel|GLOBALLRUOLDEST]] | | | | +
-| 0a4| [[en:docs:win16:api:kernel|GLOBALLRUNEWEST]] | | | | +
-| 0a6| [[en:docs:win16:api:kernel|WINEXEC]] | | | | +
-| 0a9| [[en:docs:win16:api:kernel|GETFREESPACE]] | | | | +
-| 0aa| [[en:docs:win16:api:kernel|ALLOCCSTODSALIAS]] | | | | +
-| 0ab| [[en:docs:win16:api:kernel|ALLOCDSTOCSALIAS]] | | | | +
-| 0af| [[en:docs:win16:api:kernel|ALLOCSELECTOR]] | | | | +
-| 0b0| [[en:docs:win16:api:kernel|FREESELECTOR]] | | | | +
-| 0b1| [[en:docs:win16:api:kernel|PRESTOCHANGOSELECTOR]] | | | | +
-| 0b8| [[en:docs:win16:api:kernel|GLOBALDOSALLOC]] | | | | +
-| 0b9| [[en:docs:win16:api:kernel|GLOBALDOSFREE]] | | | | +
-| 0ba| [[en:docs:win16:api:kernel|GETSELECTORBASE]] | | | | +
-| 0bb| [[en:docs:win16:api:kernel|SETSELECTORBASE]] | | | | +
-| 0bc| [[en:docs:win16:api:kernel|GETSELECTORLIMIT]] | | | | +
-| 0bd| [[en:docs:win16:api:kernel|SETSELECTORLIMIT]] | | | | +
-| 0bf| [[en:docs:win16:api:kernel|GLOBALPAGELOCK]] | | | | +
-| 0c0| [[en:docs:win16:api:kernel|GLOBALPAGEUNLOCK]] | | | | +
-| 0c4| [[en:docs:win16:api:kernel|SELECTORACCESSRIGHTS]] | | | | +
-| 0c5| [[en:docs:win16:api:kernel|GLOBALFIX]] | | | | +
-| 0c6| [[en:docs:win16:api:kernel|GLOBALUNFIX]] | | | | +
-| 0c7| [[en:docs:win16:api:kernel|SETHANDLECOUNT]] | | | | +
-| 0c8| [[en:docs:win16:api:kernel|VALIDATEFREESPACES]] | | | | +
-| 0cb| [[en:docs:win16:api:kernel|DEBUGBREAK]] | | | | +
-| 0cc| [[en:docs:win16:api:kernel|SWAPRECORDING]] | | | | +
-| 0ce| [[en:docs:win16:api:kernel|ALLOCSELECTORARRAY]] | | | | +
-| 0cf| [[en:docs:win16:api:kernel|ISDBCSLEADBYTE]] | | | | +
-| 136| [[en:docs:win16:api:kernel|LOCALHANDLEDELTA]] | Set the number of handle table entries to be allocated when the local heap manager runs out of handle table | | | | 1.03 | +
-| 140| [[en:docs:win16:api:kernel|ISTASK]] | | | | +
-| 143| [[en:docs:win16:api:kernel|ISROMMODULE]] | | | | +
-| 144| [[en:docs:win16:api:kernel|LOGERROR]] | | | | +
-| 145| [[en:docs:win16:api:kernel|LOGPARAMERROR]] | | | | +
-| 146| [[en:docs:win16:api:kernel|ISROMFILE]] | | | | +
-| 14e| [[en:docs:win16:api:kernel|ISBADREADPTR]] | | | | +
-| 14f| [[en:docs:win16:api:kernel|ISBADWRITEPTR]] | | | | +
-| 150| [[en:docs:win16:api:kernel|ISBADCODEPTR]] | | | | +
-| 151| [[en:docs:win16:api:kernel|ISBADSTRINGPTR]] | | | | +
-| 15b| [[en:docs:win16:api:kernel|ISBADHUGEWRITEPTR]] | | | | +
-| 15c| [[en:docs:win16:api:kernel|HMEMCPY]] | | | | +
-| 15d| [[en:docs:win16:api:kernel|_HREAD]] | | | | +
-| 15e| [[en:docs:win16:api:kernel|_HWRITE]] | | | | +
-| 161| [[en:docs:win16:api:kernel|LSTRCPYN]] | | | | +
-| 162| [[en:docs:win16:api:kernel|GETAPPCOMPATFLAGS]] | | | | +
-| 163| [[en:docs:win16:api:kernel|GETWINDEBUGINFO]] | | | | +
-| 164| [[en:docs:win16:api:kernel|SETWINDEBUGINFO]] | | | |+
  
 +^ Ordinal ^ Name ^ Description ^ Status ^^^ Version ^ ECMA-234 ^
 +^   :::    ::: ^  :::        ^ Real ^ Std ^ Enh ^ ::: ^ ::: ^
 +| 001| [[en:docs:win16:api:kernel:FatalExit]] | Display the current state of Windows and prompts for instructions on how to proceed | | | | 1.03 | Yes |
 +| 002| [[en:docs:win16:api:kernel:ExitKernel]] | | | | | | |
 +| 003| [[en:docs:win16:api:kernel:GetVersion]] | Return the current version of Windows | | | | 1.03 | Yes |
 +| 004| [[en:docs:win16:api:kernel:LocalInit]] | Initialize local heap | | | | | Yes |
 +| 005| [[en:docs:win16:api:kernel:LocalAlloc]] | Allocate wBytes bytes of memory from the local heap | | | | 1.03 | Yes |
 +| 006| [[en:docs:win16:api:kernel:LocalRealloc]] | Reallocate the local memory block | | | | 1.03 | Yes |
 +| 007| [[en:docs:win16:api:kernel:LocalFree]] | Free the local memory block | | | | 1.03 | Yes |
 +| 008| [[en:docs:win16:api:kernel:LocalLock]] | Lock the local memory block | | | | 1.03 | Yes |
 +| 009| [[en:docs:win16:api:kernel:LocalUnlock]] | Unlock the local memory block | | | | 1.03 | Yes |
 +| 010| [[en:docs:win16:api:kernel:LocalSize]] | Retrieve the current size, in bytes, of the local memory block | | | | 1.03 | Yes |
 +| 011| [[en:docs:win16:api:kernel:LocalHandle]] | Retrieve the handle associated with the specified pointer to a local memory object | | | | | Yes |
 +| 012| [[en:docs:win16:api:kernel:LocalFlags]] | Return information about the specified local memory block | | | | 1.03 | Yes |
 +| 013| [[en:docs:win16:api:kernel:LocalCompact]] | Generate free bytes of memory by compacting, if necessary, the module's local heap | | | | 1.03 | Yes |
 +| 014| [[en:docs:win16:api:kernel:LocalNotify]] | | | | 
 +| 015| [[en:docs:win16:api:kernel:GlocalAlloc]] | Allocate memory from the global heap | | | | 1.03 | Yes |
 +| 016| [[en:docs:win16:api:kernel:GlobalRealloc]] | Reallocate the global memory block | | | | 1.03 | Yes |
 +| 017| [[en:docs:win16:api:kernel:GlobalFree]] | Free the global memory block | | | | 1.03 | Yes |
 +| 018| [[en:docs:win16:api:kernel:GlobalLock]] | Retrieve the absolute memory address of the global memory block | | | | 1.03 | Yes |
 +| 019| [[en:docs:win16:api:kernel:GlobalUnlock]] | Unlock the global memory block | | | | 1.03 | Yes |
 +| 020| [[en:docs:win16:api:kernel:GlobalSize]] | Retrieve the current size, in bytes, of the global memory block | | | | 1.03 | Yes |
 +| 021| [[en:docs:win16:api:kernel:GlobalHandle]] | Retrieve handle for given address | | | | | Yes |
 +| 022| [[en:docs:win16:api:kernel:GlobalFlags]] | Return information1 about the specified global memory block | | | | 1.03 | Yes |
 +| 023| [[en:docs:win16:api:kernel:LockSegment]] | | | |
 +| 024| [[en:docs:win16:api:kernel:UnlockSegment]] | | | |
 +| 025| [[en:docs:win16:api:kernel:GlobalCompact]] | Generate free bytes of global memory by compacting, if necessary, the system's global heap | | | | 1.03 | Yes |
 +| 026| [[en:docs:win16:api:kernel:GlobalFreeAll]] |  | | | | | |
 +| 027| [[en:docs:win16:api:kernel:GetModuleName]] |  | | | | | |
 +| 028| [[en:docs:win16:api:kernel:GlobalMasterHandle]] |  | | | | | |
 +| 029| [[en:docs:win16:api:kernel:Yield]] | halts the current task and starts any waiting task | | | | 1.03 | Yes |
 +| 030| [[en:docs:win16:api:kernel:WaitEvent]] | | | |
 +| 031| [[en:docs:win16:api:kernel:PostEvent]] |  | | | | | |
 +| 032| [[en:docs:win16:api:kernel:SetPriority]] |  | | | | | |
 +| 033| [[en:docs:win16:api:kernel:LockCurrentTask]] |  | | | | | |
 +| 034| [[en:docs:win16:api:kernel:SetTaskQueue]] |  | | | | | |
 +| 035| [[en:docs:win16:api:kernel:GetTaskQueue]] |  | | | | | |
 +| 036| [[en:docs:win16:api:kernel:GetCurrentTask]] | Return the handle of the currently executing task | | | | 1.03 | Yes |
 +| 037| [[en:docs:win16:api:kernel:GetCurrentPDB]] | Return current PDB | | | 
 +| 038| [[en:docs:win16:api:kernel:SetTaskSignalProc]] |  | | | | | |
 +| 039| [[en:docs:win16:api:kernel:SetTaskSwitchProc]] |  | | | | | |
 +| 040| [[en:docs:win16:api:kernel:SetTaskInterchange]] |  | | | | | |
 +| 041| [[en:docs:win16:api:kernel:EnableDOS]] |  | | | | | |
 +| 042| [[en:docs:win16:api:kernel:DisableDOS]] |  | | | | | |
 +| 043| [[en:docs:win16:api:kernel:IsScreenGrab]] |  | | | | | |
 +| 044| [[en:docs:win16:api:kernel:BuildPDB]] |  | | | | | |
 +| 045| [[en:docs:win16:api:kernel:LoadModule]] | Load module | | | | | Yes |
 +| 046| [[en:docs:win16:api:kernel:FreeModule]] | Release module | | | | | Yes |
 +| 047| [[en:docs:win16:api:kernel:GetModuleHandle]] | Retrieve the module handle of the specified module | | | | 1.03 | Yes |
 +| 048| [[en:docs:win16:api:kernel:GetModuleUsage]] | Return the reference count of a given module | | | | 1.03 | Yes |
 +| 049| [[en:docs:win16:api:kernel:GetModuleFileName]] | Retrieve the name of the executable file from which the specified module was loaded | | | | 1.03 | Yes |
 +| 050| [[en:docs:win16:api:kernel:GetProcAddress]] | Retrieve the memory address of the function whose name | | | | 1.03 | Yes |
 +| 051| [[en:docs:win16:api:kernel:MakeProcInstance]] | Bind the data segment of the module instance specified to the function pointed | | | | 1.03 | Yes |
 +| 052| [[en:docs:win16:api:kernel:FreeProcInstance]] | Frees the function specified from the data segment | | | | 1.03 | Yes |
 +| 053| [[en:docs:win16:api:kernel:CallProcInstance]] |  | | | | | |
 +| 054| [[en:docs:win16:api:kernel:GetInstanceData]] | Copy data from a previous instance of an application into the data area of the current instance | | | | 1.03 | Yes |
 +| 055| [[en:docs:win16:api:kernel:Catch]] | Catch the current execution environment and copy it the the buffer | | | | 1.03 | Yes |
 +| 056| [[en:docs:win16:api:kernel:Throw]] | Restore the execution environment to the values saved in the buffer | | | | 1.03 | Yes |
 +| 057| [[en:docs:win16:api:kernel:GetProfileInt]] | Retrieve the value of an integer key from the the Windows initialization file | | | | 1.03 | Yes |
 +| 058| [[en:docs:win16:api:kernel:GetProfileString]] | Copy a character string from the user profile into the buffer | | | | 1.03 | Yes |
 +| 059| [[en:docs:win16:api:kernel:WriteProfileString]] | Copy the character string into the Windows initialization file | | | | 1.03 | Yes |
 +| 060| [[en:docs:win16:api:kernel:FindeResource]] | Determine the location of a resource in the specified resource file | | | | 1.03 | Yes |
 +| 061| [[en:docs:win16:api:kernel:LoadResource]] | Load a resource from the executable file associated with the module | | | | 1.03 | Yes |
 +| 062| [[en:docs:win16:api:kernel:LockResource]] | Retrieve the absolute memory address of the loaded resource | | | | 1.03 | Yes |
 +| 063| [[en:docs:win16:api:kernel:FreeResource]] | Remove a loaded resource from memory by freeing the allocated memory occupied by that resource | | | | 1.03 | Yes |
 +| 064| [[en:docs:win16:api:kernel:AccessResource]] | Open the specified resource file and moves the file pointer to the beginning of the specified resource | | | | 1.03 |
 +| 065| [[en:docs:win16:api:kernel:SizeOfResource]] | Supply the size in bytes of the specified resource | | | | 1.03 | Yes |
 +| 066| [[en:docs:win16:api:kernel:AllocResource]] | Allocate uninitialized memory for the passed resource | | | | 1.03 | Yes |
 +| 067| [[en:docs:win16:api:kernel:SetResourceHandle]] | Set up a function to load resources | | | | 1.03 | Yes |
 +| 068| [[en:docs:win16:api:kernel:InitAtomTable]] | Initialize an atom hash table and set its size | | | | 1.03 |
 +| 069| [[en:docs:win16:api:kernel:FindAtom]] | Search the atom table for the character string | | | | 1.03 |
 +| 070| [[en:docs:win16:api:kernel:AddAtom]] | Add the character string to the atom table | | | | 1.03 |
 +| 071| [[en:docs:win16:api:kernel:DeleteAtom]] | Delete an atom | | | | 1.03 |
 +| 072| [[en:docs:win16:api:kernel:GetAtomName]] | Retrieve a copy of the character string associated with atom | | | | 1.03 |
 +| 073| [[en:docs:win16:api:kernel:GetAtomHandle]] | | | |
 +| 074| [[en:docs:win16:api:kernel:OpenFile]] | Create, open, reopen, or delete a file | | | | 1.03 | Yes |
 +| 075| [[en:docs:win16:api:kernel:OpenPathname]] |  | | | | | |
 +| 076| [[en:docs:win16:api:kernel:DeletePathname]] |  | | | | | |
 +| 077| [[en:docs:win16:api:kernel:AnsiNext]] | Move to the next character in a string | | | | 1.03 | Yes |
 +| 078| [[en:docs:win16:api:kernel:AnsiPrev]] | Move to the previous character in a string | | | | 1.03 | Yes |
 +| 079| [[en:docs:win16:api:kernel:AnsiUpper]] | Convert a string or a character to upper case | | | | 1.03 | Yes |
 +| 080| [[en:docs:win16:api:kernel:AnsiLower]] | Convert the given string to lower case | | | | 1.03 | Yes |
 +| 081| [[en:docs:win16:api:kernel:_lclose]] | Close the file described by the file handle | | | | | Yes |
 +| 082| [[en:docs:win16:api:kernel:_lread]] | Read a specified number of bytes from a file into memory | | | | | Yes |
 +| 083| [[en:docs:win16:api:kernel:_lcreat]] | Create and open a file, described by FileName, for reading and/or writing | | | | | Yes |
 +| 084| [[en:docs:win16:api:kernel:_llseek]] | Move the current file position pointer of the file | | | | | Yes |
 +| 085| [[en:docs:win16:api:kernel:_lopen]] | Open a file | | | | | Yes |
 +| 086| [[en:docs:win16:api:kernel:_lwrite]] | Write a specified number of bytes of memory to a file | | | | | Yes |
 +| 087| [[en:docs:win16:api:kernel:lstrcmp]] | Compare two strings | | | | | Yes |
 +| 088| [[en:docs:win16:api:kernel:lstrcpy]] | Copy the contents from one string to another | | | | | Yes |
 +| 089| [[en:docs:win16:api:kernel:lstrcat]] | Concatecate the contents of two strings | | | | | Yes |
 +| 090| [[en:docs:win16:api:kernel:lstrlen]] | Determines the length of the string | | | | | Yes |
 +| 091| [[en:docs:win16:api:kernel:InitTask]] | | | |
 +| 092| [[en:docs:win16:api:kernel:GetTempDrive]] | Return a letter specifying the optimal drive for a temporary file | | | | 1.03 | Yes |
 +| 093| [[en:docs:win16:api:kernel:GetCodeHandle]] | Return the handle of the code segment containing the function pointed | | | | 1.03 |
 +| 094| [[en:docs:win16:api:kernel:DefineHandleTable]] | | | |
 +| 095| [[en:docs:win16:api:kernel:LoadLibrary]] | Load the library module contained in the specified file and returns a handle to the loaded module | | | | 1.03 | Yes |
 +| 096| [[en:docs:win16:api:kernel:FreeLibrary]] | Free memory occuped by library when module reference count equal to zero | | | | 1.03 | Yes |
 +| 097| [[en:docs:win16:api:kernel:GetTempFilename]] | Create a temporary filename | | | | 1.03 | Yes |
 +| 098| [[en:docs:win16:api:kernel:GetLastDiskChange]] |  | | | | | |
 +| 099| [[en:docs:win16:api:kernel:GetLpErrMode]] |  | | | | | |
 +| 100| [[en:docs:win16:api:kernel:ValidateCodeSegments]] | | | |
 +| 101| [[en:docs:win16:api:kernel:NoHookDosCall]] | Call DOS INT 21H directly | | | | | |
 +| 102| [[en:docs:win16:api:kernel:Dos3Call]] | | | |
 +| 103| [[en:docs:win16:api:kernel:NetbiosCall]] | | | |
 +| 104| [[en:docs:win16:api:kernel:GetCodeInto]] | | | |
 +| 105| [[en:docs:win16:api:kernel:GetExeVersion]] |  | | | | | |
 +| 106| [[en:docs:win16:api:kernel:SetSwapAreaSize]] | | | |
 +| 107| [[en:docs:win16:api:kernel:SetErrorMode]] | | | | | | Yes |
 +| 108| [[en:docs:win16:api:kernel:SwitchStackTo]] | | | |
 +| 109| [[en:docs:win16:api:kernel:SwitchStackBack]] | | | |
 +| 110| [[en:docs:win16:api:kernel:PatchCodeHandle]] |  | | | | | |
 +| 111| [[en:docs:win16:api:kernel:GlobalWire]] | | | |
 +| 112| [[en:docs:win16:api:kernel:GlobalUnwire]] | | | |
 +| 113| [[en:docs:win16:api:kernel:__AHSHIFT]] |  | | | | | |
 +| 114| [[en:docs:win16:api:kernel:__AHINCR]] |  | | | | | |
 +| 115| [[en:docs:win16:api:kernel:OutputDebugString]] | | | | | | Yes |
 +| 116| [[en:docs:win16:api:kernel:InitLib]] |  | | | | | |
 +| 117| [[en:docs:win16:api:kernel:OldYield]] |  | | | | | |
 +| 118| [[en:docs:win16:api:kernel:GetTaskQueueDS]] |  | | | | | |
 +| 119| [[en:docs:win16:api:kernel:GetTaskQueueES]] |  | | | | | |
 +| 120| [[en:docs:win16:api:kernel:UndefDynLink]] |  | | | | | |
 +| 121| [[en:docs:win16:api:kernel:LocalShrink]] | | | | | | Yes |
 +| 122| [[en:docs:win16:api:kernel:IsTaskLocked]] |  | | | | | |
 +| 123| [[en:docs:win16:api:kernel:KbdRst]] |  | | | | | |
 +| 124| [[en:docs:win16:api:kernel:EnableKernel]] |  | | | | | |
 +| 125| [[en:docs:win16:api:kernel:DisableKernel]] |  | | | | | |
 +| 126| [[en:docs:win16:api:kernel:MemoryFreed]] |  | | | | | |
 +| 127| [[en:docs:win16:api:kernel:GetPrivateProfileInt]] | | | | | | Yes |
 +| 128| [[en:docs:win16:api:kernel:GetPrivateProfileString]] | | | | | | Yes |
 +| 129| [[en:docs:win16:api:kernel:WritePrivatePRofileString]] | | | | | | Yes |
 +| 130| [[en:docs:win16:api:kernel:FileCdr]] | | | |
 +| 131| [[en:docs:win16:api:kernel:GetDOSEnvironment]] | | | |
 +| 132| [[en:docs:win16:api:kernel:GetWinFlags]] | | | | | | Yes |
 +| 133| [[en:docs:win16:api:kernel:GetExePtr]] |  | | | | | |
 +| 134| [[en:docs:win16:api:kernel:GetWindowsDirectory]] | | | | | | Yes |
 +| 135| [[en:docs:win16:api:kernel:GetSystemDirectory]] | | | | | | Yes |
 +| 136| [[en:docs:win16:api:kernel:GetDriveType]] | | | | | | Yes |
 +| 137| [[en:docs:win16:api:kernel:FatalAppExit]] | | | | | | Yes |
 +| 138| [[en:docs:win16:api:kernel:GetHeapSpaces]] | | | |
 +| 139| [[en:docs:win16:api:kernel:DoSignal]] |  | | | | | |
 +| 140| [[en:docs:win16:api:kernel:SetSigHandler]] |  | | | | | |
 +| 141| [[en:docs:win16:api:kernel:InitTask1]] |  | | | | | |
 +| 142| [[en:docs:win16:api:kernel:GetProfileSectionNames]] |  | | | | | |
 +| 143| [[en:docs:win16:api:kernel:GetPrivateProfileSectionNames]] |  | | | | | |
 +| 144| [[en:docs:win16:api:kernel:CreateDirectory]] |  | | | | | |
 +| 145| [[en:docs:win16:api:kernel:RemoveDirectory]] |  | | | | | |
 +| 146| [[en:docs:win16:api:kernel:DeleteFile]] |  | | | | | |
 +| 147| [[en:docs:win16:api:kernel:SetLastError]] |  | | | | | |
 +| 148| [[en:docs:win16:api:kernel:GetLastError]] |  | | | | | |
 +| 149| [[en:docs:win16:api:kernel:GetVersionEx]] |  | | | | | |
 +| 150| [[en:docs:win16:api:kernel:DirectedYield]] | | | | | | Yes |
 +| 151| [[en:docs:win16:api:kernel:WinOldApCall]] |  | | | | | |
 +| 152| [[en:docs:win16:api:kernel:GetNumTasks]] | | | | | | Yes |
 +| 153| [[en:docs:win16:api:kernel|???]] |  | | | | | |
 +| 154| [[en:docs:win16:api:kernel:GlobalNotify]] | | | | | | Yes |
 +| 155| [[en:docs:win16:api:kernel:GetTaskDS]] |  | | | | | |
 +| 156| [[en:docs:win16:api:kernel:LimitEMSPages]] | | | |
 +| 157| [[en:docs:win16:api:kernel:GetCurPID]] |  | | | | | |
 +| 158| [[en:docs:win16:api:kernel:IsWinOldApTask]] |  | | | | | |
 +| 159| [[en:docs:win16:api:kernel:GlobalHandleNoRip]] |  | | | | | |
 +| 160| [[en:docs:win16:api:kernel:EMSCopy]] |  | | | | | |
 +| 161| [[en:docs:win16:api:kernel:LocalCountFree]] |  | | | | | |
 +| 162| [[en:docs:win16:api:kernel:LocalHeapSize]] |  | | | | | |
 +| 163| [[en:docs:win16:api:kernel:GlobalLRUOldest]] | | | | | | Yes |
 +| 164| [[en:docs:win16:api:kernel:GlobalLRUNewest]] | | | | | | Yes |
 +| 165| [[en:docs:win16:api:kernel:A20Proc]] |  | | | | | |
 +| 166| [[en:docs:win16:api:kernel:WinExec]] | | | | | | Yes |
 +| 167| [[en:docs:win16:api:kernel:GetExpWinVer]] |  | | | | | |
 +| 168| [[en:docs:win16:api:kernel:DirectResAlloc]] |  | | | | | |
 +| 169| [[en:docs:win16:api:kernel:GEtFreeSpace]] | | | | | | Yes |
 +| 170| [[en:docs:win16:api:kernel:AllocCSToDSAlisa]] | | | |
 +| 171| [[en:docs:win16:api:kernel:AllocDSToCSAlias]] | | | |
 +| 172| [[en:docs:win16:api:kernel:AllocAlias]] |  | | | | | |
 +| 173| [[en:docs:win16:api:kernel:__ROMBIOS]] | BIOS selector | | | | | |
 +| 174| [[en:docs:win16:api:kernel:__A000H]] | Selector of A000:0000 | | | | | |
 +| 175| [[en:docs:win16:api:kernel:AllocSelector]] | | | |
 +| 176| [[en:docs:win16:api:kernel:FreeSelector]] | | | |
 +| 177| [[en:docs:win16:api:kernel:PrestoChangoSelector]] | | | |
 +| 178| [[en:docs:win16:api:kernel:__WINFLAGS]] |  | | | | | |
 +| 179| [[en:docs:win16:api:kernel:__D000H]] | Selector of D000:0000 | | | | | |
 +| 180| [[en:docs:win16:api:kernel:LongPtrAdd]] |  | | | | | |
 +| 181| [[en:docs:win16:api:kernel:__B000H]] | Selector of B000:0000 | | | | | |
 +| 182| [[en:docs:win16:api:kernel:__B800H]] | Selector of B800:0000 | | | | | |
 +| 183| [[en:docs:win16:api:kernel:__0000H]] | Selector of 0000:0000 | | | | | |
 +| 184| [[en:docs:win16:api:kernel:GlobalDOSAlloc]] | Allocate memory blocks in the first megabyte address space | | |
 +| 185| [[en:docs:win16:api:kernel:GlobalDOSFree]] | Free memory blocks in the first megabyte address space | | |
 +| 186| [[en:docs:win16:api:kernel:GetSelectorBase]] | Get selector base address | | |
 +| 187| [[en:docs:win16:api:kernel:SetSelectorBase]] | Sel selector base address | | |
 +| 188| [[en:docs:win16:api:kernel:GetSelectorLimit]] | Get selector memory limit | | |
 +| 189| [[en:docs:win16:api:kernel:SetSelectorLimit]] | Set selector memory limit | | |
 +| 190| [[en:docs:win16:api:kernel:__E000H]] | Selector of E000:0000 | | | | | |
 +| 191| [[en:docs:win16:api:kernel:GlobalPageLock]] | | | |
 +| 192| [[en:docs:win16:api:kernel:GlobalPageUnlock]] | | | |
 +| 193| [[en:docs:win16:api:kernel:__0040H]] | Selector of 0040:0000 | | | | | |
 +| 194| [[en:docs:win16:api:kernel:__F000H]] | Selector of F000:0000 | | | | | |
 +| 195| [[en:docs:win16:api:kernel:__C000H]] | Selector of C000:0000 | | | | | |
 +| 196| [[en:docs:win16:api:kernel:SelectorAccessRights]] | | | |
 +| 197| [[en:docs:win16:api:kernel:GlobalFix]] | | | | | | Yes |
 +| 198| [[en:docs:win16:api:kernel:GlobalUnfix]] | | | | | | Yes |
 +| 199| [[en:docs:win16:api:kernel:SetHandleCount]] | | | | | | Yes |
 +| 200| [[en:docs:win16:api:kernel:ValidateFreeSpaces]] | | | |
 +| 201| [[en:docs:win16:api:kernel:ReplaceInst]] |  | | | | | |
 +| 202| [[en:docs:win16:api:kernel:RegisterPtrace]] |  | | | | | |
 +| 203| [[en:docs:win16:api:kernel:DebugBreak]] | | | |
 +| 204| [[en:docs:win16:api:kernel:SwapRecording]] | | | |
 +| 205| [[en:docs:win16:api:kernel:CVWBreak]] |  | | | | | |
 +| 206| [[en:docs:win16:api:kernel:AllocSelectorArray]] | | | |
 +| 207| [[en:docs:win16:api:kernel:IsDBCSLeadByte]] | | | | | | Yes |
 +| 310| [[en:docs:win16:api:kernel:LocalHandleDelta]] | Set the number of handle table entries to be allocated when the local heap manager runs out of handle table | | | | 1.03 |
 +| 320| [[en:docs:win16:api:kernel:IsTask]] | | | | | | Yes |
 +| 323| [[en:docs:win16:api:kernel:IsROMModule]] | | | |
 +| 324| [[en:docs:win16:api:kernel:LogError]] | | | |
 +| 325| [[en:docs:win16:api:kernel:LogParamError]] | | | |
 +| 326| [[en:docs:win16:api:kernel:IsROMFile]] | | | |
 +| 334| [[en:docs:win16:api:kernel:IsBadReadPtr]] | | | | | | Yes |
 +| 335| [[en:docs:win16:api:kernel:IsBadWritePtr]] | | | | | | Yes |
 +| 336| [[en:docs:win16:api:kernel:IsBadCodePtr]] | | | | | | Yes |
 +| 337| [[en:docs:win16:api:kernel:IsBadStringPtr]] | | | | | | Yes |
 +| 347| [[en:docs:win16:api:kernel:IsBadHugeWritePtr]] | | | | | | Yes |
 +| 348| [[en:docs:win16:api:kernel:hmemcpy]] | | | |
 +| 349| [[en:docs:win16:api:kernel:_hread]] | | | |
 +| 350| [[en:docs:win16:api:kernel:_hwrite]] | | | |
 +| 353| [[en:docs:win16:api:kernel:lstrcpyn]] | | | | | | Yes |
 +| 354| [[en:docs:win16:api:kernel:GetAppCompatFlags]] | | | |
 +| 355| [[en:docs:win16:api:kernel:GetWinDebugInfo]] | | | |
 +| 356| [[en:docs:win16:api:kernel:SetWinDebugInfo]] | | | |
  
 Not found in exports (check other module later): Not found in exports (check other module later):
Line 164: Line 240:
 LockData 1.03 LockData 1.03
 UnLockData 1.03 UnLockData 1.03
-SetPriority 1.03 
 AddFontResource 1.03 AddFontResource 1.03
 RemoveFontResource 1.03 RemoveFontResource 1.03
-LoadBitmap 1.03 
-LoadCursor 1.03 
-LoadIcon 1.03 
-LoadMenu 1.03 
-LoadString 1.03 
-LoadAccelerators 1.03 
-AnsiToOem 1.03 
-OemToAnsi 1.03 
  
-Module manager:  
-GETVERSION 
-GETMODULEHANDLE 
-GETMODULEUSAGE 
-GETMODULEFILENAME 
-GETPROCADDRESS 
-MAKEPROCINSTANCE 
-FREEPROCINSTANCE 
-GETINSTANCEDATA 
-CATCH 
-THROW 
-GETCODEHANDLE 
-LOADLIBRARY 
-FREELIBRARY 
- 
-Memory Manager: 
-GlobalAlloc 
-GlobalCompact 
-GlobalDiscard 
-GlobalFree 
-GlobalLock 
-GlobalReAlloc 
-GlobalSize 
-GlobalUnlock 
-GlobalFlags 
-LocalAlloc 
-LocalCompact 
-LocalDiscard 
-LocalFree 
-LocalLock 
-LocalFreeze 
-LocalMelt 
-LocalReAlloc 
-LocalSize 
-LocalUnlock 
-LocalHandleDelta 
-LockData 
-UnlockData 
-LocalFlags 
- 
-Task Scheduler: 
-GetCurrentTask 
-Yield 
-SetPriority 
- 
-Resource Manager: 
-AddFontResource 
-RemoveFontResource 
-LoadBitmap 
-LoadCursor 
-LoadIcon 
-LoadMenu 
-LoadString 
-LoadAccelerators 
-FindResource 
-LoadResource 
-AllocResource 
-LockResource 
-FreeResource 
-AccessResource 
-SizeofResource 
-SetResourceHandler 
- 
-String Translation: 
-AnsiUpper 
-AnsiLower 
-AnsiNext 
-AnsiPrev 
  
 +{{page>en:templates:win16}}