More API comments
authorAndrew Au <andrewau@microsoft.com>
Fri, 10 Aug 2018 17:44:36 +0000 (10:44 -0700)
committerAndrew Au <cshung@gmail.com>
Wed, 7 Nov 2018 02:34:47 +0000 (18:34 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/2015a6266ee239267997017bebaadb025ccd223b

src/coreclr/src/debug/inc/dacdbiinterface.h

index abbe7d9..bd532a7 100644 (file)
@@ -2696,7 +2696,17 @@ public:
     virtual
         HRESULT GetILCodeVersionNodeData(VMPTR_ILCodeVersionNode ilCodeVersionNode, DacSharedReJitInfo* pData) = 0;
 
-    // TODO, andrewau, documentation
+    // Enable or disable the GC notification events. The GC notification events are turned off by default
+    // They will be delivered through ICorDebugManagedCallback4
+    // 
+    // 
+    // Arguments:
+    //    fEnable - true to enable the events, false to disable
+    //
+    // Returns:
+    //    S_OK if no error
+    //    error HRESULTs such as CORDBG_READ_VIRTUAL_FAILURE are possible
+    // 
     virtual
         HRESULT EnableGCNotificationEvents(BOOL fEnable) = 0;