3.2.4.4.3.53 IVolumeClient3::EnumTasks (Opnum 64)

The EnumTasks method enumerates the tasks that are currently running on the server.

 HRESULT EnumTasks(
   [in, out] unsigned long* taskCount,
   [out, size_is(,*taskCount)] TASK_INFO** taskList
 );

taskCount: Number of elements returned in the taskList array.

taskList: Array of TASK_INFO structures that describes the tasks running on the server.

Return Values: The method MUST return 0 or a nonerror HRESULT on success, or an implementation-specific nonzero error code on failure (as specified in [MS-ERREF]; see also section 2.2.1 for HRESULT values predefined by the Disk Management Remote Protocol).

When the server receives an IVolumeClient3::EnumTasks message, it MUST process that message, as specified in IVolumeClient::EnumTasks (section 3.2.4.4.1.50).