IDiaInjectedSource::get_length

Retrieves the number of bytes of code.

HRESULT get_length ( 
   ULONGLONG* pRetVal
);

Parameters

  • pRetVal
    [out] Returns the number of bytes of code.

Return Value

If successful, returns S_OK. Returns S_FALSE if this property is not supported. Otherwise, returns an error code.

Remarks

The value returned by this method is the length of the source code and is the same value as returned by the IDiaInjectedSource::get_source method.

See Also

Reference

IDiaInjectedSource

IDiaInjectedSource::get_source