Post · 15 min read· pp. 256–272

Kernel Exports Added for Version 6.0

The large table on this page lists the 375 exports that were added to the Windows kernel for version 6.0., i.e., for the original Windows Vista. These represent by far the biggest change in the kernel’s exported functionality over the whole history of Windows.

Also listed are 35 additions for Windows Vista SP1 and Windows Server 2008. This is among the largest of changes for a service pack. Curiously, twenty functions from the original do not survive. Windows Vista SP2 was much more typical as a service pack: it contributes one more to the list.

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.

Barely a sixth of these new exports for version 6.0 were documented for the contemporaneous WDK, though many more have got documented since. Most are then said (correctly) to be available starting with Windows Vista, but without even hinting that this availability was not generally disclosed until a later WDK. One function is documented only as being reserved. Not quite half of the new functions, and five exports of data, are undocumented but with declarations in one or another of the WDK header files. Declarations, both of these and the documented functions, are mostly for Windows Vista and higher, but some have no version constraint and a few are declared for much older versions. The other third of the new functions had neither documentation nor declaration for nearly a decade. Then, though possibly only as an oversight, Microsoft published declarations for very many of them!

FunctionDocumentation History
AlpcGetHeaderSize
AlpcGetMessageAttribute
AlpcInitializeMessageAttribute
CcGetFileObjectFromSectionPtrsRefbefore 6.1 revision, undocumented
CcIsThereDirtyDataExbefore 6.1, undocumented
CcSetFileSizesEx
CcSetParallelFlushFile
CcTestControl
CmCallbackGetKeyObjectID
CmGetBoundTransaction
CmGetCallbackVersion
CmRegisterCallbackEx
CmSetCallbackObjectContext
DbgSetDebugPrintCallback
EmClientQueryRuleStatebefore 6.2, declared
EmClientRuleDeregisterNotificationbefore 6.2, declared
EmClientRuleEvaluatebefore 6.2, declared
EmClientRuleRegisterNotificationbefore 6.2, declared
EmProviderDeregisterbefore 6.2, declared
EmProviderDeregisterEntrybefore 6.2, declared
EmProviderRegisterbefore 6.2, declared
EmProviderRegisterEntrybefore 6.2, declared
EmpProviderRegister

To be clear, for the situation is unusual, the small family of Em functions started as declared but undocumented, and then those declarations disappear (from WDM.H). Their only known public disclosure by Microsoft since Windows 8 is the NTOSP.H from early editions of the WDK for Windows 10.

FunctionExport HistoryDocumentation History
EtwActivityIdControl
EtwEnableTrace
EtwEventEnabled
EtwProviderEnabled
EtwRegister
EtwRegisterClassicProviderstarts in SP1
EtwSendTraceBufferstarts in SP1
EtwUnregister
EtwWrite
EtwWriteEndScenario
EtwWriteStartScenario
EtwWriteString
EtwWriteTransfer
ExAcquireCacheAwarePushLockExclusive
ExAcquireSpinLockExclusivestarts in SP1before 6.2, undocumented
ExAcquireSpinLockExclusiveAtDpcLevelstarts in SP1before 6.2, undocumented
ExAcquireSpinLockSharedstarts in SP1before 6.2, undocumented
ExAcquireSpinLockSharedAtDpcLevelstarts in SP1before 6.2, undocumented
ExAllocateCacheAwarePushLock
ExDeleteLookasideListExbefore 6.1 revision, declared
ExEnterPriorityRegionAndAcquireResourceExclusivestarts in SP1
ExEnterPriorityRegionAndAcquireResourceSharedstarts in SP1
ExFetchLicenseData
ExFlushLookasideListExbefore 6.1 revision, declared
ExFreeCacheAwarePushLock
ExGetLicenseTamperState
ExInitializeLookasideListExbefore 6.1 revision, declared
ExInitializePushLockbefore 1809, declared documented start is 1809
ExReleaseCacheAwarePushLockExclusive
ExReleaseResourceAndLeavePriorityRegionstarts in SP1
ExReleaseSpinLockExclusivestarts in SP1before 6.2, undocumented
ExReleaseSpinLockExclusiveFromDpcLevelstarts in SP1before 6.2, undocumented
ExReleaseSpinLockSharedstarts in SP1before 6.2, undocumented
ExReleaseSpinLockSharedFromDpcLevelstarts in SP1before 6.2, undocumented
ExSetLicenseTamperState
ExTryConvertSharedSpinLockExclusivestarts in SP1before 6.2, undocumented
ExUpdateLicenseDatadiscontinued in 6.2; restored in 10.0 and higher
ExfTryAcquirePushLockShared

