Prev: Mirror Driver and Mouse Pointers - Interaction?
Next: Does anyone know what this bugcheck is ? WdfDeviceInitSetRequestAt
From: Maxim on 17 Dec 2007 17:03 I am trying to allocate memory in a STORPORT miniport driver via StorPortAllocatePool. I am suing WDK6000. The function is defined in storport.h as a wrapper around StorPortExtendedFunction. At compile time, I get: error LNK2019: unresolved external symbol __imp__StorPortExtendedFunction referenced in function _StorPortAllocatePool(a)16 objchk_wnet_x86\i386\vtms_stor.sys : fatal error LNK1120: 1 unresolved externals I also saw on MSDN that AllocatePool could be referenced via a pointer from STORPORT_EXTENDED_FUNCTIONS structure which could be retrieved by calling StorPortNotification with GetExtendedFunctionsTable and a pointer to a pointer to this structure. If I do that, the pointer stays as NULL. Whats going on?
From: Andrew Sha on 18 Dec 2007 17:55 AFAIK, this API is for Vista only, not sure about WS03SP2 "Maxim" wrote: > I am trying to allocate memory in a STORPORT miniport driver via > StorPortAllocatePool. I am suing WDK6000. The function is defined in > storport.h as a wrapper around StorPortExtendedFunction. At compile time, I > get: > > error LNK2019: unresolved external symbol __imp__StorPortExtendedFunction > referenced in function _StorPortAllocatePool(a)16 > objchk_wnet_x86\i386\vtms_stor.sys : fatal error LNK1120: 1 unresolved > externals > > I also saw on MSDN that AllocatePool could be referenced via a pointer from > STORPORT_EXTENDED_FUNCTIONS structure which could be retrieved by calling > StorPortNotification with GetExtendedFunctionsTable and a pointer to a > pointer to this structure. If I do that, the pointer stays as NULL. > > Whats going on?
From: Maxim on 18 Dec 2007 18:19 I see. Any idea how I can allocate memory in a StorPort miniport driver prior to Vista? "Andrew Sha" wrote: > AFAIK, this API is for Vista only, not sure about WS03SP2
From: Andrew Sha on 18 Dec 2007 18:41 try StorPortGetUncachedExtension "Maxim" wrote: > I see. Any idea how I can allocate memory in a StorPort miniport driver > prior to Vista? > > "Andrew Sha" wrote: > > > AFAIK, this API is for Vista only, not sure about WS03SP2 >
From: Maxim on 20 Dec 2007 19:17
thanks! "Andrew Sha" wrote: > try StorPortGetUncachedExtension > > "Maxim" wrote: > > > I see. Any idea how I can allocate memory in a StorPort miniport driver > > prior to Vista? > > > > "Andrew Sha" wrote: > > > > > AFAIK, this API is for Vista only, not sure about WS03SP2 > > |