ExtRemoteTypedList::SetTypeAndLink method (engextcpp.hpp)

The SetTypeAndLink method sets the type information for the typed list.

Syntax

void SetTypeAndLink(
  [in]                PCSTR    Type,
  [in]                PCSTR    LinkField,
  [in]                ULONG64  TypeModBase,
  [in]                ULONG    TypeId,
  [in, out, optional] PULONG64 CacheCookie
);

Parameters

[in] Type

The type name for the list items. Type can include a module qualifier (for example, mymodule!mytype). If TypeId is not zero, Type is not used.

[in] LinkField

The name of the field of the typed data structure that contains the pointer to the next list item. This is either the SINGLE_LIST_ENTRY structure or the LIST_ENTRY structure embedded in the list item.

[in] TypeModBase

The location in the target's memory of the base address of the module that contains the type specified by TypeId. If TypeId is zero, TypeModBase is not used.

[in] TypeId

The type ID of the type relative to the module specified by TypeModBase. If TypeId is zero, Type is used to specify the type of the list items.

[in, out, optional] CacheCookie

The cache cookie to use for caching the type information. If CacheCookie is NULL, the debugger engine will search for the type information each time.

For more information about CacheCookie, see the ExtRemoteTyped::Copy(Debug Typed Data) or ExtRemoteTyped::Copy(ExtRemoteTyped) methods.

Return value

None

Remarks

For more information about the SINGLE_LIST_ENTRY and LIST_ENTRY structures, see the Windows Driver Kit documentation.

Returns

None

Requirements

Requirement Value
Target Platform Desktop
Header engextcpp.hpp (include Engextcpp.hpp)

See also

ExtRemoteTyped::Set(bool)

ExtRemoteTyped::Set(pcstr ulong64 bool)

ExtRemoteTyped::Set(pcstr ulong64)

ExtRemoteTyped::Set(pcstr)

ExtRemoteTypedList