Factory method used to create a new virtual process object.
HRESULT OpenVirtualProcess( DWORD processId, UINT64 runtimeJsBaseAddress, IJsDebugDataTarget *pDataTarget, IJsDebugProcess **ppProcess );
- processId
[in] Process Id to attach the debugger to.
- runtimeJsBaseAddress
[in] The base address at which the JavaScript runtime has loaded into the target process.
- pDataTarget
[in] Debugger supplied interface to query for state of the process.
- ppProcess
[out] New debug process object
Returns E_JsDEBUG_MISMATCHED_RUNTIME if Jscript9diag and Jscript9 do not match.
Requirements
Header: jscript9diag.h