Somehow I must have missed Microsoft’s documentation of ExInitializePushLock in an online inspection on 13th October 2018. As I find it today, 17th September 2020, it’s not only there but is dated 30th September 2018. Presumably, it was documented concurrently with the 1809 release of Windows 10. Either that or some reason should be found for why Microsoft says that a (simple) function from 2006 needs a kernel from 2018.

FunctionDocumentation History
FirstEntrySListin 5.1 and 5.2, declared

The FindEntrySList function is declared in both WDM.H and NTDDK.H before it is ever exported from the kernel or documented.

FunctionExport HistoryDocumentation History
FsRtlAcknowledgeEcpbefore 6.1, declared
FsRtlAddBaseMcbEntryExbefore 2018, declared
FsRtlAllocateExtraCreateParameterbefore 6.1, declared
FsRtlAllocateExtraCreateParameterFromLookasideListbefore 6.1 revision, declared
FsRtlAllocateExtraCreateParameterListbefore 6.1, declared
FsRtlAreVolumeStartupApplicationsCompletebefore 6.1, declared
FsRtlCancellableWaitForMultipleObjects
FsRtlCancellableWaitForSingleObject
FsRtlChangeBackingFileObject
FsRtlCheckOplockExstarts in SP1documented start is 6.0
FsRtlCurrentOplockbefore 6.1, declared
FsRtlDeleteExtraCreateParameterLookasideListbefore 6.1 revision, declared
FsRtlFindExtraCreateParameterbefore 6.1, declared
FsRtlFreeExtraCreateParameterbefore 6.1, declared
FsRtlFreeExtraCreateParameterListbefore 6.1, declared
FsRtlGetEcpListFromIrpbefore 6.1, declared
FsRtlGetNextExtraCreateParameterbefore 6.1, declared
FsRtlIncrementCcFastMdlReadWaitbefore 6.2, declared
FsRtlInitExtraCreateParameterLookasideListbefore 6.1 revision, declared
FsRtlInitializeBaseMcbExbefore 2018, declared
FsRtlInsertExtraCreateParameterbefore 6.1, declared
FsRtlInsertPerFileContextbefore 6.2, declared
FsRtlIsEcpAcknowledgedbefore 6.1, declared
FsRtlIsEcpFromUserModebefore 6.1 revision, declared
FsRtlLogCcFlushErrorbefore 6.2, declared
FsRtlLookupPerFileContextbefore 6.2, declared
FsRtlMupGetProviderIdFromNamebefore 6.1, declared
FsRtlMupGetProviderInfoFromFileObjectbefore 6.1, declared
FsRtlNotifyCleanupAllbefore 6.2, declared
FsRtlNotifyVolumeEventExbefore 6.2, declared
FsRtlOplockBreakToNonebefore 6.1, declared
FsRtlRegisterFltMgrCalls
FsRtlRegisterMupCalls
FsRtlRegisterUncProviderEx
FsRtlRemoveDotsFromPathbefore 6.2, declared
FsRtlRemoveExtraCreateParameterbefore 6.1, declared
FsRtlRemovePerFileContextbefore 6.2, declared
FsRtlSetEcpListIntoIrpbefore 6.1 revision, declared
FsRtlTeardownPerFileContextsbefore 6.2, declared
FsRtlValidateReparsePointBufferbefore 6.2, declared

See in general that merging the IFS Kit into the WDK for Windows Vista did little, if anything, for getting newly added FsRtl functions documented. Almost all are declared in the NTIFS.H which the merger brought into much wider circulation, but almost all had to wait for the next WDK—and many for the one after—before they become documented.

Version 6.0 adds two functions that work with the BASE_MCB structure, which version 5.2 extracted from the older LARGE_MCB. As with the original BASE_MCB fuctions, these additions were declared in NTIFS.H but left out of the documentation. They looked to be still undocumented when checking online on 13th October 2018. Now in 2020, Microsoft’s website has documentation of them, both dated 19th October 2018.

