다음을 통해 공유


IDebugDisassemblyStream2::GetCurrentLocation

Returns a code location identifier that represents the current code location.

HRESULT GetCurrentLocation( 
   UINT64* puCodeLocationId
);
int GetCurrentLocation( 
   out ulong puCodeLocationId
);

Parameters

Return Value

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

Remarks

The code location identifier can be converted to a code context by calling the IDebugDisassemblyStream2::GetCodeContext method.

See Also

Reference

IDebugDocumentContext2

IDebugDisassemblyStream2::GetCodeLocationId

IDebugDisassemblyStream2::GetCodeContext