NdisMRegisterMiniport Failure

All,

I am getting a failure when I call NdisMRegisterMiniport on Windows NT 4.0
with service pack 6a.

I have initiatized the NDIS_MINIPORT_CHARACTERISTICS structure properly
with all the handlers and the correct NDIS version numbers. The function
NdisMInitializeWrapper is successful and I am using the wrapper handle
returned by this function.

From the DDK documention, I gathered that reasons for failure areif the
structure is not initiazed properly or the wrong size passed.

What are the other reasons for the function call to fail?

…Ram Nayak

What was the error returned from NdisMRegisterMiniport?

What is the BUILD Version in the NDIS.h that you are using? If BUILD Version
is 0122, then that is for the original NT 4.0 DDK. NT 4.0 SP3 introduced
some enhancements to NDIS (e.g., NDIS IM drivers…) that modified the
NDIS.h. The NDIS.h that I am using is BUILD 0129.

The SP3 NDIS.h used to be available for download on the MS DDK website, but
NT information is no longer there.

The newer NDIS.h may have different structure sizes.

Just one possible cause…

Hope this helps.

Regards,

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client/Filter
http: - http:

“Ram Nayak” wrote in message news:xxxxx@ntdev…
>
> All,
>
> I am getting a failure when I call NdisMRegisterMiniport on Windows NT 4.0
> with service pack 6a.
>
> I have initiatized the NDIS_MINIPORT_CHARACTERISTICS structure properly
> with all the handlers and the correct NDIS version numbers. The function
> NdisMInitializeWrapper is successful and I am using the wrapper handle
> returned by this function.
>
> From the DDK documention, I gathered that reasons for failure areif the
> structure is not initiazed properly or the wrong size passed.
>
> What are the other reasons for the function call to fail?
>
> …Ram Nayak
>
></http:></http:>

The error I get is 0xC0000001 (STATUS_UNSUCCESSFUL).

The build I am using is 1381 ( Service pack 6a ).

I will check if they have newer ndis.h files on MSDN.

Thanks,

…Ram

-----Original Message-----
From: Thomas F. Divine [PCAUSA] [mailto:xxxxx@hotmail.com]
Sent: Thursday, January 09, 2003 6:04 PM
To: NT Developers Interest List
Subject: [ntdev] Re: NdisMRegisterMiniport Failure

What was the error returned from NdisMRegisterMiniport?

What is the BUILD Version in the NDIS.h that you are using? If BUILD Version
is 0122, then that is for the original NT 4.0 DDK. NT 4.0 SP3 introduced
some enhancements to NDIS (e.g., NDIS IM drivers…) that modified the
NDIS.h. The NDIS.h that I am using is BUILD 0129.

The SP3 NDIS.h used to be available for download on the MS DDK website, but
NT information is no longer there.

The newer NDIS.h may have different structure sizes.

Just one possible cause…

Hope this helps.

Regards,

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client/Filter
http: - http:

“Ram Nayak” wrote in message news:xxxxx@ntdev…
>
> All,
>
> I am getting a failure when I call NdisMRegisterMiniport on Windows NT 4.0
> with service pack 6a.
>
> I have initiatized the NDIS_MINIPORT_CHARACTERISTICS structure properly
> with all the handlers and the correct NDIS version numbers. The function
> NdisMInitializeWrapper is successful and I am using the wrapper handle
> returned by this function.
>
> From the DDK documention, I gathered that reasons for failure areif the
> structure is not initiazed properly or the wrong size passed.
>
> What are the other reasons for the function call to fail?
>
> …Ram Nayak
>
>


You are currently subscribed to ntdev as: xxxxx@3eti.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</http:></http:>

The error I get is 0xC0000001 (STATUS_UNSUCCESSFUL).

The NDIS.H I am using is Build 0122. I am using the DDK currently
available for download from MSDN. There is only one download available.

The size of the NDIS40_MINIPORT_CHARATERISTICS I am getting is 72.

Will this be constant across different service packs installed on WIndows
NT 4.0?

Thanks,

…Ram