IDebugFailureAnalysis2::SetUlong64 method (extsfns.h)

The SetUlong64 method searches a DebugFailureAnalysis object for the first FA entry that has a specified tag. If it finds an FA entry with the specified tag, it sets (overwrites) the data block of the FA entry to a specified ULONG64 value. If this method does not find an FA entry that has the specified tag, it creates a new FA entry with that tag and sets the data block of the new FA entry to the specified ULONG64 value.

Syntax

PFA_ENTRY SetUlong64(
       FA_TAG  Tag,
  [in] ULONG64 Value
);

Parameters

Tag

A value in the FA_TAG enumeration.

[in] Value

The ULONG64 value to be written to the data block of the new or existing FA entry.

Return value

If this method succeeds, it returns a pointer to the new or existing FA_ENTRY structure. Otherwise, it returns NULL.

Remarks

If this method finds an FA entry with the specified tag, it checks to see whether the data type associated with that tag is DEBUG_FA_ENTRY_ULONG64, DEBUG_FA_ENTRY_INSTRUCTION_OFFSET, or DEBUG_FA_ENTRY_POINTER. If the data type associated with the tag does not have one of those three values, this method returns NULL and does not overwrite the entry's data block.

If this method does not find an FA entry with the specified tag, it creates a new FA entry with that tag, and it associates the tag with the data type DEBUG_FA_ENTRY_ULONG64.

Requirements

Requirement Value
Target Platform Desktop
Header extsfns.h

See also

AddUlong64

IDebugFailureAnalysis2

Writing an Analysis Extension Plug-in to Extend !analyze

_EFN_Analyze