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
);

Parameters

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.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also