ExIsObjectInFirstZoneSegment

BOOLEAN
    ExIsObjectInFirstZoneSetment(

        IN PZONE_HEADER  Zone,
        IN PVOID  Object
        );

ExIsObjectInFirstZoneSegment determines whether the given object was allocated from the original zone segment or from an extension to the zone.

Parameters

Zone
Points to the zone header to be tested.
Object
Points to the object to be tested.

Return Value

ExIsObjectInFirstZoneSegment returns TRUE if the given object was allocated from the original zone segment.

Comments

Callers of ExIsObjectInFirstZoneSegment must be running at IRQL <= DISPATCH_LEVEL.

See Also

ExInitializeZone, ExExtendZone, ExInterlockedExtendZone