Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


RE: Where to get VPI/VCI in CO-miniport driver

OSR_Community_UserOSR_Community_User Member Posts: 110,217
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The actual selection of the VPI:VCI used is done by the
connection-oriented client driver, such as LANE or IPATM. The client
will make a call to "create" a VC, which will in turn cause your
miniport's MiniportCoCreateVc function to be called. In that call you
return a structure that will represent a VC. NDIS will return this
structure to you whenever it wants to operate on the VC.

Next the client "activates" the VC, which causes your miniport's
MiniportCoActivateVc to be called. One of the parameters to the
MiniportCoActivateVc is a pointer to a CO_CALL_PARAMETERS structure.
Among other things, this structure contains the VPI:VCI that the
client wants to use.
CallParameters->MediaParameters.MediaSpecific.Parameters should be a
pointer to a ATM_MEDIA_PARAMETERS structure that contains the VPI and
VCI.

Clark


> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of encarta
> Sent: Monday, April 17, 2000 10:23 PM
> To: NT Developers Interest List
> Subject: [ntdev] Where to get VPI/VCI in CO-miniport driver
>
>
> Hi, all
>
> I'm writing an NDIS5.0 ATM Adapter driver.
>
> Now I hanve a question : in my miniport driver , where can I
> get the VPI/VCI value
> of the ATM connection.
>
> It seems that I can set the VPI/VCI in the miniport.But I'm not
sure.
>
> Does anyone know where can these values from?
>
> Thanks a lot.
>
> Xiaohua Cai
> Institute of Modern Communications, SJTU
> Shanghai
>
>
>
> ____________________________
> Free Email/SMTP/POP, http://www.bn3.com, Hosting
[email protected]
>
> ---
> You are currently subscribed to ntdev as: [email protected]
> To unsubscribe send a blank email to $subst('Email.Unsub')
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2

iQA/AwUBOPvhiuB0WaKgfXz5EQIvtACfcceHqdLA1jFEJ/a7ZyM4nBB7yHgAoNgn
QoZ86RHRUaTDrhHeIBL0UGyJ
=3AZN
-----END PGP SIGNATURE-----
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 13-17 May 2024 Live, Online
Developing Minifilters 1-5 Apr 2024 Live, Online
Internals & Software Drivers 11-15 Mar 2024 Live, Online
Writing WDF Drivers 26 Feb - 1 Mar 2024 Live, Online