Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我HDC dc = GetDC(null);过去常常从桌面获取 DC,但我不清楚是否必须通过ReleaseDC()电话释放它。如果是这样,我该怎么做?ReleaseDC(NULL, dc)?
HDC dc = GetDC(null);
ReleaseDC()
ReleaseDC(NULL, dc)