Re: Driver load error by ms
ms
Fri Aug 26 17:18:42 CDT 2005
Hi David
Thanks, Yes i am using the Microsoft mdd in the
public\common\oak\drivers\usbfn\controller\mdd ,
UFN_Init
UFN_Deinit
UFN_Open
UFN_Close
UFN_PowerDown
UFN_PowerUp
UFN_IOControl
I've done a dumpbin /exports on pxa25xusbfn.dll and these are the
functions exported. I've gone into
the device manager source and tracked down where it is failing. It seems to
be when GetProcaddress is
called on the various dll entry points. All the addressses of the
respective function pointers are 0x00000000
so this is why it would fail the check which results in
DEVICE!CreateDevice: illegal entry point combination in driver DLL.
Maybe there is something wrong with my dll function address fixups? Any
ideas
Do you know why there are 2 dllentry's one for the mdd and the other for
pdd, which mdd calls?
Regards
"David Liao (MS)" <davli@online.microsoft.com> wrote in message
news:%23DfaaCoqFHA.4076@tk2msftngp13.phx.gbl...
> Are you sure you are using Microsoft MDD for USB Function driver? It
> complains the stream interface entry is not found or incomplete. Can you
> double check your .def to make sure all the UFN_xxx has been exported.
>
> David Liao
>
> "ms" <ms@discussions.microsoft.com> wrote in message
> news:OGxLWRlqFHA.1272@TK2MSFTNGP11.phx.gbl...
> > Hi,
> >
> > My usb function driver pxa25xusbfn.dll fails to load. It reaches
> > DLL_process_attach in the MDD and then
> > goes into Dllentry in PDD (not sure why there are 2 dllentry's ) then
> > returns to DevMgr code which later calls
> > DeleteDevice on which the driver unloads.
> >
> > I get the following debug output:
> >
> > DEVICE!CreateDevice: illegal entry point combination in driver DLL:
> > pxa25xusbfn.dll
> >
> > To save me some debugging time, does anyone know why this error ocurs.
Is
> > it
> > something to do with the fact there
> > are 2 dllentry points.
> >
> > Regards
> >
> >
>
>