Share via


ICorDebugThreadEnum::Next Method

Gets the number of specified ICorDebugThread instances from the enumeration, starting at the current position.

HRESULT Next (
    [in] ULONG celt,
    [out, size_is(celt), length_is(*pceltFetched)]
        ICorDebugThread *threads[],
    [out] ULONG *pceltFetched
);

Parameters

  • celt
    [in] The number of ICorDebugThread instances to be retrieved.

  • threads
    [out] An array of pointers, each of which points to an ICorDebugThread object that represents a thread.

  • pceltFetched
    [out] Pointer to the number of ICorDebugThread instances actually returned. This value may be null if celt is one.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugThreadEnum Interface