NdisMSetMiniportSecondary failure

I’m having a problem with my NDIS intermediate driver. On the machine, I
have 4 network cards. I have one set up as the primary adapter and the
three others set up as secondary. On the machine, I go into network
properties and disable one of the secondary adapters. When I re-enable
that adapter and call NdisMSetMiniportSecondary, I get an unknown status
back. Its not NDIS_STATUS_SUCCESS and its not NDIS_STATUS_FAILURE (its not
even NDIS_STATUS_PENDING, which the DDK doesn’t mention). If I print out
the value of the return status, its C00000BB h.

Anybody have an idea on what this status means or why I wouldn’t get a
NDIS_STATUS_SUCCESS?

Thanks,

John

BTW, this is what the DDK says:

NdisMSetMiniportSecondary can return either of the following:
NDIS_STATUS_SUCCESS
The miniport adapter has been set to the secondary role…
NDIS_STATUS_FAILURE
An attempt to set the miniport adapter that is currently being
initialized to the secondary role failed.

That’s defined in NTSTATUS.H as:
STATUS_NOT_SUPPORTED

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: xxxxx@phobos.com [mailto:xxxxx@phobos.com]
Sent: Friday, December 01, 2000 12:49 PM
To: NT Developers Interest List
Subject: [ntdev] NdisMSetMiniportSecondary failure

I’m having a problem with my NDIS intermediate driver. On the machine, I
have 4 network cards. I have one set up as the primary adapter and the
three others set up as secondary. On the machine, I go into network
properties and disable one of the secondary adapters. When I re-enable
that adapter and call NdisMSetMiniportSecondary, I get an unknown status
back. Its not NDIS_STATUS_SUCCESS and its not NDIS_STATUS_FAILURE (its not
even NDIS_STATUS_PENDING, which the DDK doesn’t mention). If I print out
the value of the return status, its C00000BB h.

Anybody have an idea on what this status means or why I wouldn’t get a
NDIS_STATUS_SUCCESS?

Thanks,

John

BTW, this is what the DDK says:

NdisMSetMiniportSecondary can return either of the following:
NDIS_STATUS_SUCCESS
The miniport adapter has been set to the secondary role…
NDIS_STATUS_FAILURE
An attempt to set the miniport adapter that is currently being
initialized to the secondary role failed.

Thanks Paul.

Well, thats interesting, but not very helpful… I don’t get how you can
call the function on the same adapter, the first time it works fine, the
second time it returns some goofy error. Anyone have an idea as to why I
might get STATUS_NOT_SUPPORTED?

Thanks,

John Hirschi

Paul Bunn
To: “NT Developers Interest List”
Sent by:
xxxxx@lis cc:
ts.osr.com Subject: [ntdev] RE:
NdisMSetMiniportSecondary failure

12/01/2000 01:47 PM
Please respond to “NT
Developers Interest
List”

That’s defined in NTSTATUS.H as:
STATUS_NOT_SUPPORTED

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: xxxxx@phobos.com [mailto:xxxxx@phobos.com]
Sent: Friday, December 01, 2000 12:49 PM
To: NT Developers Interest List
Subject: [ntdev] NdisMSetMiniportSecondary failure

I’m having a problem with my NDIS intermediate driver. On the machine, I
have 4 network cards. I have one set up as the primary adapter and the
three others set up as secondary. On the machine, I go into network
properties and disable one of the secondary adapters. When I re-enable
that adapter and call NdisMSetMiniportSecondary, I get an unknown status
back. Its not NDIS_STATUS_SUCCESS and its not NDIS_STATUS_FAILURE (its not
even NDIS_STATUS_PENDING, which the DDK doesn’t mention). If I print out
the value of the return status, its C00000BB h.

Anybody have an idea on what this status means or why I wouldn’t get a
NDIS_STATUS_SUCCESS?

Thanks,

John

BTW, this is what the DDK says:

NdisMSetMiniportSecondary can return either of the following:
NDIS_STATUS_SUCCESS
The miniport adapter has been set to the secondary role…
NDIS_STATUS_FAILURE
An attempt to set the miniport adapter that is currently being
initialized to the secondary role failed.


You are currently subscribed to ntdev as: xxxxx@phobos.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)