Hi there,
Isn't it possible to create/open a handle to the graphic
card?
There is a symbolic link named "\\.\Display1" that links
to the named Function Device Object (FDO) of the graphic
card (\Device\Video0), but when I try the following:
HANDLE hHandle = CreateFile(
"\\\\.\\Display1",
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
0,
NULL);
"hHandel" is set to "invalid handle" (0xffffffff) and
GetLastError() returns "Access is denied" (5).
All I want is to get a handle to the graphic card so that
I can send some IOCTL's to it.
Isn't it possible?
Thanks and regards,
Kent.