ITcTypeInstance3::GetChildItemBitOffs

Returns the bit offset of a child element as a 32-bit value. For structs, the stored field offset is used. For arrays, the offset is calculated based on the element size and the index of the first dimension.

Signature

HRESULT GetChildItemBitOffs(long idx, long* pBitOffs);

Parameter

Name

Type

Description

idx

long

[in] 0-based child index.

Return value

Name

Type

Description

pBitOffs

long*

[out, retval] Bit offset of the child element.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes

See also