Condividi tramite


IDebugBinder::Bind

This method gets the memory context or object that contains the symbol's current value.

HRESULT Bind( 
   IDebugObject*  pContainer,
   IDebugField*   pField,
   IDebugObject** ppObject
);
int Bind(
   IDebugObject     pContainer,
   IDebugField      pField,
   out IDebugObject ppObject
);

Parameters

  • pContainer
    [in] The IDebugObject that contains the child referenced by pField.

  • pField
    [in] The IDebugField that represents the symbol.

  • ppObject
    [out] Returns the IDebugObject that represents the instance of the symbol.

Return Value

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

See Also

Reference

IDebugBinder

IDebugObject

IDebugField