From 503f8e48f7d4ef3e3d5aa802d35996e69f9103bf Mon Sep 17 00:00:00 2001 From: Joshua Aiken <64457535+jaiken17@users.noreply.github.com> Date: Wed, 12 Jun 2024 00:54:41 -0400 Subject: [PATCH] Fix typo managing-application-state-.md Fix minor typo in wWinMain parameter list. --- desktop-src/LearnWin32/managing-application-state-.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop-src/LearnWin32/managing-application-state-.md b/desktop-src/LearnWin32/managing-application-state-.md index e35d9249860..7d0e4c5e352 100644 --- a/desktop-src/LearnWin32/managing-application-state-.md +++ b/desktop-src/LearnWin32/managing-application-state-.md @@ -267,7 +267,7 @@ public: To create the window, call `BaseWindow::Create`: ```C++ -int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, PWSTR pCmdLine, int nCmdShow) +int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine, int nCmdShow) { MainWindow win; @@ -328,4 +328,4 @@ Many of the existing Windows programming frameworks, such as Microsoft Foundatio ## Related topics -[BaseWindow Sample](basewindow-sample.md) \ No newline at end of file +[BaseWindow Sample](basewindow-sample.md)