How to properly detect PPP/RAS adapter

Home Forums Discussions General Discussion How to properly detect PPP/RAS adapter

This topic contains 1 reply, has 2 voices, and was last updated by  Vadim Smirnov 12 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4922

    greenuid
    Participant

    Is there any ‘proper’ way to detect whether adapter is PPP (e.g. modem)?

    I’m currently comparing adapter name to DEVICENDISWANIP but is there any other, name-independent way? (I’m afraid of name comparison because seems like it could change in upcoming versions).

    #5734

    Vadim Smirnov
    Moderator

    You can also use medium type. See parameters passed/returned to/from NdisOpenAdapter: SelectedMediumIndex, MediumArray.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.