gdi32: Get rid of the driver module in the DC.

This commit is contained in:
Alexandre Julliard 2013-10-29 12:43:45 +01:00
parent 74efeab238
commit e650da3570
2 changed files with 0 additions and 3 deletions

View File

@ -131,7 +131,6 @@ DC *alloc_dc_ptr( WORD magic )
dc->nulldrv.funcs = &null_driver;
dc->physDev = &dc->nulldrv;
dc->module = gdi32_module;
dc->thread = GetCurrentThreadId();
dc->refcount = 1;
dc->hPen = GDI_inc_ref_count( GetStockObject( BLACK_PEN ));
@ -649,7 +648,6 @@ HDC WINAPI CreateDCW( LPCWSTR driver, LPCWSTR device, LPCWSTR output,
if (!(dc = alloc_dc_ptr( OBJ_DC ))) return 0;
hdc = dc->hSelf;
dc->module = module;
dc->hBitmap = GDI_inc_ref_count( GetStockObject( DEFAULT_BITMAP ));
TRACE("(driver=%s, device=%s, output=%s): returning %p\n",

View File

@ -69,7 +69,6 @@ typedef struct tagDC
struct tagDC *saved_dc;
DWORD_PTR dwHookData;
DCHOOKPROC hookProc; /* DC hook */
HMODULE module; /* module handle of the graphics driver */
BOOL bounds_enabled:1; /* bounds tracking is enabled */
BOOL path_open:1; /* path is currently open (only for saved DCs) */