Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Gets the document context for this stack frame.
HRESULT GetDocumentContext (
IDebugDocumentContext2** ppCxt
);
int GetDocumentContext (
out IDebugDocumentContext2 ppCxt
);
Parameters
- ppCxt
[out] Returns an IDebugDocumentContext2 object that represents the current position in a source document.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
This method is faster than calling the IDebugStackFrame2::GetCodeContext method and then calling the IDebugCodeContext2::GetDocumentContext method on the code context. However, it is not guaranteed that every debug engine (DE) will implement this method.