FunctionExport HistoryDocumentation HistoryDeclaration History
HvlQueryConnection
IoAllocateMiniCompletionPacket
IoAllocateSfioStreamIdentifier
IoApplyPriorityInfoThreadbefore 6.2, undocumented
IoCallDriverStackSafediscontinued in 6.1
IoCheckShareAccessExbefore 6.2, declared documented start is 6.1
IoClearDependencystarts in SP1; discontinued in 1703declared start is 6.3
IoClearIrpExtraCreateParameter
IoConnectInterruptEx
IoCreateArcName
IoCreateFileEx
IoDeleteAllDependencyRelationsstarts in SP1; discontinued in 1703declared start is 6.3
IoDisconnectInterruptEx
IoDuplicateDependencystarts in SP1declared start is 6.3
IoFreeMiniCompletionPacket
IoFreeSfioStreamIdentifier
IoGetBootDiskInformationLite
IoGetDevicePropertyDatabefore 6.1, declared
IoGetIoPriorityHint
IoGetIrpExtraCreateParameter
IoGetSfioStreamIdentifier
IoGetSymLinkSupportInformationstarts in SP2
IoGetTransactionParameterBlock
IoInitializeWorkItem
IoIsFileObjectIgnoringSharingbefore 6.2, declared
IoQueueWorkItemEx
IoReplacePartitionUnitstarts in SP1
IoRequestDeviceEjectEx
IoRetrievePriorityInfobefore 6.2, undocumented
IoSetDependencystarts in SP1declared start is 6.3
IoSetDevicePropertyDatabefore 6.1, declared
IoSetIoCompletionEx
IoSetIoPriorityHint
IoSetIoPriorityHintIntoFileObject
IoSetIoPriorityHintIntoThread
IoSetIrpExtraCreateParameter
IoSetShareAccessExbefore 6.2, declared documented start is 6.1
IoSizeofWorkItem
IoUninitializeWorkItem
IoWithinStackLimitsbefore 6.1, declared

The IoConnectInterruptEx and IoDisconnectInterruptEx functions are also implemented in a statically linked library—in this case, iointex.lib—for use by new drivers that run on older versions.

FunctionExport HistoryDocumentation History
KeAlertThread
KeAllocateCalloutStack
KeDeregisterProcessorChangeCallbackstarts in SP1
KeExpandKernelStackAndCalloutExbefore 6.1 revision, undocumented in 6.1 revision, documented but not declared
KeFreeCalloutStack
KeInvalidateRangeAllCaches
KeQueryActiveProcessorCount
KeQueryDpcWatchdogInformationbefore 6.1, declared
KeQueryMaximumProcessorCountbefore 6.1, declared
KeRegisterProcessorChangeCallbackstarts in SP1
KeRemoveQueueExstarts in SP1
KeRevertToUserAffinityThreadExbefore 6.1, declared
KeSetActualBasePriorityThread
KeSetSystemAffinityThreadExbefore 6.1, declared
KeStartDynamicProcessorbefore 6.1, declared
KeTestAlertThreadstarts in SP1

Though KeRemoveQueueEx is not exported from the version 6.0 kernel before SP1, it plausibly was meant to be. It is declared in NTIFS.H from the WDK for Windows Vista and the original version 6.0 kernel not only has it as an internal routine but as the effective implementation of the old, documented KeRemoveQueue.

The undocumented KeStartDynamicProcessor is declared in the WDM.H from the WDK for Windows Vista, and then its declaration disappears except in the presumably accidental disclosure of NTOSP.H by Microsoft in early editions of the WDK for Windows 10.

FunctionExport HistoryDocumentation HistoryDeclaration History
LdrFindResourceEx_U
LdrResFindResource
LdrResFindResourceDirectory
LdrResSearchResource
LpcReplyWaitReplyPort
LpcRequestWaitReplyPortEx
LpcSendWaitReceivePort
MmAllocateContiguousMemorySpecifyCacheNodebefore 6.1, declaredbefore 6.2, declared start is 5.0
MmBadPointer (data)before 6.1, declaredsince 6.3, deprecated
MmCopyVirtualMemory
MmIsDriverVerifyingByAddressbefore 6.1, declared
MmRotatePhysicalView
MmSetUserExceptionCalloutdiscontinued in 6.1

