ISymUnmanagedMethod::GetSequencePoints 方法
更新:2007 年 11 月
取得這個方法內的所有序列點。
HRESULT GetSequencePoints(
[in] ULONG32 cPoints,
[out] ULONG32 *pcPoints,
[in, size_is(cPoints)] ULONG32 offsets[],
[in, size_is(cPoints)] ISymUnmanagedDocument* documents[],
[in, size_is(cPoints)] ULONG32 lines[],
[in, size_is(cPoints)] ULONG32 columns[],
[in, size_is(cPoints)] ULONG32 endLines[],
[in, size_is(cPoints)] ULONG32 endColumns[]);
參數
cPoints
[in] ULONG32,會接收 offsets、documents、lines、columns、endLines 和 endColumns 陣列的大小。pcPoints
[out] ULONG32 的指標,這個指標會接收包含序列點所需要的緩衝區長度。offsets
[in] 陣列,用來存放序列點從方法開頭的 Microsoft Intermediate Language (MSIL) 位移。documents
[in] 用來存放序列點所在文件的陣列。lines
[in] 陣列,用來存放序列點所在文件中的行。columns
[in] 陣列,用來存放序列點所在文件中的欄。endLines
[in] 序列點結尾所在文件中行的陣列。endColumns
[in] 序列點結尾所在文件中欄的陣列。
傳回值
如果此方法成功則為 S_OK,否則便為 E_FAIL 或其他錯誤碼。
需求
Header: CorSym.idl