typedef struct _GDI_TEB_BATCH
{
    unsigned long Offset;
    unsigned __int64 HDC;
    unsigned long Buffer[310];
} GDI_TEB_BATCH, *PGDI_TEB_BATCH;