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_');
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for