WdsTransportServerTraceV function (wdstpdi.h)

Sends a debugging message.

Syntax

HRESULT WDSMCSAPI WdsTransportServerTraceV(
  [in] HANDLE          hProvider,
  [in] WDS_MC_SEVERITY Severity,
  [in] LPCWSTR         pwszFormat,
  [in] va_list         Params
);

Parameters

[in] hProvider

Handle to the provider. This handle was given to the provider in the WdsTransportProviderInitialize function.

[in] Severity

Severity level of the message.

WDS_MC_TRACE_VERBOSE (0x00010000)

WDS_MC_TRACE_INFO (0x00020000)

WDS_MC_TRACE_WARNING (0x00040000)

WDS_MC_TRACE_ERROR (0x00080000)

WDS_MC_TRACE_FATAL (0x00010000)

[in] pwszFormat

A pointer to a null-terminated string value that contains a formatted string.

[in] Params

A list of parameters used by the formatted string.

Return value

If the function succeeds, the return is S_OK.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]
Target Platform Windows
Header wdstpdi.h
Library Wdsmc.lib
DLL Wdsmc.dll