I class for my Windows app which controls the panel brightness.
h = CreateFile(displayName,
GENERIC_READ | GENERIC_WRITE,
0,
NULL,
OPEN_EXISTING,
0, NULL);
Can I keep it open for long time (as long as app is active), or maybe I should close it and open only when required?