Post · 8 min read· pp. 187–192

Kernel Exports Added For Version 3.51

The table below lists the 103 functions and variables that are newly exported from the the Windows kernel for the original release of version 3.51. All but seven are still exported in version 10.0. Also listed are four which first appear in version 3.51 but after its original release. One was added for SP1 or SP2 (the former having not been found for inspection). Three more first appear in SP5, i.e., are not exported from SP4.

For the table below, documentation status is summarised by colour coding so that more detail can be given as Remarks with less text. (If you read this website with scripts enabled, then hovering the mouse over any coloured text will produce a tooltip that shows why the text is coloured.) Functions that have their own non-trivial documentation are shown with no background colour. If the function is documented as reserved or obsolete, it is shaded red or shaded grey, respectively. Functions that appear to be completely undocumented are highlighted yellow. If a function is documented now but was not documented in the first contemporaneous Device Driver Kit (DDK), Windows Driver Kit (WDK) or Installable File System (IFS) Kit, then it is shaded yellow to retain some of its previous status. Many undocumented functions do at least have C-language declarations in one or another header file from the WDK. These are shaded orange, except for one special case. Some declarations are known only from “minwin” headers that Microsoft published in early editions of the WDK for Windows 10 which seem since to have been withdrawn. These are highlighted orange to indicate that public knowledge even of the declaration is exceptional.

FunctionExport HistoryDocumentation HistoryDeclaration History
DbgPromptbefore 6.0, undocumented
ExAcquireSharedStarveExclusivesince 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
ExCreateCallbackbefore 5.0, declared since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
ExEventObjectType (data)before 4.0, undocumented since 5.0, indirectly documented
ExNotifyCallbackbefore 5.0, declared since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
ExPostSystemEventdiscontinued in 5.0
ExRaiseAccessViolationbefore 5.0, declared since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
ExRaiseDatatypeMisalignmentbefore 5.0, declared since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
ExRaiseException
ExRegisterCallbackbefore 5.0, declared since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
ExReinitializeResourceLitesince 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
ExUnregisterCallbackbefore 5.0, declared since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0

As with most exported variables, ExEventObjectType is not itself documented. Starting with the DDK for Windows 2000, however, it gets mentioned in the documentation of exported functions such as ObReferenceObjectByHandle from its being intended as an argument.

FunctionExport HistoryDocumentation HistoryDeclaration History
FsRtlPostPagingFileStackOverflowbefore 5.0 (IFS), undocumented since 6.1, documented start is 5.0since 6.0, declared start is 5.0
HalDispatchTable (data)
HalPrivateDispatchTable (data)
InterlockedDecrementx86 onlysince 6.1 revision, documented start is 5.0
InterlockedExchangex86 onlysince 6.1 revision, documented start is 5.0
InterlockedIncrementx86 onlysince 6.1 revision, documented start is 5.0
IoDriverObjectType (data)
IoGetAttachedDevicebefore 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
IoQueryFileInformationbefore 5.0 (IFS), undocumented before 5.1 (IFS) to 6.0, declaredsince 6.0, declared start is 5.0
IoQueryVolumeInformationbefore 5.0 (IFS), undocumented before 5.1 (IFS) to 6.0, declaredsince 6.0, declared start is 5.0
IoRegisterFsRegistrationChangebefore 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
IoUnregisterFsRegistrationChangebefore 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
KeAddSystemServiceTable
KeI386Call16BitFunctionx86 only; discontinued in 6.2
KeI386ReleaseGdtSelectorsx86 only; discontinued in 6.2
KeI386SetGdtSelectorx86 only; discontinued in 6.2
KeInsertHeadQueuebefore 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
KeProfileInterruptWithSource
KePulseEventbefore 5.0, undocumented since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
KeServiceDescriptorTable (data)since 5.2 SP2, x86 only
KeSetDmaIoCoherency
KeSetImportanceDpcbefore 5.0, declared since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
KeSetTargetProcessorDpcbefore 5.0, declared since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
KeUserModeCallback

Of the few kernel exports that have ever been discontinued selectively, KeServiceDescriptorTable is the oldest. It exists in all x64 kernels but it very plausibly was never meant to be exported from any. That it is exported from the very first x64 kernel, i.e., version 5.2 SP1, is perhaps an oversight which was corrected as soon as SP2.

