WdsCliRegisterTrace function (wdsclientapi.h)
Registers a callback function that will receive debugging messages.
Syntax
HRESULT WDSCLIAPI WdsCliRegisterTrace(
[in, optional] PFN_WdsCliTraceFunction pfn
);
Parameters
[in, optional] pfn
A pointer to a PFN_WdsCliTraceFunction callback function that receives debugging messages.
Return value
If the function succeeds, the return is S_OK.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wdsclientapi.h |
Library | WdsClientAPI.lib |
DLL | WdsClientAPI.dll |