Click here to Skip to main content
15,887,464 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Randor 10-Oct-11 12:26
professional Randor 10-Oct-11 12:26 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Code-o-mat10-Oct-11 22:03
Code-o-mat10-Oct-11 22:03 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Randor 11-Oct-11 17:01
professional Randor 11-Oct-11 17:01 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Code-o-mat10-Oct-11 23:09
Code-o-mat10-Oct-11 23:09 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Randor 11-Oct-11 17:35
professional Randor 11-Oct-11 17:35 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Code-o-mat12-Oct-11 0:43
Code-o-mat12-Oct-11 0:43 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
arnoudmulder12-Nov-18 7:07
arnoudmulder12-Nov-18 7:07 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Randor 22-Nov-18 19:23
professional Randor 22-Nov-18 19:23 
Hi,

Sorry about the late reply. It's the Thanks Giving holiday here. It has also been 7 years since I wrote the above comment which appears to be completely correct.

arnoudmulder wrote:
In a remote desktop session on same computer the return value is zero. The odd thing is, in Windows 10 it also returns 0, odd because you would expect once it was supported it will stay supported.


I believe that this CDC::GetDeviceCaps behavior over "Remote Desktop" is because your code is not using the physical hardware display driver. I believe over RDP you are actually using the "RDP Encoder Mirror Driver" object located at (%WinDir%\system32\drivers\rdpencdd.sys) which does not have hardware acceleration.

In other words... the return value from CDC::GetDeviceCaps is correct.

Best Wishes,
-David Delaune
GeneralGetting ProcessID from CoCreateInstance Pin
Rajesh_Parameswaran10-Oct-11 6:13
Rajesh_Parameswaran10-Oct-11 6:13 
GeneralRe: not possible Pin
App_10-Oct-11 7:06
App_10-Oct-11 7:06 
GeneralRe: not possible Pin
TheGreatAndPowerfulOz10-Oct-11 7:52
TheGreatAndPowerfulOz10-Oct-11 7:52 
AnswerRe: Getting ProcessID from CoCreateInstance Pin
TheGreatAndPowerfulOz10-Oct-11 7:50
TheGreatAndPowerfulOz10-Oct-11 7:50 
QuestionVisual C++ label font changes after unlock Pin
chandu_vrs10-Oct-11 2:55
chandu_vrs10-Oct-11 2:55 
AnswerRe: Visual C++ label font changes after unlock Pin
Code-o-mat10-Oct-11 8:29
Code-o-mat10-Oct-11 8:29 
QuestionIs correct lpszString = lpszStringInit ? Pin
_Flaviu9-Oct-11 22:31
_Flaviu9-Oct-11 22:31 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
john56329-Oct-11 23:37
john56329-Oct-11 23:37 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu9-Oct-11 23:44
_Flaviu9-Oct-11 23:44 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu9-Oct-11 23:47
_Flaviu9-Oct-11 23:47 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
Chandrasekharan P10-Oct-11 0:12
Chandrasekharan P10-Oct-11 0:12 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu10-Oct-11 0:17
_Flaviu10-Oct-11 0:17 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
_AnsHUMAN_ 10-Oct-11 1:36
_AnsHUMAN_ 10-Oct-11 1:36 
GeneralRe: may i also add Pin
App_10-Oct-11 7:12
App_10-Oct-11 7:12 
GeneralRe: may i also add Pin
_Flaviu10-Oct-11 20:43
_Flaviu10-Oct-11 20:43 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
Stefan_Lang10-Oct-11 1:42
Stefan_Lang10-Oct-11 1:42 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu10-Oct-11 2:30
_Flaviu10-Oct-11 2:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.