Searched refs:ScreenDC (Results 1 – 2 of 2) sorted by relevance
166 HDC ScreenDC; in CaptureScreen() local178 if (!(ScreenDC = GetDC(pScrSht->hSelf))) in CaptureScreen()183 pScrSht->hBitmap = CreateCompatibleBitmap(ScreenDC, in CaptureScreen()189 ReleaseDC(pScrSht->hSelf, ScreenDC); in CaptureScreen()194 if (!(pScrSht->hDC = CreateCompatibleDC(ScreenDC))) in CaptureScreen()197 ReleaseDC(pScrSht->hSelf, ScreenDC); in CaptureScreen()211 ScreenDC, in CaptureScreen()217 ReleaseDC(pScrSht->hSelf, ScreenDC); in CaptureScreen()
1050 HDC ScreenDC; in OnCreate() local1106 ScreenDC = GetWindowDC(hWnd); in OnCreate()1107 hdcMem = CreateCompatibleDC(ScreenDC); in OnCreate()1108 ReleaseDC(hWnd, ScreenDC); in OnCreate()