Bewerken

Delen via


C28147

warning C28147: The use of a default pool tag (' kdD' or ' mdW') for calls to this function defeats the purpose of pool tagging

Additional information

This may be caused by using ExAllocatePool directly, or the tag may have been copied from that macro. In any case, ExAllocatePoolWithTag (etc.) should be used with a unique tag.

The driver is specifying a default pool tag. Because the system tracks pool use by pool tag, only those drivers that use a unique pool tag can identify and distinguish their pool use.

ExAllocatePool and ExAllocatePoolWithQuota are obsolete and should be replaced by ExAllocatePoolWithTag and ExAllocatePoolWithQuotaTag, which let you specify a unique pool tag.