Move GDI_BATCH_LIMIT where it should go.

svn path=/trunk/; revision=30063
This commit is contained in:
James Tabor 2007-11-02 02:56:21 +00:00
parent 36a2283520
commit 6383a43920
3 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,6 @@
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
*/
#define GDI_BATCH_LIMIT 20
/* DATA **********************************************************************/

View file

@ -78,6 +78,7 @@ typedef enum _GETDCPOINT
} GETDCPOINT, *PGETDCPOINT;
#define GDIBATCHBUFSIZE 0x136
#define GDI_BATCH_LIMIT 20
typedef enum _GDIBATCHCMD
{

View file

@ -117,7 +117,7 @@ Win32kProcessCallback(struct _EPROCESS *Process,
{
/* map the gdi handle table to user land */
Process->Peb->GdiSharedHandleTable = GDI_MapHandleTable(GdiTableSection, Process);
Process->Peb->GdiDCAttributeList = 5;
Process->Peb->GdiDCAttributeList = GDI_BATCH_LIMIT;
}
/* setup process flags */