Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.02 KB

ienumdebugthreads2-getcount.md

File metadata and controls

49 lines (42 loc) · 1.02 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords author ms.author manager ms.subservice dev_langs
Returns the number of elements in the threads enumeration.
IEnumDebugThreads2::GetCount
11/04/2016
reference
IEnumDebugThreads2::GetCount
IEnumDebugThreads2::GetCount
maiak
maiak
mijacobs
debug-diagnostics
CPP
CSharp

IEnumDebugThreads2::GetCount

Returns the number of elements in the enumeration.

Syntax

int GetCount(
   out uint pcelt
);
HRESULT GetCount(
   ULONG* pcelt
);

Parameters

pcelt
[out] Returns the number of elements in the enumeration.

Return Value

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

Remarks

This method is not part of the customary COM enumeration interface which specifies that only the Next, Clone, Skip, and Reset methods need to be implemented.

See also