Prevent Screen Capture with DirectX

I want to make a single image using DirectX. It should work like a directx video output VLC player if it is not possible to capture a frame using simple screen capture software or a print screen key. It is impossible (or very difficult) to take a screenshot!

Does anyone know how this works in a VLC player?

Are there any other possible solutions? Perhaps with "Output Protection Manager" (see http://msdn.microsoft.com/en-us/library/dd388980(VS.85).aspx )

I have about 3 years of C # programming experience at school. I also did some C ++ programming, but I would rather use a C # solution using WPF or Managed DirectX.

Sorry for my English and thanks for your help in advance.

+5
source share
2 answers

-, , VLC , , ( , Windows) "" . GPU, "" . , . . Windows . , D3D9/DDraw , , .

Direct3D 9 Overlays

Direct3D 9, . . MSDN , . D3D9, , .

. , - , API- , .

GPU

, GPU, , DRM, GPU. , . , . MSDN , Direct3D 9 , Direct3D 11.

, , (, HDCP).

Media Protected Media Path (PMP)

DRM, Media Protected Media Path, . , . - - , , Windows . , . Netflix Windows, Blueray .

Swap- DXGI

, Direct3D 10.x/11.x(, , , D3D 9, 2014 ), , .

DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTENT , , HDCP HDCP. , , , , , HDMI .

, , DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY. API- - -. .

. DXGI.

, , , , , , - ( , ).

, , DXGI. , . API, SetWindowDisplayAffinity, DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY , , GDI, DirectX .. WDA_MONITOR, HWND WDA_NONE, .

, Microsoft , , .

+6

, WM_PRINTCLIENT, Windows, WM_PRINTCLIENT, . . WM_PRINTCLIENT. - , , . . this. CodeProject, Windows, , . ( CodeProject)

, , , .

+1

All Articles