Using malloc() within driver code ?

Hi,

Is it is possible to use malloc() in the driver code?

With Regards,
A.Ilamparithi.

ExAllocatePoolWith[Quota]Tag

“A.Ilamparithi” wrote in message news:xxxxx@ntfsd…
> Hi,
>
> Is it is possible to use malloc() in the driver code?
>
> With Regards,
> A.Ilamparithi.
>
>
>
>
>
>

Hi,

I have a static library which has been build in the DDK( which is using
malloc() function for internal memory allocation).

Iam trying to use this static library inside my filesystem filter driver.

It was linking successfully, but it was not loading.

Can anybody help me out?

With Thanks,
A.Ilamparithi.

“Lyndon J Clarke” wrote in message
news:xxxxx@ntfsd…
> ExAllocatePoolWith[Quota]Tag
>
> “A.Ilamparithi” wrote in message news:xxxxx@ntfsd…
> > Hi,
> >
> > Is it is possible to use malloc() in the driver code?
> >
> > With Regards,
> > A.Ilamparithi.
> >
> >
> >
> >
> >
> >
>
>
>

Rewrite the library, you should not have used malloc. Use
ExAllocatePoolWithTag.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

“A.Ilamparithi” wrote in message news:xxxxx@ntfsd…
> Hi,
>
> I have a static library which has been build in the DDK( which is using
> malloc() function for internal memory allocation).
>
> Iam trying to use this static library inside my filesystem filter driver.
>
> It was linking successfully, but it was not loading.
>
> Can anybody help me out?
>
> With Thanks,
> A.Ilamparithi.
>
>
>
> “Lyndon J Clarke” wrote in message
> news:xxxxx@ntfsd…
> > ExAllocatePoolWith[Quota]Tag
> >
> > “A.Ilamparithi” wrote in message
news:xxxxx@ntfsd…
> > > Hi,
> > >
> > > Is it is possible to use malloc() in the driver code?
> > >
> > > With Regards,
> > > A.Ilamparithi.
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>