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 driver with IOCTL_NDISRD_GET_RAS_LINKS control code (see details below).

IOCTL_NDISRD_GET_RAS_LINKS

Input Buffer None
Input Buffer Size 0
Output Buffer _RAS_LINKS
Output Buffer Size sizeof(_RAS_LINKS) bytes