Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:docs:win16:modules:kernel [2022/11/20 06:17] – prokushev | en:docs:win16:modules:kernel [2023/10/14 03:18] (current) – prokushev |
---|
{{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). |
| |
| Note minimal checked windows version is 1.03. |
| |
^ Ordinal ^ Name ^ Description ^ Status ^^^ Version ^ ECMA-234 ^ | ^ Ordinal ^ Name ^ Description ^ Status ^^^ Version ^ ECMA-234 ^ |
| 009| [[en:docs:win16:api:kernel:LocalUnlock]] | Unlock 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 | | | 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]] | | | | | | 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 | | | 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 | | | 013| [[en:docs:win16:api:kernel:LocalCompact]] | Generate free bytes of memory by compacting, if necessary, the module's local heap | | | | 1.03 | Yes | |
| 019| [[en:docs:win16:api:kernel:GlobalUnlock]] | Unlock 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 | | | 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]] | | | | | | 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 | | | 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]] | | | | | | 023| [[en:docs:win16:api:kernel:LockSegment]] | | | | |
| 099| [[en:docs:win16:api:kernel:GetLpErrMode]] | | | | | | | | | 099| [[en:docs:win16:api:kernel:GetLpErrMode]] | | | | | | | |
| 100| [[en:docs:win16:api:kernel:ValidateCodeSegments]] | | | | | | 100| [[en:docs:win16:api:kernel:ValidateCodeSegments]] | | | | |
| 101| [[en:docs:win16:api:kernel:NoHookDosCall]] | | | | | | | | | 101| [[en:docs:win16:api:kernel:NoHookDosCall]] | Call DOS INT 21H directly | | | | | | |
| 102| [[en:docs:win16:api:kernel:Dos3Call]] | | | | | | 102| [[en:docs:win16:api:kernel:Dos3Call]] | | | | |
| 103| [[en:docs:win16:api:kernel:NetbiosCall]] | | | | | | 103| [[en:docs:win16:api:kernel:NetbiosCall]] | | | | |
| 171| [[en:docs:win16:api:kernel:AllocDSToCSAlias]] | | | | | | 171| [[en:docs:win16:api:kernel:AllocDSToCSAlias]] | | | | |
| 172| [[en:docs:win16:api:kernel:AllocAlias]] | | | | | | | | | 172| [[en:docs:win16:api:kernel:AllocAlias]] | | | | | | | |
| 173| [[en:docs:win16:api:kernel:__ROMBIOS]] | | | | | | | | | 173| [[en:docs:win16:api:kernel:__ROMBIOS]] | BIOS selector | | | | | | |
| 174| [[en:docs:win16:api:kernel:__A000H]] | | | | | | | | | 174| [[en:docs:win16:api:kernel:__A000H]] | Selector of A000:0000 | | | | | | |
| 175| [[en:docs:win16:api:kernel:AllocSelector]] | | | | | | 175| [[en:docs:win16:api:kernel:AllocSelector]] | | | | |
| 176| [[en:docs:win16:api:kernel:FreeSelector]] | | | | | | 176| [[en:docs:win16:api:kernel:FreeSelector]] | | | | |
| 177| [[en:docs:win16:api:kernel:PrestoChangoSelector]] | | | | | | 177| [[en:docs:win16:api:kernel:PrestoChangoSelector]] | | | | |
| 178| [[en:docs:win16:api:kernel:__WINFLAGS]] | | | | | | | | | 178| [[en:docs:win16:api:kernel:__WINFLAGS]] | | | | | | | |
| 179| [[en:docs:win16:api:kernel:__D000H]] | | | | | | | | | 179| [[en:docs:win16:api:kernel:__D000H]] | Selector of D000:0000 | | | | | | |
| 180| [[en:docs:win16:api:kernel:LongPtrAdd]] | | | | | | | | | 180| [[en:docs:win16:api:kernel:LongPtrAdd]] | | | | | | | |
| 181| [[en:docs:win16:api:kernel:__B000H]] | | | | | | | | | 181| [[en:docs:win16:api:kernel:__B000H]] | Selector of B000:0000 | | | | | | |
| 182| [[en:docs:win16:api:kernel:__B800H]] | | | | | | | | | 182| [[en:docs:win16:api:kernel:__B800H]] | Selector of B800:0000 | | | | | | |
| 183| [[en:docs:win16:api:kernel:__0000H]] | | | | | | | | | 183| [[en:docs:win16:api:kernel:__0000H]] | Selector of 0000:0000 | | | | | | |
| 184| [[en:docs:win16:api:kernel:GlobalDOSAlloc]] | | | | | | 184| [[en:docs:win16:api:kernel:GlobalDOSAlloc]] | Allocate memory blocks in the first megabyte address space | | | |
| 185| [[en:docs:win16:api:kernel:GlobalDOSFree]] | | | | | | 185| [[en:docs:win16:api:kernel:GlobalDOSFree]] | Free memory blocks in the first megabyte address space | | | |
| 186| [[en:docs:win16:api:kernel:GetSelectorBase]] | | | | | | 186| [[en:docs:win16:api:kernel:GetSelectorBase]] | Get selector base address | | | |
| 187| [[en:docs:win16:api:kernel:SetSelectorBase]] | | | | | | 187| [[en:docs:win16:api:kernel:SetSelectorBase]] | Sel selector base address | | | |
| 188| [[en:docs:win16:api:kernel:GetSelectorLimit]] | | | | | | 188| [[en:docs:win16:api:kernel:GetSelectorLimit]] | Get selector memory limit | | | |
| 189| [[en:docs:win16:api:kernel:SetSelectorLimit]] | | | | | | 189| [[en:docs:win16:api:kernel:SetSelectorLimit]] | Set selector memory limit | | | |
| 190| [[en:docs:win16:api:kernel:__E000H]] | | | | | | | | | 190| [[en:docs:win16:api:kernel:__E000H]] | Selector of E000:0000 | | | | | | |
| 191| [[en:docs:win16:api:kernel:GlobalPageLock]] | | | | | | 191| [[en:docs:win16:api:kernel:GlobalPageLock]] | | | | |
| 192| [[en:docs:win16:api:kernel:GlobalPageUnlock]] | | | | | | 192| [[en:docs:win16:api:kernel:GlobalPageUnlock]] | | | | |
| 193| [[en:docs:win16:api:kernel:__0040H]] | | | | | | | | | 193| [[en:docs:win16:api:kernel:__0040H]] | Selector of 0040:0000 | | | | | | |
| 194| [[en:docs:win16:api:kernel:__F000H]] | | | | | | | | | 194| [[en:docs:win16:api:kernel:__F000H]] | Selector of F000:0000 | | | | | | |
| 195| [[en:docs:win16:api:kernel:__C000H]] | | | | | | | | | 195| [[en:docs:win16:api:kernel:__C000H]] | Selector of C000:0000 | | | | | | |
| 196| [[en:docs:win16:api:kernel:SelectorAccessRights]] | | | | | | 196| [[en:docs:win16:api:kernel:SelectorAccessRights]] | | | | |
| 197| [[en:docs:win16:api:kernel:GlobalFix]] | | | | | | Yes | | | 197| [[en:docs:win16:api:kernel:GlobalFix]] | | | | | | Yes | |
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 | |
MAKEINTATOM 1.03 (Macro?) | |
| |
{{page>en:templates:win16}} | {{page>en:templates:win16}} |