Add scripting to your application with Vbsedit !

IDebugDocumentText::GetPositionOfContext

 

Returns the character-position range corresponding to a document context.

HRESULT GetPositionOfContext(
   IDebugDocumentContext*  psc,
   ULONG*                  pcCharacterPosition,
   ULONG*                  cNumChars
);

psc

[in] The document context object.

pcCharacterPosition

[out] Start location of the character position range.

cNumChars

[out] Number of characters in the 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.

The document context provided to this method must be associated with this document.


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Now!

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




Home  

Copyright © 2001-2022 adersοft