ITraceDataProviderCollection::GetTraceDataProvidersByProcess method (pla.h)

Populates the collection with the list of providers that have been registered by the specified process.

Syntax

HRESULT GetTraceDataProvidersByProcess(
  [in] BSTR  Server,
  [in] ULONG Pid
);

Parameters

[in] Server

The computer whose registered trace providers you want to enumerate. You can specify a computer name, a fully qualified domain name, or an IP address (IPv4 or IPv6 format). If NULL, PLA enumerates the providers on the local computer.

[in] Pid

The process identifier of the process that registered the providers.

Return value

Returns S_OK if successful.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header pla.h
DLL Pla.dll

See also

ITraceDataProviderCollection

ITraceDataProviderCollection::GetTraceDataProviders