This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
GetDC(NULL), GetModuleHandle(NULL), etc.
- From: Joe Krahn <jkrahn at nc dot rr dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 02 Sep 2005 19:15:55 -0400
- Subject: GetDC(NULL), GetModuleHandle(NULL), etc.
- Reply-to: cygwin-xfree at cygwin dot com
There are several GetDC(NULL) statements. Should these really be
GetDC(hwndScreen)? It might make a difference for two screens with
different pixel layouts.
GetModuleHandle(NULL) is also in several places. Maybe it's OK, but why
not use the hInstance global?
These probably are just too low on the importance list for now. But, I
thought it was worth mentioning.
Joe
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/