The GetCurrentFrame method of the IRemoteThread interface returns an IRemoteStackFrame interface representing the currently executing stack frame on this thread.
HRESULT GetCurrentFrame(IRemoteStackFrame **ppCurrentFrame)
[out] **ppCurrentFrame | Returns the currently executing stack frame on this thread. |
S_OK Success.
E_OUTOFMEMORY Insufficient memory.