* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <w32k.h>
+#include <win32k.h>
#define NDEBUG
#include <debug.h>
return FALSE;
}
- SafeRamp = ExAllocatePool(PagedPool, sizeof(GAMMARAMP));
+ SafeRamp = ExAllocatePoolWithTag(PagedPool, sizeof(GAMMARAMP), TAG_GDIICM);
if (!SafeRamp)
{
DC_UnlockDc(dc);
_SEH2_END;
DC_UnlockDc(dc);
- ExFreePool(SafeRamp);
+ ExFreePoolWithTag(SafeRamp, TAG_GDIICM);
if (!NT_SUCCESS(Status))
{
return FALSE;
}
- SafeRamp = ExAllocatePool(PagedPool, sizeof(GAMMARAMP));
+ SafeRamp = ExAllocatePoolWithTag(PagedPool, sizeof(GAMMARAMP), TAG_GDIICM);
if (!SafeRamp)
{
DC_UnlockDc(dc);
if (!NT_SUCCESS(Status))
{
DC_UnlockDc(dc);
- ExFreePool(SafeRamp);
+ ExFreePoolWithTag(SafeRamp, TAG_GDIICM);
SetLastNtError(Status);
return FALSE;
}
Ret = IntSetDeviceGammaRamp((HDEV)dc->ppdev, SafeRamp, TRUE);
DC_UnlockDc(dc);
- ExFreePool(SafeRamp);
+ ExFreePoolWithTag(SafeRamp, TAG_GDIICM);
return Ret;
}