GetRasLinks

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

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 BufferNone
Input Buffer Size0
Output Buffer_RAS_LINKS
Output Buffer Sizesizeof(_RAS_LINKS)