Do I need to release the DC when the hwnd is NULL?

54 Views Asked by At

I'm using HDC dc = GetDC(null); to get the DC from desktop but it isn't clear to me if I must release it with a ReleaseDC() call. If so, how should I do that? ReleaseDC(NULL, dc)?

0

There are 0 best solutions below