Add scripting to your application with Vbsedit !

IDebugDocumentHelper::GetScriptBlockInfo

 

Retrieves the range of characters and the script engine corresponding to a script block.

HRESULT GetScriptBlockInfo(
   DWORD_PTR        dwSourceContext,
   IActiveScript**  ppasd,
   ULONG*           piCharPos,
   ULONG*           pcChars
);

dwSourceContext

[in] The source context for the script block.

ppasd

[out] The script engine for this script block.

piCharPos

[out] Location of the start of the script block.

cChars

[out] Number of characters in the script block.

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.

This method retrieves the range of characters and the script engine corresponding to a script block.


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