ITraceDataProvider::Query method (pla.h)

Retrieves details about a registered provider.

Syntax

HRESULT Query(
  [in] BSTR bstrName,
  [in] BSTR bstrServer
);

Parameters

[in] bstrName

The name of the registered provider. The name is case-insensitive. You can also specify the string form of the provider's GUID.

[in] bstrServer

The computer on which the provider is registered. You can specify the computer's name, fully qualified domain name, or IP address.

Return value

Returns S_OK if successful.

Remarks

To specify kernel providers, set the bstrName parameter to "Windows Kernel Trace".

To specify the context logger, set bstrName to "Circular Kernel Context Logger". The context logger provides a snapshot of the current state of the computer. The logger writes to an in-memory 100-megabyte circular log (not to a file). To release its contents to consumers, call the IDataCollectorSet::Commit method to flush the session.

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

ITraceDataProvider