<?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=API%2FWindowsAPI</id>
	<title>API/WindowsAPI - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.zeropage.org/index.php?action=history&amp;feed=atom&amp;title=API%2FWindowsAPI"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.zeropage.org/index.php?title=API/WindowsAPI&amp;action=history"/>
	<updated>2026-05-14T11:41:55Z</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=API/WindowsAPI&amp;diff=27434&amp;oldid=prev</id>
		<title>imported&gt;Unknown at 05:22, 7 February 2021</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.zeropage.org/index.php?title=API/WindowsAPI&amp;diff=27434&amp;oldid=prev"/>
		<updated>2021-02-07T05:22:23Z</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;= Source =&lt;br /&gt;
 #include &amp;amp;lt;windows.h&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);&lt;br /&gt;
 HINSTANCE g_hInst;&lt;br /&gt;
 LPSTR lpszClass=&amp;quot;First&amp;quot;;&lt;br /&gt;
 &lt;br /&gt;
 int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance&lt;br /&gt;
 		  ,LPSTR lpszCmdParam,int nCmdShow)&lt;br /&gt;
 {&lt;br /&gt;
 	HWND hWnd;&lt;br /&gt;
 	MSG Message;&lt;br /&gt;
 	WNDCLASS WndClass;&lt;br /&gt;
 	g_hInst=hInstance;&lt;br /&gt;
 	&lt;br /&gt;
 	WndClass.cbClsExtra=0;&lt;br /&gt;
 	WndClass.cbWndExtra=0;&lt;br /&gt;
 	WndClass.hbrBackground=(HBRUSH)GetStockObject(WHITE_BRUSH);&lt;br /&gt;
 	WndClass.hCursor=LoadCursor(NULL,IDC_ARROW);&lt;br /&gt;
 	WndClass.hIcon=LoadIcon(NULL,IDI_APPLICATION);&lt;br /&gt;
 	WndClass.hInstance=hInstance;&lt;br /&gt;
 	WndClass.lpfnWndProc=(WNDPROC)WndProc;&lt;br /&gt;
 	WndClass.lpszClassName=lpszClass;&lt;br /&gt;
 	WndClass.lpszMenuName=NULL;&lt;br /&gt;
 	WndClass.style=CS_HREDRAW | CS_VREDRAW;&lt;br /&gt;
 	RegisterClass(&amp;amp;amp;WndClass);&lt;br /&gt;
 &lt;br /&gt;
 	hWnd=CreateWindow(lpszClass,lpszClass,WS_OVERLAPPEDWINDOW,&lt;br /&gt;
 		  CW_USEDEFAULT,CW_USEDEFAULT,CW_USEDEFAULT,CW_USEDEFAULT,&lt;br /&gt;
 		  NULL,(HMENU)NULL,hInstance,NULL);&lt;br /&gt;
 	ShowWindow(hWnd,nCmdShow);&lt;br /&gt;
 	&lt;br /&gt;
 	while(GetMessage(&amp;amp;amp;Message,0,0,0)) {&lt;br /&gt;
 		TranslateMessage(&amp;amp;amp;Message);&lt;br /&gt;
 		DispatchMessage(&amp;amp;amp;Message);&lt;br /&gt;
 	}&lt;br /&gt;
 	return Message.wParam;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 LRESULT CALLBACK WndProc(HWND hWnd,UINT iMessage,WPARAM wParam,LPARAM lParam)&lt;br /&gt;
 {&lt;br /&gt;
 	switch(iMessage) {&lt;br /&gt;
 	case WM_DESTROY:&lt;br /&gt;
 		PostQuitMessage(0);&lt;br /&gt;
 		return 0;&lt;br /&gt;
 	}&lt;br /&gt;
 	return(DefWindowProc(hWnd,iMessage,wParam,lParam));&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
= Explained =&lt;br /&gt;
[http://www.winapi.co.kr/win32lec/lec2/lec2-1-1.htm WinAPI 강좌]&lt;br /&gt;
----&lt;br /&gt;
[[API]]&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;Unknown</name></author>
	</entry>
</feed>