Starting with the WDK for Windows 8.1, Microsoft formally deprecates the MmBadPointer variable’s declaration in favour of an MM_BAD_POINTER macro. A historical survey might be content with this, perhaps adding for completeness that the macro is not documented in and of itself. Indeed, in the downloadable package of WDK documentation for Windows 8.1 to integrate into Visual Studio, and again for Windows 10, the page for the variable has a link for the macro but the link is broken. More is going on here than mere untidiness. For background, remember that exported variables are imported as pointers. This can cause programmers something between an inconvenience and a complication. To help, Microsoft sometimes hides the declared variable behind a documented macro, as with KD_DEBUGGER_ENABLED for KdDebuggerEnabled. But the superseding of MmBadPointer by MM_BAD_POINTER is not for convenience. It is instead a correction: MmBadPointer was documented for use as a variable but its declaration is only what works for the kernel. For an importing module, the declaration is faulty. The variable is meant to hold an address that is guaranteed to be bad but using it as documented, and as done by Microsoft’s own RDBSS.SYS driver in versions 6.0 to 6.2 inclusive, instead produces an address that is certain to be good (being an address in the kernel’s data).

FunctionExport HistoryDocumentation HistoryDeclaration History
NtBuildGUID (data)
NtBuildLab (data)
NtClearAllSavepointsTransactiondiscontinued in SP1
NtClearSavepointTransactiondiscontinued in SP1
NtCommitCompletebefore 6.1, declared before 6.2, reserved
NtCommitEnlistmentbefore 6.1, declared before 6.2, reserved
NtCommitTransactionbefore 6.1, declared before 6.2, reserved
NtCreateEnlistmentbefore 6.1, declared before 6.2, reserved
NtCreateResourceManagerbefore 6.1, declared before 6.2, reserved
NtCreateTransactionbefore 6.1, declared before 6.2, reserved
NtEnumerateTransactionObjectbefore 6.1, declared before 6.2, reserved
NtFreezeTransactions
NtGetEnvironmentVariableExstarts in SP1
NtGetNotificationResourceManagerbefore 6.1, declared before 6.2, reserved
NtMarshallTransactiondiscontinued in SP1
NtOpenEnlistmentbefore 6.1, declared before 6.2, reserved
NtOpenResourceManagerbefore 6.1, declared before 6.2, reserved
NtOpenTransactionbefore 6.1, declared before 6.2, reserved
NtPrePrepareEnlistmentbefore 6.1, declared before 6.2, reserved
NtPrepareCompletebefore 6.1, declared before 6.2, reserved
NtPrepareEnlistmentbefore 6.1, declared before 6.2, reserved
NtPullTransactiondiscontinued in SP1
NtQueryEnvironmentVariableInfoExstarts in SP1
NtQueryInformationEnlistmentbefore 6.1, declared before 6.2, reserved
NtQueryInformationResourceManagerbefore 6.1, declared before 6.2, reserved
NtQueryInformationTransactionbefore 6.1, declared before 6.2, reserved
NtQueryInformationTransactionManagerbefore 6.1, declared before 6.2, reserved
NtRollbackEnlistmentbefore 6.1, declared before 6.2, reserved
NtRollbackTransactionbefore 6.1, declared before 6.2, reserved
NtSavepointCompletediscontinued in SP1
NtSavepointTransactiondiscontinued in SP1
NtSetInformationEnlistmentbefore 6.1, declared before 6.2, reserved
NtSetInformationResourceManagerbefore 6.1, declared before 6.2, reserved
NtSetInformationTransactionbefore 6.1, declared before 6.2, reserved
NtStartTmdiscontinued in SP1
NtThawTransactions
NtTraceControl

Functions whose names begin with Nt correspond closely with functions whose names have the Zw prefix instead (see below). Put aside some general points about how the two differ, and documentation of the Nt function is to a large extent implied by documentation of the Zw. Microsoft started making this explicit some time after releasing the WDK for Windows Vista. Perhaps not coincidentally, Windows Vista had just brought by far the largest addition yet of Nt functions, but since the documentation for Windows Vista leaves them alone they are here taken to have been initially undocumented or declared. Documentation in the WDK for Windows 7 gives each Nt function its own page and directs attention to the page for the corresponding Zw function. The latter might be thought to count for both, except that the former warns expressly “Do not call this routine from kernel-mode code.” This is here taken as documenting the Nt functions as reserved (certainly for kernel-mode use, which is this survey’s focus). Microsoft loosened the text significantly for Windows 8 to note that the Nt and Zw versions “can behave differently”, which is here taken as formally permitting their use, such that they are no longer documented as reserved.

