Hello,
I have downloaded the windows CE passthru example.
Creating the dll is no problem.
The dll get loaded, but stops at NdisMInitializeWrapper.
NTSTATUS
DriverEntry(
IN PDRIVER_OBJECT pDriverObject,
IN PUNICODE_STRING psRegistryPath
)
{
NDIS_STATUS status = NDIS_STATUS_SUCCESS;
NDIS_STRING sName;
NDIS_PROTOCOL_CHARACTERISTICS ndisPChars;
NDIS_MINIPORT_CHARACTERISTICS ndisMChars;
Ausg("DriverEntry");
NdisAllocateSpinLock(&g_spinLock);
Ausg("InitWrapper");
NdisMInitializeWrapper(&g_hNdisWrapper, pDriverObject, psRegistryPath, NULL);
Ausg("Finished");
The "Ausg" function just writes information into a logfile.
The green one get called but the red one not.
Any ideas what could be the reason
Update:
Now i have got the Error Code. The Code is: EXCEPTION_DATATYPE_MISALIGNMENT .
It seems that one of the paramters is not correct.
If someone knwo the problem it would be helpful.
THX for answers,
bwinter

problem with NdisMInitializeWrapper
Olivier .NET
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1
Thanks
Srikanth Bogadapati .