It is important to note that unlike a security feature or an implementation of Digital Rights Management (DRM), there is no guarantee thatĪnd GetWindowDisplayAffinity, and other necessary functions such as DwmIsCompositionEnabled, will strictly protect windowed content, as in the case where someone takes a photograph of the screen. However, it works only when the Desktop Window Manager (DWM) is composing the desktop. Own onscreen window content from being captured or copied via a specific set of public operating system featuresĪnd APIs. This feature enables applications to protect their This function and SetWindowDisplayAffinity are designed to support the window content protection feature unique to Windows 7. To get extended error information, call GetLastError. If this function succeeds, it returns TRUE otherwise, it returns FALSE. This function succeeds only when the window is layered and Desktop Windows Manager See SetWindowDisplayAffinity for a list of affinity settings and their meanings. Syntax BOOL GetWindowDisplayAffinity(Ī pointer to a variable that receives the display affinity setting. Retrieves the current display affinity setting, from any process, for a given window.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |