This topic has not yet been rated - Rate this topic

IDebugSymbols3::GetConstantNameWide method

The GetConstantNameWide method returns the name of the specified constant.

Syntax

HRESULT GetConstantNameWide(
  [in]             ULONG64 Module,
  [in]             ULONG TypeId,
  [in]             ULONG64 Value,
  [out, optional]  PWSTR NameBuffer,
  [in]             ULONG NameBufferSize,
  [out, optional]  PULONG NameSize
);

Parameters

Module [in]

Specifies the base address of the module in which the constant was defined.

TypeId [in]

Specifies the type ID of the constant.

Value [in]

Specifies the value of the constant.

NameBuffer [out, optional]

Receives the constant's name. If NameBuffer is NULL, this information is not returned.

NameBufferSize [in]

Specifies the size in characters of the buffer NameBuffer.

NameSize [out, optional]

Receives the size in characters of the constant's name.

Return value

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

Return codeDescription
S_OK

The method was successful.

S_FALSE

The method was successful. However, the buffer was not large enough for the constant's name and it was truncated.

 

Remarks

For more information about symbols, see Symbols.

Requirements

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Build date: 4/2/2012

Did you find this helpful?
(1500 characters remaining)