Partager via


IDtcToXaMapper::ReleaseResourceManager

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

Instructs the DTC Proxy to release an RM cookie previously obtained from a call to RequestNewResourceManager. This method allows the DTC Proxy to free up any resources tied to the RM cookie. The RM cookie should not be used after this call.

Syntax

  
HRESULT ReleaseResourceManager (   DWORD dwRMCookie);  

Parameters

dwRMCookie
[in] The RM cookie that was obtained from the call to RequestNewResourceManager.

Return Values

S_OK
Success.

E_INVALIDARG
One or more of the parameters are not valid.

Requirements

For an explanation of the requirement values, see Requirements (Component Services).

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in oletx2xa.h

See Also

IDtcToXaHelperFactory
IDtcToXaHelper
IDtcToXaHelperSinglePipe