Whatever the reason that several Nt functions for the new Transaction Manager feature do not survive to the first service pack, they weren’t born in some experimental backwater: though none were documented, all but one was declared.

FunctionExport HistoryDocumentation HistoryDeclaration History
ObDereferenceObjectDeferDeletebefore 6.1, declared
ObGetFilterVersionstarts in SP1
ObIsKernelHandlebefore 6.1, declared
ObRegisterCallbacksstarts in SP1
ObUnRegisterCallbacksstarts in SP1
POGOBuffer (data)
PfFileInfoNotify
PoDisableSleepStates
PoGetSystemWake
PoReenableSleepStates
PoRegisterPowerSettingCallback
PoSetDeviceBusyExstarts in SP1
PoSetFixedWakeSource
PoSetSystemWake
PoUnregisterPowerSettingCallback
PoUserShutdownInitiated
PsAcquireProcessExitSynchronization
PsChargeProcessCpuCyclesdiscontinued in 6.1 (x64); discontinued in 6.2 (x86)
PsEnterPriorityRegion
PsIsCurrentThreadPrefetching
PsIsProtectedProcess
PsLeavePriorityRegion
PsQueryProcessExceptionFlagsstarts in SP1
PsReferenceProcessFilePointer
PsReleaseProcessExitSynchronization
PsResumeProcess
PsSetCreateProcessNotifyRoutineExstarts in SP1
PsSetCurrentThreadPrefetching
PsSuspendProcess
PsUILanguageComitted (data)
RtlCmDecodeMemIoResource
RtlCmEncodeMemIoResource
RtlCompareAltitudes
RtlComputeCrc32
RtlCopyLuidAndAttributesArray
RtlCopySidAndAttributesArray
RtlDuplicateUnicodeStringdeclared start is 5.1
RtlFindClosestEncodableLength
RtlFormatMessage
RtlGetIntegerAtom
RtlGetProductInfo
RtlGetThreadLangIdByIndex
RtlIdnToAscii
RtlIdnToNameprepUnicode
RtlIdnToUnicode
RtlInvertRangeListEx
RtlIoDecodeMemIoResource
RtlIoEncodeMemIoResource
RtlIsNormalizedString
RtlIsNtDdiVersionAvailable
RtlIsServicePackVersionInstalled
RtlLocalTimeToSystemTime
RtlLookupFirstMatchingElementGenericTableAvlbefore 6.2, declareddeclared start is 5.1
RtlNormalizeString
RtlNumberOfSetBitsUlongPtrbefore 6.2, declared
RtlQueryDynamicTimeZoneInformation
RtlQueryElevationFlags
RtlQueryModuleInformation
RtlRunOnceBeginInitialize
RtlRunOnceComplete
RtlRunOnceExecuteOnce
RtlRunOnceInitialize
RtlSetDynamicTimeZoneInformation
RtlSidHashInitialize
RtlSidHashLookup
RtlSystemTimeToLocalTime
RtlValidateUnicodeStringdeclared start is 5.1

When first introduced, the RtlIsNtDdiVersionAvailable and RtlIsServicePackVersionInstalled functions were all but useless except if supported through a statically linked library. To the caller who imports these functions from the kernel, the documentation’s suggestions of testing for availability back to Windows 2000 is at best redundant because the caller necessarily is running on version 6.0 or higher. To a driver written for Windows Vista but capable of downgrading its expectations to whatever Windows it finds itself running on, these functions are useful only if the driver gets them from a statically linked library. The WDK supplies the library, named RTLVER.LIB, and has the headers arrange that building for a target operating system older than Windows Vista will need the library. The documentation, however, gives only the smallest hint of any of this—for no explained reason, these functions “Link to Rtlver.lib and Wdmsec.lib”—until an explanatory paragraph was added to the WDK for Windows 8. Do not miss the irony that by this time the WDK had stopped supporting the building of drivers for versions older than Windows Vista.

