RTL_GENERIC_TABLE结构(ntddk.h)

RTL_GENERIC_TABLE结构包含 splay 树的特定于文件系统的数据。

RTL_GENERIC_TABLE不透明,不直接作。 驱动程序必须使用“备注”部分中介绍的支持例程来作RTL_GENERIC_TABLE值。

语法

typedef struct _RTL_GENERIC_TABLE {
  PRTL_SPLAY_LINKS              TableRoot;
  LIST_ENTRY                    InsertOrderList;
  PLIST_ENTRY                   OrderedPointer;
  ULONG                         WhichOrderedElement;
  ULONG                         NumberGenericTableElements;
  PRTL_GENERIC_COMPARE_ROUTINE  CompareRoutine;
  PRTL_GENERIC_ALLOCATE_ROUTINE AllocateRoutine;
  PRTL_GENERIC_FREE_ROUTINE     FreeRoutine;
  PVOID                         TableContext;
} RTL_GENERIC_TABLE;

成员

TableRoot

保留供系统使用。

InsertOrderList

保留供系统使用。

OrderedPointer

保留供系统使用。

WhichOrderedElement

保留供系统使用。

NumberGenericTableElements

保留供系统使用。

CompareRoutine

保留供系统使用。

AllocateRoutine

保留供系统使用。

FreeRoutine

保留供系统使用。

TableContext

保留供系统使用。

言论

若要初始化泛型表包,请分配至少 sizeof(RTL_GENERIC_TABLE字节大小的缓冲区,以便从调用 RtlInitializeGenericTable 例程接收初始化的泛型表结构。 可以使用以下例程来作表:

要求

要求 价值
最低支持的客户端 此结构在 Windows 2000 及更高版本上可用。
标头 ntddk.h (包括 Ntddk.h)

另请参阅

RtlDeleteElementGenericTable

RtlEnumerateGenericTable

RtlEnumerateGenericTableWithoutSplaying

RtlGetElementGenericTable

RtlInitializeGenericTable

RtlInsertElementGenericTable

RtlInsertElementGenericTableFull

RtlIsGenericTableEmpty

RtlLookupElementGenericTable

RtlLookupElementGenericTableFull

RtlNumberGenericTableElements