<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki.zeropage.org/index.php?action=history&amp;feed=atom&amp;title=DirectDraw%2FExample</id>
	<title>DirectDraw/Example - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.zeropage.org/index.php?action=history&amp;feed=atom&amp;title=DirectDraw%2FExample"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.zeropage.org/index.php?title=DirectDraw/Example&amp;action=history"/>
	<updated>2026-05-14T13:01:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://mediawiki.zeropage.org/index.php?title=DirectDraw/Example&amp;diff=84312&amp;oldid=prev</id>
		<title>Maintenance script: Repair batch-0002 pages from live compare</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.zeropage.org/index.php?title=DirectDraw/Example&amp;diff=84312&amp;oldid=prev"/>
		<updated>2026-03-27T00:16:01Z</updated>

		<summary type="html">&lt;p&gt;Repair batch-0002 pages from live compare&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:16, 27 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  // Global Variables:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  // Global Variables:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  HINSTANCE hInst;								// current instance&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  HINSTANCE hInst;								// current instance&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  TCHAR szTitle&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;MAX_LOADSTRING&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;;								// The title bar text&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  TCHAR szTitle&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#91;&lt;/ins&gt;MAX_LOADSTRING&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#93;&lt;/ins&gt;;								// The title bar text&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  TCHAR szWindowClass&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;MAX_LOADSTRING&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;;								// The title bar text&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  TCHAR szWindowClass&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#91;&lt;/ins&gt;MAX_LOADSTRING&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#93;&lt;/ins&gt;;								// The title bar text&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  HWND hWnd;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  HWND hWnd;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l146&quot;&gt;Line 146:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 146:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  	int wmId, wmEvent;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  	int wmId, wmEvent;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  	TCHAR szHello&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;MAX_LOADSTRING&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  	TCHAR szHello&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#91;&lt;/ins&gt;MAX_LOADSTRING&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#93;&lt;/ins&gt;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  	LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  	LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l210&quot;&gt;Line 210:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 210:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Thread ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Thread ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이게 어떤 건지는 몇자라도 좀 ;; --&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/del&gt;neocoin&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이게 어떤 건지는 몇자라도 좀 ;; --neocoin&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;..사각형이랑 움직이는 공입니다. --인수&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;..사각형이랑 움직이는 공입니다. --인수&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[DirectDraw]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[DirectDraw]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff::1.12:old-31404:rev-84312 --&gt;