FunctionExport HistoryDocumentation History
SeAccessCheckFromState
SeAuditHardLinkCreationWithTransaction
SeAuditTransactionStateChange
SeCaptureSubjectContextExbefore 10.0, undocumented
SeCloseObjectAuditAlarmForNonObObject
SeComputeAutoInheritByObjectType
SeCreateAccessStateEx
SeDeleteObjectAuditAlarmWithTransaction
SeExamineSacl
SeGetLinkedToken
SeLocateProcessImageName
SeOpenObjectAuditAlarmForNonObObject
SeOpenObjectAuditAlarmWithTransaction
SeOpenObjectForDeleteAuditAlarmWithTransaction
SeReportSecurityEventWithSubCategory
SeSetAuthorizationCallbacks
TmCancelPropagationRequestbefore 6.1, declared
TmCommitCompletebefore 6.1, declared
TmCommitEnlistmentbefore 6.1, declared
TmCommitTransactionbefore 6.1, declared
TmCreateEnlistmentbefore 6.1, declared
TmCurrentTransactionbefore 6.1, declared
TmDefaultTmOpenFileCountdiscontinued in SP1
TmDereferenceEnlistmentKeybefore 6.1, declared
TmEnableCallbacksbefore 6.1, declared
TmEndPropagationRequestbefore 6.1, declared
TmEnlistmentObjectType (data)since 6.1, indirectly documented
TmFreezeTransactionsbefore 6.1, declared
TmGetTransactionIdbefore 6.1, declared
TmInitDefaultTemporaryTmdiscontinued in SP1
TmInitSystembefore 6.1, declared
TmInitSystemPhase2before 6.1, declared
TmInitializeResourceManagerdiscontinued in 6.2
TmInitializeTransactiondiscontinued in 6.2
TmIsTransactionActivebefore 6.1, declared
TmMarshallTransactiondiscontinued in SP1
TmPrePrepareCompletebefore 6.1, declared
TmPrePrepareEnlistmentbefore 6.1, declared
TmPrepareCompletebefore 6.1, declared
TmPrepareEnlistmentbefore 6.1, declared
TmPropagationComplete
TmPropagationFailed
TmPullTransactiondiscontinued in SP1
TmReadOnlyEnlistmentbefore 6.1, declared
TmRecoverEnlistmentbefore 6.1, declared
TmRecoverResourceManagerbefore 6.1, declared
TmRecoverTransactionManagerbefore 6.1, declared
TmReferenceEnlistmentKeybefore 6.1, declared
TmRequestOutcomeEnlistmentbefore 6.1, declared
TmResourceManagerObjectType (data)since 6.1, indirectly documented
TmRmIsNotificationQueueEmpty_Temporarydiscontinued in SP1
TmRollbackCompletebefore 6.1, declared
TmRollbackEnlistmentbefore 6.1, declared
TmRollbackTransactionbefore 6.1, declared
TmSavepointCompletediscontinued in SP1
TmSavepointTransactiondiscontinued in SP1
TmSetCurrentTransactionbefore 6.1, declared
TmSetPreviousModeToKerneldiscontinued in SP1
TmThawTransactionsbefore 6.1, declared
TmTransactionManagerObjectType (data)since 6.1, indirectly documented
TmTransactionObjectType (data)since 6.1, indirectly documented
TmpIsKTMCommitCoordinatorstarts in SP1; discontinued in 6.2

As with most exported variables, TmEnlistmentObjectType , TmResourceMangerObjectType, TmTransactionManagerObjectType and TmTransactionObjectType are not themselves documented. Starting with the WDK for Windows 7, however, they get mentioned in the documentation of exported functions such as ObReferenceObjectByHandle from being intended as an argument.

FunctionExport HistoryDocumentation History
WheaAddErrorSourcestarts in SP1before 2019, declared
WheaGetErrorSourcestarts in SP1
WheaRegisterErrSrcInitializerdiscontinued in 6.1
WheaReportHwErrorbefore 6.1, declared before 2019, declared documented start is 1903

Microsoft’s online documentation of WheaAddErrorSource is dated 19th August 2019 and I see no reason to disbelieve it. Curiously, the function is declared in the WDK for Windows Vista, but among WDK for versions that actually do export the function, the declaration appears only in NTOSP.H from early editions for Windows 10.

That documentation of WheaReportHwError was delayed until 2019 is more certain. Microsoft dates the documentation to 6th March 2019 and the function’s availability to the 1903 release. While undocumented, it was declared in NTDDK.H from the WDK for Windows Vista, specifically, and then the declaration disappeared except for the accidentally disclosed NTOSP.H.

