IDebugFailureAnalysis2::AddBuffer method

The AddBuffer method adds a new FA entry to a DebugFailureAnalysis object, and writes the bytes from a specified buffer to the data block of the new FA entry.

Syntax


FA_ENTRY AddBuffer(
       FA_TAG        Tag,
  [in] FA_ENTRY_TYPE EntryType,
  [in] PVOID         Buf,
  [in] ULONG         Size
);

Parameters

Tag

A value in the FA_TAG enumeration.

EntryType [in]

A value in the FA_ENTRY_TYPE enumeration. This parameter specifies the data type of the data in Buf.

Buf [in]

A pointer to a buffer that contains the bytes to be written to the data block of the new FA entry.

Size [in]

The size, in bytes, of the buffer pointed to by Buf.

Return value

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

Remarks

This method creates a new FA entry with the tag specified by Tag, and it associates the tag with the data type specified by EntryType.

Requirements

Target platform

Desktop

Header

Extsfns.h

See also

IDebugFailureAnalysis2
Writing an Analysis Extension Plug-in to Extend !analyze
GetBuffer
SetBuffer
_EFN_Analyze

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft