ICorProfilerInfo12::EventPipeGetProviderInfo method

Creates an EventPipe provider that the profiler can use to write events for other EventPipe listeners to receive.

Syntax

    HRESULT EventPipeGetProviderInfo(
                [in] EVENTPIPE_PROVIDER provider,
                [in]  ULONG      cchName,
                [out] ULONG      *pcchName,
                [out, annotation("_Out_writes_to_(cchName, *pcchName)")]
                      WCHAR      providerName[]);

Parameters

provider
[in] The ID of the provider to provide the name for.

cchName
[in] The size, in characters, of providerName.

pcchName
[out] A pointer to the total character length of providerName.

providerName
[out] A caller provided wide character buffer. When the function returns the buffer will contain the name of the provider.

Requirements

Platforms: See .NET supported operating systems.

Header: CorProf.idl, CorProf.h

.NET Versions: Available since .NET 5.0

See also