2025-11-28 00:35:46 +09:00

30 lines
1.4 KiB
Plaintext

/*************************************************************************************************
*
* Sample: MagnifierSample.cpp
*
* Description: Implements a simple control that magnifies the screen, using the Magnification API.
*
* The magnification window is full-screen by default. To switch it to a resizable window, switch
* to the program by using the taskbar and press ESC. In full-screen mode, it is not otherwise possible
* to focus the magnification window, and all keystrokes and mouse clicks are passed through to the
* underlying focused application. In partial-screen mode, the window can receive the focus.
*
* Requirements: To compile, link to Magnification.lib.
*
* The sample is not designed for multimonitor setups.
*
* This file is part of the Microsoft Windows SDK Code Samples.
*
* Copyright (C) Microsoft Corporation. All rights reserved.
*
* This source code is intended only as a supplement to Microsoft
* Development Tools and/or on-line documentation. See these other
* materials for detailed information regarding Microsoft code samples.
*
* THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
* PARTICULAR PURPOSE.
*
*************************************************************************************************/