Platform SDK: TAPI |
The get_TTL method obtains the time to live (TTL) value associated with this lease.
HRESULT get_TTL( long *pTTL );
Value | Meaning |
---|---|
S_OK | Method succeeded. |
E_POINTER | The caller passed in an invalid pointer argument. |
E_FAIL | There is no TTL associated with this lease. |
The TTL is more or less significant in the implementation of multicast routing. Generally, the higher the TTL value, the "larger" or more inclusive the multicast scope. Most applications need not address the TTL.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Mdhcp.h.
Library: Use Mdhcpid.lib.