MCPcopy Create free account
hub / github.com/DentonW/DevIL / DestroyGDI

Function DestroyGDI

DevIL/examples/windows_example/windows_example.cpp:213–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212
213void DestroyGDI()
214{
215 if (hMemDC) {
216 DeleteObject(hBitmap);
217 DeleteDC(hMemDC);
218 }
219 if (hDC) {
220 ReleaseDC(HWnd, hDC);
221 }
222 hBitmap = NULL;
223 hMemDC = NULL;
224 hDC = NULL;
225
226 return;
227}
228
229
230void ResizeWin()

Callers 1

WndProcFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected