WdsTransportServerTraceV function (wdstpdi.h)

Sends a debugging message.

Syntax

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

Parameters

hProvider

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

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)

pwszFormat

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

Params

A list of parameters used by the formatted string.

Return value

If the function succeeds, the return is S_OK.

Requirements

   
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