Controling contrast from an application

  • Thread starter Thread starter Thomas Johansen
  • Start date Start date
T

Thomas Johansen

Hi

I there any way of controlling my dispaly contrast with a API other then
the IDirectDrawColorControl::SetColorControls function in the DirextX API ?
Or is this the only way ? Doen any have an sample on how ?

Thomas
 
If you want to remove user mode part of directx then you can use direct
calls to kernel part of directx trough Low Level API.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui
/windowsuserinterface/lowlevelclientsupport/dxlowlevelclientsupport.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui
/WindowsUserInterface/LowLevelClientSupport/Graphics/NtGdiDdColorControl.asp

If this is not function that you want then you should be able to find
appropriate, since everything goes though these functions.


Regards,
Slobodan
 
Is there any sample on how to use this ?

Slobodan Brcin said:
If you want to remove user mode part of directx then you can use direct
calls to kernel part of directx trough Low Level API.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui
/WindowsUserInterface/LowLevelClientSupport/Graphics/NtGdiDdColorControl.asp

If this is not function that you want then you should be able to find
appropriate, since everything goes though these functions.


Regards,
Slobodan


API
 
I don't know if there is any sample. Try searching the net.
But I'm using one of the functions to get HANDLE that I can pass to driver.

I have no idea about the colors.

Regards,
Slobodan
 
Back
Top