共用方式為


IDebugMemoryContext2::GetInfo

Retrieves a CONTEXT_INFO structure that describes the context.

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

Reference

IDebugMemoryContext2

CONTEXT_INFO_FIELDS

CONTEXT_INFO