Partager via


IDebugDocumentHelper::CreateDebugDocumentContext

Creates a new debug document context.

Syntax

HRESULT CreateDebugDocumentContext(  
   ULONG                    iCharPos,  
   ULONG                    cChars,  
   IDebugDocumentContext**  ppddc  
);  

Parameters

iCharPos
[in] Location of the start of the debug document content.

cChars
[in] Number of characters in the context.

ppddc
[out] The new debug document context.

Return Value

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.

Remarks

This method allows the host to create a new debug document context.

See also

IDebugDocumentHelper Interface