This topic has not yet been rated - Rate this topic

IDebugSymbols3::GetSymbolEntryStringWide method

The GetSymbolEntryStringWide method returns string information for the specified symbol.

Syntax

HRESULT GetSymbolEntryStringWide(
  [in]             PDEBUG_MODULE_AND_ID Id,
  [in]             ULONG Which,
  [out, optional]  PWSTR Buffer,
  [in]             ULONG BufferSize,
  [out, optional]  PULONG StringSize
);

Parameters

Id [in]

Specifies the symbols whose memory regions are being requested. The DEBUG_MODULE_AND_ID structure contains the module containing the symbol and the symbol ID of the symbol within the module.

Which [in]

Specifies the index of the desired string. Often this is zero, as most symbols contain just one string (their name). But some symbols may contain more than one string -- for example, annotation symbols.

Buffer [out, optional]

Receives the name of the symbol. If Buffer is NULL, this information is not returned.

BufferSize [in]

Specifies the size in characters of the buffer Buffer.

StringSize [out, optional]

Receives the size in characters of the symbol's name. If StringSize is NULL, this information is not returned.

Return value

This method may also return error values. See Return Values for more details.

Return codeDescription
S_OK

The method was successful.

 

Remarks

For more information about symbols, see Symbols.

Requirements

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugSymbols3
GetSymbolEntriesByName
GetSymbolEntriesByOffset

 

 

Send comments about this topic to Microsoft

Build date: 4/2/2012

Did you find this helpful?
(1500 characters remaining)