Share via


IDebugMemoryContext2::GetInfo

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves a CONTEXT_INFO structure that describes the context.

Syntax

HRESULT GetInfo(   
   CONTEXT_INFO_FIELDS dwFields,  
   CONTEXT_INFO*       pInfo  
);  
int GetInfo(  
   enum_CONTEXT_INFO_FIELDS dwFields,   
   CONTEXT_INFO[]           pinfo  
);  

Parameters

dwFields
[in] A combination of flags from the CONTEXT_INFO_FIELDS enumeration that indicate which fields of the CONTEXT_INFO structure are to be fill in.

pInfo
[in, out] The CONTEXT_INFO structure that is filled in.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

IDebugMemoryContext2
CONTEXT_INFO_FIELDS
CONTEXT_INFO