WdsCliRegisterTrace function

Registers a callback function that will receive debugging messages.

Syntax


HRESULT WDSCLIAPI WdsCliRegisterTrace(
  _In_opt_ PFN_WdsCliTraceFunction pfn
);

Parameters

pfn [in, optional]

A pointer to a PFN_WdsCliTraceFunction callback function that receives debugging messages.

Return value

If the function succeeds, the return is S_OK.

Requirements

Minimum supported client

Windows Vista with SP1 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WdsClientAPI.h

Library

WdsClientAPI.lib

DLL

WdsClientAPI.dll

 

 

Community Additions

ADD
Show: