RoClearError function

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

Syntax


void WINAPI RoClearError(void);

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]

Minimum supported phone

Windows Phone 8.1

Header

Roerrorapi.h

Library

RuntimeObject.lib

DLL

ComBase.dll

 

 

Show: