The WatchForStep method of the IRemoteThreadEx interface watches for execution on this thread above or below a given stack address.
HRESULT WatchForStep(BOOL fWatch, DWORD dwStack)
[in] fWatch | Set to TRUE to enable watching for stepping; set to FALSE to disable watching for stepping. |
[in] dwStack | The stack address above which to watch for stepping. Any stack frames below this address will be ignored for stepping. |
S_OK Success.
E_FAIL The associated thread has terminated.