summaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
authorAndrew Au <andrewau@microsoft.com>2018-08-10 10:27:24 -0700
committerAndrew Au <cshung@gmail.com>2018-11-06 18:34:47 -0800
commit3c2a1f099cf2150f5b3597bd3d40e1061ef13aa7 (patch)
treeac9cd9ec4cf372fc38404e570d66c68e1e64c644 /src/inc
parent0e3a4d9c419b41ddbbccc22b5d668442f2cbfd76 (diff)
downloadcoreclr-3c2a1f099cf2150f5b3597bd3d40e1061ef13aa7.tar.gz
coreclr-3c2a1f099cf2150f5b3597bd3d40e1061ef13aa7.tar.bz2
coreclr-3c2a1f099cf2150f5b3597bd3d40e1061ef13aa7.zip
Fix a couple bugs in GetContainingObject
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/cordebug.idl9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/inc/cordebug.idl b/src/inc/cordebug.idl
index 961a03c231..0fd1588106 100644
--- a/src/inc/cordebug.idl
+++ b/src/inc/cordebug.idl
@@ -3307,12 +3307,12 @@ interface ICorDebugProcess10 : IUnknown
//
// Returns
// S_OK - on success
- //
- // TODO: What if the pointer is not an interior pointer?
- // TODO: What are all the possible error exit codes?
+ // S_FALSE - if the given interior pointer is not inside an object
+ // E_POINTER - ppContainingObject is NULL
//
HRESULT GetContainingObject([in] CORDB_ADDRESS interiorPointer, [out] ICorDebugObjectValue** ppContainingObject);
+ //
// Enable or disable the GC notification events. The GC notification events are turned off by default
// They will be delivered through ICorDebugManagedCallback4
//
@@ -3320,7 +3320,8 @@ interface ICorDebugProcess10 : IUnknown
// fEnable - true to enable the events, false to disable
//
// Returns
- // S_OK - on success
+ // S_OK - on success
+ //
HRESULT EnableGCNotificationEvents(BOOL fEnable);
}