From: tatsun on 14 Apr 2010 05:16 Hi I am developping the HID KMDF minidriver. It need to have many parameters in device context. But I do not know the limitation of device context. Tell me about the size limitation.
From: Maxim S. Shatskih on 14 Apr 2010 07:38 > I am developping the HID KMDF minidriver. > It need to have many parameters in device context. But I do not know the > limitation of device context. Tell me about the size limitation. I don't think it is limited except by the total OS's nonpaged memory. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: tatsun on 14 Apr 2010 20:23 Thanks Maxim. I understand that if WdfDeviceCreate is succes, device context is created successfull. "Maxim S. Shatskih" wrote: > > I am developping the HID KMDF minidriver. > > It need to have many parameters in device context. But I do not know the > > limitation of device context. Tell me about the size limitation. > > I don't think it is limited except by the total OS's nonpaged memory. > > -- > Maxim S. Shatskih > Windows DDK MVP > maxim(a)storagecraft.com > http://www.storagecraft.com > > . >
From: Doron Holan [MSFT] on 15 Apr 2010 13:46 there is a limit to the context size, it is a bit under MAX_USHORT. don't know if that is documented or not. you can always have one field which is a pointer to your bigger alloc d -- This posting is provided "AS IS" with no warranties, and confers no rights. "tatsun" <tatsun(a)discussions.microsoft.com> wrote in message news:0A62294D-B331-4F87-A14B-8FE25D931F8A(a)microsoft.com... > Thanks Maxim. > > I understand that if WdfDeviceCreate is succes, device context is created > successfull. > > > > "Maxim S. Shatskih" wrote: > >> > I am developping the HID KMDF minidriver. >> > It need to have many parameters in device context. But I do not know >> > the >> > limitation of device context. Tell me about the size limitation. >> >> I don't think it is limited except by the total OS's nonpaged memory. >> >> -- >> Maxim S. Shatskih >> Windows DDK MVP >> maxim(a)storagecraft.com >> http://www.storagecraft.com >> >> . >>
|
Pages: 1 Prev: "Convert" Driver vom XP64 to Win7 64 Next: DriverPackagePreinstall returns ERROR_ACCESS_DENIED |