Share via


ITmNodeName::GetNodeNameSize

 

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

The GetNodeNameSize method returns the length, in bytes, of the node name that will be returned by ITmNodeName::GetNodeName.

  
HRESULT GetNodeNameSize (   ULONG *   
pcbNodeNameSize  
);  
  

Parameters

pcbNodeNameSize
[out] The length, in bytes, of the node name that will be returned by ITmNodeName::GetNodeName.

Return Values

S_OK
Success.

E_UNEXPECTED
Unexpected error encountered.

E_INVALIDARG
One or more arguments are invalid.

E_FAIL
Failed to carry out the operation.

Requirements

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

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 txdtc.h.

Library: msdtcprx.dll.

See Also

ITmNodeName::GetNodeName