RoClearError function

Removes existing error information from the current thread environment block (TEB).

Syntax

void RoClearError(

);

Parameters

This function has no parameters.

Return Value

This function does not return a value.

Remarks

Call the RoClearError function to remove existing thread error information from the thread environment block (TEB). If COM is not initialized, this call does nothing to create the TEB slot for this information. Language projections call this function to ensure there's no stale error information on the thread.

Requirements

   
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header roerrorapi.h
Library RuntimeObject.lib
DLL ComBase.dll