Enabling HDCP encryption using OPM
-
Thursday, August 16, 2012 6:55 PM
I want my program to enable hdcp encryption. This can be possible using Output Protection Manager. Can anyone help me with a sample code, how can I enable hdcp encryption using opm. I want to prevent screen capture during the execution of my application.
Can anyone tell me the required header files to use the example codes?
Nahid Jawad
All Replies
-
Monday, August 20, 2012 6:30 PMModerator
HDCP is enforced by the input trust authority when the content requires it. The ITA generates an output policy, and that output policy will enforce the required schema MFPROTECTION_HDCP. If you are not writing an ITA, you do not have the ability to enforce HDCP.
HDCP is a seperate issue from preventing screen capture. HDCP protects data on the bus so that it cannot be intercepted in transit. You can use SetWindowDisplayAffinity to disable screen capture if desktop composition is turned on. There is also a function (DwmIsCompositionEnabled) for determining if desktop composition is turned on.
References & useful pages:
* http://msdn.microsoft.com/en-us/library/windows/desktop/dd375340(v=vs.85).aspx
* http://msdn.microsoft.com/en-us/library/windows/desktop/bb970362(v=vs.85).aspx
* http://msdn.microsoft.com/en-us/library/windows/desktop/bb970400(v=vs.85).aspx[Research details: http://bit.ly/PyPHfu]