FunctionExport HistoryDocumentation HistoryDeclaration History
LdrAccessResource
LdrEnumResources
LdrFindResource_U
LpcRequestPort
MmAdjustWorkingSetSize
MmCreateSectiondeclared start is 5.0
MmLockPagableDataSectionsince 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
MmLockPagableSectionByHandlesince 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
MmMapViewInSystemSpacebefore 5.1, declaredsince 6.0, declared start is 5.0
MmMapViewOfSection
MmPageEntireDriversince 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
MmResetDriverPagingsince 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
MmSectionObjectType (data)
MmSecureVirtualMemorybefore 5.1, declared since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
MmSetBankedSection
MmUnmapViewInSystemSpacebefore 5.1, declaredsince 6.0, declared start is 5.0
MmUnmapViewOfSection
MmUnsecureVirtualMemorybefore 5.1, declared since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
NtAllocateUuids
NtBuildNumber
PoQueryPowerSequencediscontinued in 5.0
PoRegisterDeviceForIdleDetectiondiscontinued in 4.0; restored in 5.0before 5.0, undocumented since 6.1 revision, documented start is 5.0since 6.0, declared start is 5.0
PoRequestPowerChangediscontinued in 5.0
PsEstablishWin32Callouts
PsLookupProcessByProcessIdbefore 5.1 (IFS) to 6.0, undocumented documented start is 5.0
PsLookupThreadByThreadIdbefore 5.1 (IFS) to 6.0, undocumented documented start is 5.0
PsReferenceImpersonationTokenbefore 5.1 (IFS), undocumented in 6.0, documented start is 5.1 since 6.1, documented start is 5.0since 6.0, declared start is 5.0
PsReferencePrimaryTokenbefore 5.1 (IFS), undocumented in 6.0, documented start is 5.1 since 6.1, documented start is 5.0since 6.0, declared start is 5.0
PsSetProcessPriorityByClass
RtlAddAcebefore 5.1 (IFS) to 6.0, undocumented documented start is 5.2 SP1since 6.0, declared start is 5.0
RtlAllocateAndInitializeSiddiscontinued in 5.0before 5.1 (IFS) to 6.0, undocumentedsince 6.0, declared start is 5.0
RtlAreAllAccessesGranted
RtlCaptureStackBackTracebefore 5.1 (IFS) to 6.0, undocumented before 6.1, declared documented start is 5.1since 6.0, declared start is 5.1
RtlCreateUnicodeStringbefore 5.0 (IFS), undocumented since 5.1 (IFS) to 6.0, documented start is 5.0before 5.1 (IFS) to 6.0, not declared since 6.0, declared start is 5.0
RtlFindMessage
RtlFormatCurrentUserKeyPath
RtlImageNtHeader
RtlInitializeSidbefore 5.0 (IFS), undocumented since 5.1 (IFS) to 6.0, documented start is 5.0before 5.1 (IFS) to 6.0, not declared since 6.0, declared start is 5.0
RtlIntegerToChar
RtlIsNameLegalDOS8Dot3starts in SP2before 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
RtlMultiByteToUnicodeNbefore 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
RtlSetSaclSecurityDescriptor
RtlUnicodeStringToIntegersince 6.1 revision, documented start is 5.0before 4.0, not declared since 6.0, declared start is 5.0
RtlUnicodeToMultiByteSizebefore 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
RtlZeroHeap

By the time RtlAllocateAndInitializeSid got documented in the WDK, the kernel had stopped exporting it. Even in the two versions that do have it as a kernel-mode export, no kernel-mode use of it is known. In user mode, the function is exported from NTDLL in all versions.

FunctionExport HistoryDocumentation HistoryDeclaration History
SeCaptureSecurityDescriptordeclared start is 5.0
SeCloseObjectAuditAlarm
SeCreateAccessState
SeDeleteAccessState
SeMarkLogonSessionForTerminationNotificationstarts in SP5before 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
SePrivilegeCheckbefore 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
SePrivilegeObjectAuditAlarm
SeRegisterLogonSessionTerminatedRoutinestarts in SP5before 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
SeReleaseSecurityDescriptordeclared start is 5.0
SeUnregisterLogonSessionTerminatedRoutinestarts in SP5before 5.0 (IFS), undocumentedsince 6.0, declared start is 5.0
ZwAlertThread
ZwClearEvent
ZwCreateTimerdiscontinued in 4.0; restored in 5.0before 4.0, undocumented before 6.0, declaredsince 6.0, declared start is 5.0
ZwDuplicateTokenbefore 6.1, undocumented documented start is 5.0
ZwNotifyChangeKeybefore 5.1 (IFS) to 6.0, undocumented before 6.1, declared documented start is 5.1since 6.0, declared start is 5.0
ZwOpenProcessbefore 6.0, undocumented since 6.1 revision, documented start is 5.0
ZwOpenThread
ZwPulseEvent
ZwQueryInformationProcess
ZwQuerySecurityObjectbefore 5.1 (IFS), undocumented documented start is 5.1since 6.0, declared start is 5.0
ZwResetEvent
ZwSetDefaultLocale
ZwSetSystemInformation
ZwSetTimerdiscontinued in 4.0; restored in 5.0before 4.0, undocumented before 6.0, declaredsince 6.0, declared start is 5.0
ZwWaitForMultipleObjects