共用方式為


IDiaFrameData::get_lengthLocals

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves the number of bytes of local variables pushed on the stack.

Syntax

HRESULT get_lengthLocals (   
   DWORD* pRetVal  
);  

Parameters

pRetVal
[out] Returns the number of bytes of local variables.

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 typically used in the interpretation of a program string (see the IDiaFrameData::get_program method for the definition of a program string).

See Also

IDiaFrameData
IDiaFrameData::get_program