Pool allocation question



Hello everyone,

When ExAllocatePoolWithTag allocates less than a page, it stores size of the block and the tag somewhere.
Does it prepend a header to the block?
The documentation says that allocations >= page size are aligned on page size.
If so, where is the header in this case?
How to get the size and tag given start address of the block from code?

(Actually we're interested in NdisAllocateMemory; presumaby on NT it exactly maps to ExAllocate...)

No April 1st replies please ;)

Thanks
--PA


.



Relevant Pages

  • Re: XmlReaders and fragments
    ... The format has an XML fragment for a header, then a large amount of binary data beneath. ... ReadOuterXmlwhen positioned on an element reads everything including the end tag and positions the reader on the next node. ...
    (microsoft.public.dotnet.xml)
  • Re: Get ID-Tags of MP3s
    ... {- Fixed bug with tag ... {ID3v2 frame header} ... function ExtractTrack(const TrackString: string): Byte; ...
    (comp.lang.pascal.delphi.misc)
  • Re: Get ID-Tags of MP3s
    ... {- Fixed bug with tag ... {ID3v2 frame header} ... function ExtractTrack(const TrackString: string): Byte; ...
    (alt.comp.lang.borland-delphi)
  • Re: Converting Mp3 files
    ... The tag size varies. ... It took me about an hour to modify my existing media player application to provide the option of stripping the album art when copying for CDs for my truck. ... I think everything based upon the old NECimplementation chokes on WMA files with>200 pixel album art in the header - I think that powered about 95% of the first many years of WMA-capable devices. ...
    (microsoft.public.windowsmedia.player)
  • Re: new CSS tutorial
    ... I wouldn't trust any article that recommends: ... I actually use both for the header though, I use a Div Header tag, but ... I have a tag inside that tag, it means I can give some more layout ...
    (alt.html)