Edit

Share via


IDebugDisassemblyStream2::GetSize

Gets the size in instructions of this disassembly stream.

Syntax

int GetSize( 
   out ulong pnSize
);

Parameters

pnSize
[out] Returns the size, in instructions.

Return Value

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

Remarks

The value returned from this method can be used to allocate an array of DisassemblyData structures which is then passed to the Read method.

See also