RoUninitialize function (roapi.h)

Closes the Windows Runtime on the current thread.

Syntax

void RoUninitialize();

Return value

None

Remarks

Call the RoUninitialize function to close the Windows Runtime on the current thread. This unloads all DLLs loaded by the thread, frees any other resources that the thread maintains, and forces all RPC connections on the thread to close.

Use the RoInitialize function to initialize a thread in the Windows Runtime.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header roapi.h

See also

CoUninitialize

RoInitialize