IDiaSymbol::get_offsetInUdt

Retrieves the offset to the beginning of a user-defined type (UDT) of a member in the UDT.

Syntax

HRESULT get_offsetInUdt( 
   DWORD* pRetVal)
);

Parameters

pRetVal

[out] Returns the offset in bytes of the symbol location.

Return Value

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

Note

A return value of S_FALSE means the property is not available for the symbol.

Remarks

This function is used only in local records in an optimized build.

Requirements

Header: Dia2.h

Library: diaguids.lib

DLL: msdia100.dll

See also