Microsoft® Windows® Script Interfaces IActiveScriptError::GetSourcePosition |
Language Reference Previous Next |
HRESULT GetSourcePosition( DWORD *pdwSourceContext, // context cookie ULONG *pulLineNumber, // line number of error LONG *pichCharPosition // character position of error );
Retrieves the location in the source code where an error occurred while the scripting engine was running a script.