diff --git a/sdk-api-src/content/winuser/nf-winuser-setactivewindow.md b/sdk-api-src/content/winuser/nf-winuser-setactivewindow.md
index 5da31f61835..11c30f487dc 100644
--- a/sdk-api-src/content/winuser/nf-winuser-setactivewindow.md
+++ b/sdk-api-src/content/winuser/nf-winuser-setactivewindow.md
@@ -74,16 +74,16 @@ A handle to the top-level window to be activated.
Type: HWND
-If the function succeeds, the return value is the handle to the window that was previously active.
+If the function succeeds, the return value is the handle to the window that was previously active or NULL.
-If the function fails, the return value is NULL. To get extended error information, call GetLastError.
+Function failure is indicated by a return value of NULL and a GetLastError result that is nonzero.
## -remarks
The SetActiveWindow function activates a window, but not if the application is in the background. The window will be brought into the foreground (top of Z-Order) if its application is in the foreground when the system activates the window.
-If the window identified by the
- hWnd parameter was created by the calling thread, the active window status of the calling thread is set to
+If the window identified by the
+ hWnd parameter was created by the calling thread, the active window status of the calling thread is set to
hWnd. Otherwise, the active window status of the calling thread is set to NULL.
## -see-also