// wdbgexts.h
ULONG ListType(
[in] IN LPCSTR Type,
[in] IN ULONG64 Address,
[in] IN USHORT ListByFieldAddress,
[in] IN LPCSTR NextPointer,
[in] IN PVOID Context,
[in] IN PSYM_DUMP_FIELD_CALLBACK CallbackRoutine
);
View the official Windows Driver Kit DDI referenceNo description available.
The ListType function calls a specified callback function for every element in a linked list.
Type [in]Specifies the name of the type of each entry in the linked list.
Address [in]Specifies the address in the target's memory of the first entry in the linked list.
Specifies the address in the target's memory of the member of the first entry that points to the next entry.
ListByFieldAddress [in]Specifies whether Address contains the base address of the first entry, or if it contains the address of the member of the first entry that points to the next entry.
NextPointer [in]Specifies the name of the member in the structure of type Type that contains a pointer to the next entry in the linked list. NextPointer can be a period-separated path, for example, if Type is "nt!_ETHREAD", NextPointer could be "Tcb.ThreadListEntry.Flink".
Context [in]Specifies a pointer that is passed to the callback function specified by CallbackRoutine each time the callback function is called.
CallbackRoutine [in]Specifies a function that is called for each entry in the linked list. The parameters passed to the function are the Context pointer and a FIELD_INFO structure; the address of the entry is found in the address member of this structure.
This function returns TRUE on success and FALSE on failure.