Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a code location identifier that represents the current code location.
HRESULT GetCurrentLocation( 
   UINT64* puCodeLocationId
);
int GetCurrentLocation( 
   out ulong puCodeLocationId
);
Parameters
- puCodeLocationId
 [out] Returns the code location identifier. See the Remarks section for the IDebugDisassemblyStream2::GetCodeLocationId method for a description of a code location identifier.
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.