GetRasLinks

BOOL CNdisApi::GetRasLinks (HANDLE hAdapter, PRAS_LINKS pLinks) const;

Return Value:
TRUE if call was successful, FALSE otherwise

Parameters:
hAdapter
Specifies WAN interface handle.

pLinks
Pointer to the user allocated RAS_LINKS structure.

Remarks:
Helper driver fills _RAS_LINKS with information about active WAN connections.
This member calls the filter driver with IOCTL_NDISRD_GET_RAS_LINKS control code (see details below).

IOCTL_NDISRD_GET_RAS_LINKS

Input BufferAdapter handle
Input Buffer Sizesizeof(HANDLE) for a native process; sizeof(ULARGE_INTEGER) in the WOW64 conversion path
Output Buffer_RAS_LINKS
Output Buffer Sizesizeof(_RAS_LINKS)