Add scripting to your application with Vbsedit Embedded!

IActiveScriptSiteDebug::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 Scripting to your application with VbsEdit Embedded!


Download Vbsedit Embedded

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




Home  

Copyright © 2001-2017 Adersoft