Allows an associated range and script engine to be retrieved.
Syntax
HRESULT GetScriptBlockInfo( DWORD dwSourceContext, IActiveScript **ppasd, ULONG *piCharPos, ULONG *pcChars );
Parameters
- dwSourceContext
- [in] Unsigned long integer value that specifies a document context.
- ppasd
- [out] Address of a pointer to an IActiveScript interface.
- piCharPos
- [out] Address of an integer that specifies a character position in a script block.
- pcChars
- [out] Address of an integer that specifies the number of characters in a script block.
Return Value
Returns S_OK if successful, or an error code otherwise.