FunctionExport HistoryDocumentation HistoryDeclaration History
ZwAllocateLocallyUniqueId
ZwAlpcAcceptConnectPort
ZwAlpcCancelMessage
ZwAlpcConnectPort
ZwAlpcCreatePort
ZwAlpcCreatePortSection
ZwAlpcCreateResourceReserve
ZwAlpcCreateSectionView
ZwAlpcCreateSecurityContext
ZwAlpcDeletePortSection
ZwAlpcDeleteResourceReserve
ZwAlpcDeleteSectionView
ZwAlpcDeleteSecurityContext
ZwAlpcDisconnectPort
ZwAlpcQueryInformation
ZwAlpcSendWaitReceivePort
ZwAlpcSetInformation
ZwCommitEnlistmentbefore 6.1, declared
ZwCommitTransaction
ZwCreateEnlistment
ZwCreateIoCompletion
ZwCreateKeyTransactedbefore 6.1, declared
ZwCreateResourceManager
ZwCreateTransaction
ZwCreateTransactionManager
ZwEnumerateTransactionObjectbefore 6.1, declared
ZwFlushBuffersFile
ZwGetNotificationResourceManagerbefore 6.1, declared
ZwImpersonateAnonymousToken
ZwLoadKeyEx
ZwLockProductActivationKeys
ZwMarshallTransactiondiscontinued in SP1
ZwOpenEnlistment
ZwOpenKeyTransactedbefore 6.1, declared
ZwOpenResourceManager
ZwOpenTransaction
ZwOpenTransactionManager
ZwPrePrepareEnlistmentbefore 6.1, declared
ZwPrepareCompletebefore 6.1, declared
ZwPrepareEnlistmentbefore 6.1, declared
ZwPullTransactiondiscontinued in SP1
ZwQueryInformationEnlistment
ZwQueryInformationResourceManager
ZwQueryInformationTransaction
ZwQueryInformationTransactionManager
ZwQueryLicenseValue
ZwQueryVirtualMemorybefore 10.0, undocumented before 2015-2018, declareddeclared start is 5.0
ZwRecoverEnlistmentbefore 6.1, declared
ZwRecoverResourceManager
ZwRecoverTransactionManager
ZwRemoveIoCompletion
ZwRemoveIoCompletionEx
ZwRequestPort
ZwRollbackEnlistmentbefore 6.1, declared
ZwRollbackTransaction
ZwSavepointCompletediscontinued in SP1
ZwSavepointTransactiondiscontinued in SP1
ZwSetInformationEnlistment
ZwSetInformationTransaction
ZwUnloadKeyEx

In WDK documentation for Windows 10 as integrated into Visual Studio 2015, documentation of NtQueryVirtualMemory (which is not a kernel export in any version) would link to a page for its Zw partner but the link is broken. The ZwQueryVirtualMemory function is documented today, 27th September 2020, at Microsoft’s website and has been at least since 30th April 2018, and there’s no reason to doubt Microsoft on this even though this documentation would have it that the function’s minimum availability is Windows 10.

FunctionExport HistoryDocumentation History
_alloca_probe_16x86 only
_alloca_probe_8x86 only
_chkstkx86 only
_strtoui64
_swprintf
_vswprintf
bsearch
psMUITest (data)

Old Friend

The ancient KeIsExecutingDpc function was not at first taken up for export from the x64 kernel. It starts being exported from x64 builds in version 6.0.

Discontinued

Version 6.0 stops exporting a few functions (and variables). For each, the version in parentheses tells when exporting started.

  • CcFastReadNotPossible (4.0)
  • CcFastReadWait (4.0)
  • KeDisconnectInterrupt (3.10)
  • KiEnableTimerWatchdog (5.0)
  • PsCreateSystemProcess (3.10)
  • WmiFlushTrace (5.1)
  • WmiQueryTrace (5.1)
  • WmiStartTrace (5.1)
  • WmiStopTrace (5.1)
  • WmiTraceFastEvent
  • WmiUpdateTrace (5.1)

As usual, none had yet been documented.

Discontinued (x64)

Two functions that continued at first as exports from the x64 kernel are not kept as exports from the x64 builds:

  • ExAllocateFromPagedLookasideList (4.0)
  • ExFreeToPagedLookasideList (4.0)

Both continue as x86 exports.