RtdbgCloseChannel

RtdbgCloseChannel closes a Standard or Trace message channel.

Syntax

Copy
DWORD RtdbgCloseChannel(
  [in]    RTDBG_CHANNEL Channel
);

Parameters

[in] Channel

The handle of the channel to close.

Return Values

Error code Meaning

ERROR_SUCCESS

The function succeeded.

ERROR_INVALID_HANDLE

Parameter Channel points to a closed channel.

ERROR_INVALID_PARAMETER

The value of parameter Channel is NULL.

Remarks

This API is for closing a Standard or Trace message channel. To close the Basic message channel, use RtdbgCloseBasicChannel.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtdbgApi.h

RtdbgApi_W64.lib (Windows), RtdbgApi.lib (RTSS)

See Also: