Add scripting to your application with Vbsedit !

IActiveScriptSiteDebug32::GetDocumentContextFromPosition

 

Used by the language engine to delegate IDebugCodeContext::GetSourceContext.

HRESULT GetDocumentContextFromPosition(
   DWORD_PTR                dwSourceContext,
   ULONG                    uCharacterOffset,
   ULONG                    uNumChars,
   IDebugDocumentContext**  ppsc
);

dwSourceContext

[in] The source content as provided to ParseScriptText or AddScriptlet.

uCharacterOffset

[in] Character offset relative to start of script block or scriptlet.

uNumChars

[in] Number of characters in this context.

ppsc

[out] The document context corresponding to this character-position range.

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value

Description

S_OK 

The method succeeded.

Language engines use this method to delegate IDebugCodeContext::GetSourceContext.


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Now!

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2024 adersοft