IDebugFailureAnalysis2::AddUlong method

The AddUlong method adds a new FA entry to a DebugFailureAnalysis object and sets the data block of the FA entry to a specified ULONG value.

Syntax


PFA_ENTRY AddUlong(
       FA_TAG Tag,
  [in] ULONG  Value
);

Parameters

Tag

A value in the FA_TAG enumeration. The data type associated with this tag must be DEBUG_FA_ENTRY_ULONG.

Value [in]

The ULONG value to be written to the data block of the new FA entry.

Return value

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

Remarks

Each tag is associated with one of the data types in the FA_ENTRY_TYPE enumeration. To determine the data type associated with a tag, call the GetType method of the IDebugFAEntryTags interface.

To get a pointer to an IDebugFAEntryTags interface, call the GetDebugFATagControl method of the IDebugFailureAnalysis2 interface.

Requirements

Target platform

Header

Extsfns.h

See also

IDebugFailureAnalysis2
Writing an Analysis Extension Plug-in to Extend !analyze
GetUlong
SetUlong
_EFN_Analyze

 

 

Send comments about this topic to Microsoft

Show: