Windows Dev Center

DrtGetInstanceNameSize function

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

Syntax


HRESULT WINAPI DrtGetInstanceNameSize(
  _In_  HDRT  hDrt,
  _Out_ ULONG *pulcbInstanceNameSize
);

Parameters

hDrt [in]

Handle to the target DRT instance.

pulcbInstanceNameSize [out]

The length of the DRT instance name.

Return value

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

Return codeDescription
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]

Header

Drt.h

Library

Drt.lib

DLL

Drt.dll

See also

DrtOpen

 

 

Community Additions

ADD
Show:
© 2015 Microsoft