DDex2
所属分类:游戏
开发工具:Visual C++
文件大小:1180KB
下载次数:22
上传日期:2008-03-10 11:40:12
上 传 者:
greathemin
说明: Windows Mobile6 DDraw案例2
文件列表:
DDex2\back.bmp (308278, 2007-03-30)
DDex2\DDex2.cpp (29100, 2007-03-30)
DDex2\ddex2.rc (889, 2007-03-30)
DDex2\DDex2.sln (1624, 2007-03-30)
DDex2\DDex2.vcproj (6062, 2007-03-30)
DDex2\ddutil.cpp (10004, 2007-03-30)
DDex2\ddutil.h (1870, 2007-03-30)
DDex2\directx.ico (1078, 2007-03-30)
DDex2\resource.h (897, 2007-03-30)
DDex2\stdafx.cpp (921, 2007-03-30)
DDex2\stdafx.h (2589, 2007-03-30)
DDex2\DDex2.ncb (6130688, 2008-03-05)
DDex2\DDex2.vcproj.AARON.new.user (1799, 2008-03-05)
DDex2\DDex2.suo (7680, 2008-03-05)
DDex2 (0, 2008-03-03)
Code Sample Name: DDEx2
Feature Area: Direct Draw
Description:
DDEx2 demonstrates the tasks required to initialize and run a DirectDraw
application.
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 DDEx2 sample is an extension of DDEx1 that adds a bitmap. Routines in
DDutil.cpp load a bitmap file and copy it to a DirectDraw surface.
Relevant APIs:
DirectDraw
Usage:
Load the project from Visual Studio 2005, and build and deploy normally.
DDEx2 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.
** For more information about this code sample,
please see the Windows Mobile SDK help system. **
近期下载者:
相关文件:
收藏者: