⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 Windows Mobile6 DDraw案例3
💻 TXT
字号:
Code Sample Name:  DDEx3

Feature Area: Direct Draw

Description: 
    DDEx3 demonstrates the use of off-screen surfaces.

    This program shows how to initialize DirectDraw and create a DirectDraw 
    surface. It creates a back surface and uses page flipping to alternately 
    display the contents of the front and back surfaces. Other techniques 
    demonstrated include color fills and using GDI functions on a DirectDraw 
    surface.

    The DDEx3 sample is an extension of DDEx2. In addition to the front and back 
    surfaces, the program creates two off-screen surfaces and loads bitmaps 
    into them. It calls the IDirectDrawSurface4::BltFast method to copy the 
    contents of an off-screen surface to the back surface, alternating the 
    source surface on each frame. After it blits the bitmap to the back surface, 
    DDEx3 flips the front and back surfaces. 
    
Relevant APIs: 
    DirectDraw

Usage:
    Load the project from Visual Studio 2005, and build and deploy normally.
    DDEx3 requires no user input. Press the ACTION button to quit the 
    program.

Assumptions: 
    The device supports hardware flipping support.

Requirements: 
    Visual Studio 2005, 
    Windows Mobile 6 Professional SDK
    Activesync 4.5.

    This sample requires hardware flipping support.  If the display
    driver doesn't support page flipping the sample will exit during
    initialization.

    Requires at least 1.2 MB of video RAM.    

** For more information about this code sample, 
please see the Windows Mobile SDK help system. **

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -