IWRdsProtocolManager::Uninitialize method (wtsprotocol.h)

Uninitializes the protocol manager.

Syntax

HRESULT Uninitialize();

Return value

When you are implementing this method, return S_OK if the function succeeds. If it fails, return an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Remarks

You can implement this method to clean up resources used by the Initialize method. For example, if the Initialize method added a reference to an IWRdsProtocolSettings object pointer, the Uninitialize method can release that reference.

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header wtsprotocol.h

See also

IWRdsProtocolManager

Initialize