Condividi tramite


IDebugField::GetExtendedInfo

This method gets extended information about a field.

HRESULT GetExtendedInfo( 
   REFGUID guidExtendedInfo,
   BYTE**  prgBuffer,
   DWORD*  pdwLen
);
int GetExtendedInfo(
   ref Guid guidExtendedInfo, 
   IntPtr[] prgBuffer, 
   ref uint pdwLen
);

Parameters

  • guidExtendedInfo
    [in] Selects the information to be returned. Valid values are:

    Value

    Description

    guidConstantValue

    The value as a sequence of bytes.

    guidConstantType

    The type as a type signature.

  • prgBuffer
    [out] Returns the extended information.

  • pdwLen
    [in, out] Returns the size of the extended information, in bytes.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Currently, this method returns only the type or value of a constant. The caller must free the buffer returned in prgBuffer by calling COM's CoTaskMemFree function (C++) or FreeCoTaskMem (C#).

See Also

Reference

IDebugField