system crash printing on FILE port on AMD 64-bit XP from 32 bit application

Hi all,

We modified the MSPLOT printer driver sample in ddk to create a GDI
managed surface using engcreatebitmap in DrvEnableSurface.

The last parameter of engcreatebitmap function,

HBITMAP

EngCreateBitmap(

IN SIZEL sizl,

IN LONG lWidth,

IN ULONG iFormat,

IN FLONG fl,

IN PVOID pvBits

);

pvBits is given a pointer to the allocated buffer.

Using 32bit application when given Print to file or FILE port, the
system crashes with BUGCHECK 0x03 SYSTEM_SERVICE_EXCEPTION.

But when using 64 bit application on the same printer driver, the crash
does not occur.

Platform:-

AMD 64-bit XP Beta

Is there any known problem with splwow64.exe?

Thanks,

Shiva P