in my application I'm using Media Foundation to render a video from a webcam. The window with the video is part of application window which I want to screenshot programatically as a whole. Now I'm trying to use classic approach for screenshots (copy a window's dc to a bitmap), but the video window is excluded from the picture.
PS1: When I take a picture of a whole application using a Print Screen button, it works. The video window is included.
PS2: As I understand, the Media Foundation uses Direct3D 11 to render a video.