Click to open or copy the files for the Donut sample.
This sample takes the ddraw Donut sample from the DirectX SDK and adds an animated text string to it using DirectX Animation. A direct draw primary surface is created and passed to the DAView object for rendering.
This sample uses the following keywords:
_ftime; _lclose; _lopen; _lread; _t; blt; clienttoscreen; cocreateinstance; coinitialize; colorhslanim; couninitialize; createclipper; createcompatibledc; createdirectdraw; createinstance; createpalette; createsurface; createsurfaces; createwindowex; danumber; ddcolormatch; ddcopybitmap; ddloadbitmap; ddloadpalette; ddreloadbitmap; ddsetcolorkey; defwindowproc; deletedc; deleteobject; destroywindow; dispatchmessage; doinit; dump_com_error; error; errormessage; exclude; findresource; finiobjects; font; getclientrect; getdc; getforegroundwindow; getmessage; getmodulehandle; getobject; getpixel; getstockobject; getsurfacedesc; gettickcount; initdxaviewobj; initfail; isiconic; islost; loadcursor; loadicon; loadimage; loadresource; lock; lockresource; messagebox; mul; outputdebugstring; overlay; peekmessage; postmessage; postquitmessage; recreatesurfaces; redrawwindow; registerclass; release; releasedc; releasesurfaces; rename; rename_namespace; render; resetdxasurfaces; restore; restoreall; rgb; rotate2anim; selectobject; setclipper; setcolorkey; setcooperativelevel; setcursor; sethwnd; setpalette; setpixel; setrect; setviewport; showwindow; sin; solidcolorimage; sprintf; startmodel; startole; stretchblt; stringimage; switch; tick; transform; translate2anim; translatemessage; unlock; updateframe; updatewindow; waitmessage; windowproc; winmain; zeromemory