DrtGetInstanceNameSize function (drt.h)

The DrtGetInstanceNameSize function returns the size of the Distributed Routing Table instance name.

Syntax

HRESULT DrtGetInstanceNameSize(
  [in]  HDRT  hDrt,
  [out] ULONG *pulcbInstanceNameSize
);

Parameters

[in] hDrt

Handle to the target DRT instance.

[out] pulcbInstanceNameSize

The length of the DRT instance name.

Return value

This function returns S_OK on success. Other possible values include:

Return code Description
E_INVALIDARG
pulcbInstanceNameSize is NULL.
E_HANDLE
hDrt handle is invalid.

Requirements

   
Minimum supported client Windows 7 Professional [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header drt.h
Library Drt.lib
DLL Drt.dll

See also

DrtOpen