C28134

warning C28134: The type of a pool tag should be integral, not a string or string pointer

Additional information

A pool tag name should be a character literal using single quotation marks ('gaT_'), not a string in double quotation marks. It is normally in reverse byte order.

The driver is calling a function that assigns a pool tag, such as ExAllocatePoolWithTag, but it is using a value other than a literal in single quotation marks to specify the value of the pool tag. Do not use a quoted string in a pool tag.

Example

The following code example elicits this warning.

p = ExAllocatePoolWithTag(NonPagedPool, 30, "_Tag");

The following code example avoids this warning.

p = ExAllocatePoolWithTag(NonPagedPool, 30, 'gaT_');