&lt;/table&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.zeropage.org/index.php?title=DirectDraw/Example&amp;diff=31404&amp;oldid=prev</id>
		<title>imported&gt;qa22ahj at 10:45, 15 January 2014</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.zeropage.org/index.php?title=DirectDraw/Example&amp;diff=31404&amp;oldid=prev"/>
		<updated>2014-01-15T10:45:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; // SimpleDX.cpp : Defines the entry point for the application.&lt;br /&gt;
 //&lt;br /&gt;
 &lt;br /&gt;
 #include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;
 #include &amp;quot;resource.h&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 #include &amp;amp;lt;ddraw.h&amp;amp;gt;&lt;br /&gt;
 #include &amp;amp;lt;ddutil.h&amp;amp;gt;&lt;br /&gt;
 #include &amp;amp;lt;dxutil.h&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 #define MAX_LOADSTRING 100&lt;br /&gt;
 &lt;br /&gt;
 int x = 100;&lt;br /&gt;
 int y = 100;&lt;br /&gt;
 &lt;br /&gt;
 // Global Variables:&lt;br /&gt;
 HINSTANCE hInst;								// current instance&lt;br /&gt;
 TCHAR szTitle[MAX_LOADSTRING];								// The title bar text&lt;br /&gt;
 TCHAR szWindowClass[MAX_LOADSTRING];								// The title bar text&lt;br /&gt;
 HWND hWnd;&lt;br /&gt;
 &lt;br /&gt;
 // Foward declarations of functions included in this code module:&lt;br /&gt;
 ATOM				MyRegisterClass(HINSTANCE hInstance);&lt;br /&gt;
 BOOL				InitInstance(HINSTANCE, int);&lt;br /&gt;
 LRESULT CALLBACK	WndProc(HWND, UINT, WPARAM, LPARAM);&lt;br /&gt;
 LRESULT CALLBACK	About(HWND, UINT, WPARAM, LPARAM);&lt;br /&gt;
 &lt;br /&gt;
 CDisplay* disp = new CDisplay();&lt;br /&gt;
 CSurface* suf1;&lt;br /&gt;
 CSurface* suf2;&lt;br /&gt;
 &lt;br /&gt;
 int APIENTRY WinMain(HINSTANCE hInstance,&lt;br /&gt;
                      HINSTANCE hPrevInstance,&lt;br /&gt;
                      LPSTR     lpCmdLine,&lt;br /&gt;
                      int       nCmdShow)&lt;br /&gt;
 {&lt;br /&gt;
  	// TODO: Place code here.&lt;br /&gt;
 	MSG msg;&lt;br /&gt;
 	HACCEL hAccelTable;&lt;br /&gt;
 &lt;br /&gt;
 	// Initialize global strings&lt;br /&gt;
 	LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);&lt;br /&gt;
 	LoadString(hInstance, IDC_SIMPLEDX, szWindowClass, MAX_LOADSTRING);&lt;br /&gt;
 	MyRegisterClass(hInstance);&lt;br /&gt;
 &lt;br /&gt;
 	// Perform application initialization:&lt;br /&gt;
 	if (!InitInstance (hInstance, nCmdShow)) &lt;br /&gt;
 	{&lt;br /&gt;
 		return FALSE;&lt;br /&gt;
 	}&lt;br /&gt;
 &lt;br /&gt;
 	hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_SIMPLEDX);&lt;br /&gt;
 /********************************************************/&lt;br /&gt;
 &lt;br /&gt;
 	SetTimer(hWnd, 0, 50, NULL);&lt;br /&gt;
 	// Main message loop:&lt;br /&gt;
 	while (GetMessage(&amp;amp;amp;msg, NULL, 0, 0)) &lt;br /&gt;
 	{&lt;br /&gt;
 		if (!TranslateAccelerator(msg.hwnd, hAccelTable, &amp;amp;amp;msg)) &lt;br /&gt;
 		{&lt;br /&gt;
 			TranslateMessage(&amp;amp;amp;msg);&lt;br /&gt;
 			DispatchMessage(&amp;amp;amp;msg);&lt;br /&gt;
 		}&lt;br /&gt;
 	}&lt;br /&gt;
 &lt;br /&gt;
 	return msg.wParam;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 //&lt;br /&gt;
 //  FUNCTION: MyRegisterClass()&lt;br /&gt;
 //&lt;br /&gt;
 //  PURPOSE: Registers the window class.&lt;br /&gt;
 //&lt;br /&gt;
 //  COMMENTS:&lt;br /&gt;
 //&lt;br /&gt;
 //    This function and its usage is only necessary if you want this code&lt;br /&gt;
 //    to be compatible with Win32 systems prior to the &amp;#039;RegisterClassEx&amp;#039;&lt;br /&gt;
 //    function that was added to Windows 95. It is important to call this function&lt;br /&gt;
 //    so that the application will get &amp;#039;well formed&amp;#039; small icons associated&lt;br /&gt;
 //    with it.&lt;br /&gt;
 //&lt;br /&gt;
 ATOM MyRegisterClass(HINSTANCE hInstance)&lt;br /&gt;
 {&lt;br /&gt;
 	WNDCLASSEX wcex;&lt;br /&gt;
 &lt;br /&gt;
 	wcex.cbSize = sizeof(WNDCLASSEX); &lt;br /&gt;
 &lt;br /&gt;
 	wcex.style			= CS_HREDRAW | CS_VREDRAW;&lt;br /&gt;
 	wcex.lpfnWndProc	= (WNDPROC)WndProc;&lt;br /&gt;
 	wcex.cbClsExtra		= 0;&lt;br /&gt;
 	wcex.cbWndExtra		= 0;&lt;br /&gt;
 	wcex.hInstance		= hInstance;&lt;br /&gt;
 	wcex.hIcon			= LoadIcon(hInstance, (LPCTSTR)IDI_SIMPLEDX);&lt;br /&gt;
 	wcex.hCursor		= LoadCursor(NULL, IDC_ARROW);&lt;br /&gt;
 	wcex.hbrBackground	= (HBRUSH)(COLOR_WINDOW+1);&lt;br /&gt;
 	wcex.lpszClassName	= szWindowClass;&lt;br /&gt;
 	wcex.hIconSm		= LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL);&lt;br /&gt;
 	wcex.hbrBackground	= (HBRUSH) GetStockObject(BLACK_BRUSH);&lt;br /&gt;
 	return RegisterClassEx(&amp;amp;amp;wcex);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 //&lt;br /&gt;
 //   FUNCTION: InitInstance(HANDLE, int)&lt;br /&gt;
 //&lt;br /&gt;
 //   PURPOSE: Saves instance handle and creates main window&lt;br /&gt;
 //&lt;br /&gt;
 //   COMMENTS:&lt;br /&gt;
 //&lt;br /&gt;
 //        In this function, we save the instance handle in a global variable and&lt;br /&gt;
 //        create and display the main program window.&lt;br /&gt;
 //&lt;br /&gt;
 BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)&lt;br /&gt;
 {&lt;br /&gt;
    hInst = hInstance; // Store instance handle in our global variable&lt;br /&gt;
 &lt;br /&gt;
    hWnd = CreateWindow(szWindowClass, szTitle, WS_POPUP,&lt;br /&gt;
       CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);&lt;br /&gt;
 &lt;br /&gt;
    if (!hWnd)&lt;br /&gt;
    {&lt;br /&gt;
       return FALSE;&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
    ShowWindow(hWnd, nCmdShow);&lt;br /&gt;
    UpdateWindow(hWnd);&lt;br /&gt;
 &lt;br /&gt;
    return TRUE;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 //&lt;br /&gt;
 //  FUNCTION: WndProc(HWND, unsigned, WORD, LONG)&lt;br /&gt;
 //&lt;br /&gt;
 //  PURPOSE:  Processes messages for the main window.&lt;br /&gt;
 //&lt;br /&gt;
 //  WM_COMMAND	- process the application menu&lt;br /&gt;
 //  WM_PAINT	- Paint the main window&lt;br /&gt;
 //  WM_DESTROY	- post a quit message and return&lt;br /&gt;
 //&lt;br /&gt;
 //&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)&lt;br /&gt;
 {&lt;br /&gt;
 	int wmId, wmEvent;&lt;br /&gt;
 	TCHAR szHello[MAX_LOADSTRING];&lt;br /&gt;
 	LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING);&lt;br /&gt;
 &lt;br /&gt;
 	switch (message) &lt;br /&gt;
 	{&lt;br /&gt;
 		case WM_CREATE:&lt;br /&gt;
 			disp-&amp;amp;gt;CreateFullScreenDisplay(hWnd, 640, 480, 16);&lt;br /&gt;
 			disp-&amp;amp;gt;CreateSurfaceFromBitmap( &amp;amp;amp;suf1, &amp;quot;bitmap1.bmp&amp;quot;, 48, 48);&lt;br /&gt;
 			disp-&amp;amp;gt;CreateSurfaceFromBitmap( &amp;amp;amp;suf2, &amp;quot;bitmap2.bmp&amp;quot;, 20, 20);&lt;br /&gt;
 			suf2-&amp;amp;gt;SetColorKey(RGB(255,255,255));&lt;br /&gt;
 			break;&lt;br /&gt;
 		case WM_COMMAND:&lt;br /&gt;
 			wmId    = LOWORD(wParam); &lt;br /&gt;
 			wmEvent = HIWORD(wParam); &lt;br /&gt;
 			// Parse the menu selections:&lt;br /&gt;
 			switch (wmId)&lt;br /&gt;
 			{&lt;br /&gt;
 				case IDM_ABOUT:&lt;br /&gt;
 				   DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);&lt;br /&gt;
 				   break;&lt;br /&gt;
 				case IDM_EXIT:&lt;br /&gt;
 				   DestroyWindow(hWnd);&lt;br /&gt;
 				   break;&lt;br /&gt;
 				default:&lt;br /&gt;
 				   return DefWindowProc(hWnd, message, wParam, lParam);&lt;br /&gt;
 			}&lt;br /&gt;
 			break;&lt;br /&gt;
 		case WM_DESTROY:&lt;br /&gt;
 			SAFE_DELETE(suf1);&lt;br /&gt;
 			SAFE_DELETE(suf2);&lt;br /&gt;
 			SAFE_DELETE(disp);&lt;br /&gt;
 			PostQuitMessage(0);&lt;br /&gt;
 			break;&lt;br /&gt;
 		case WM_TIMER:&lt;br /&gt;
 			disp-&amp;amp;gt;Clear();&lt;br /&gt;
 			disp-&amp;amp;gt;Blt(0, 0, suf1, NULL);&lt;br /&gt;
 			disp-&amp;amp;gt;Blt(x++, y++, suf2, NULL);&lt;br /&gt;
 			disp-&amp;amp;gt;Present();&lt;br /&gt;
 			break;&lt;br /&gt;
 		default:&lt;br /&gt;
 			return DefWindowProc(hWnd, message, wParam, lParam);&lt;br /&gt;
    }&lt;br /&gt;
    return 0;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // Mesage handler for about box.&lt;br /&gt;
 LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)&lt;br /&gt;
 {&lt;br /&gt;
 	switch (message)&lt;br /&gt;
 	{&lt;br /&gt;
 		case WM_INITDIALOG:&lt;br /&gt;
 				return TRUE;&lt;br /&gt;
 &lt;br /&gt;
 		case WM_COMMAND:&lt;br /&gt;
 			if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) &lt;br /&gt;
 			{&lt;br /&gt;
 				EndDialog(hDlg, LOWORD(wParam));&lt;br /&gt;
 				return TRUE;&lt;br /&gt;
 			}&lt;br /&gt;
 			break;&lt;br /&gt;
 	}&lt;br /&gt;
     return FALSE;&lt;br /&gt;
 }&lt;br /&gt;
=== Thread ===&lt;br /&gt;
이게 어떤 건지는 몇자라도 좀 ;; --[[neocoin]]&lt;br /&gt;
..사각형이랑 움직이는 공입니다. --인수&lt;br /&gt;
----&lt;br /&gt;
[[DirectDraw]]&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;qa22ahj</name></author>
	</entry>
</feed>