Skip to content

Commit 7ab70b1

Browse files
Patch 1 FindWindowEx A/W (#1630)
* Parameter Type LPCSTR In the List of Parameters the Type of lpszClass is listed as LPCTSTR, although this is only the case for FindWindowEx, not for FindWindowExA or FindWindowExW. Btw. The pages for FindWindowExA and FindWindowExW are exactly identical except for the gray Syntax Box * Parameter type updated to LPCWSTR In the List of Parameters the Type of lpszClass is listed as LPCTSTR, although this is only the case for FindWindowEx, not for FindWindowExA or FindWindowExW. Btw. The pages for FindWindowExA and FindWindowExW are exactly identical except for the gray Syntax Box
1 parent 00d0000 commit 7ab70b1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk-api-src/content/winuser/nf-winuser-findwindowexa.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,15 @@ Note that if both <i>hwndParent</i> and <i>hwndChildAfter</i> are <b>NULL</b>, t
8888

8989
### -param lpszClass [in, optional]
9090

91-
Type: <b>LPCTSTR</b>
91+
Type: <b>LPCSTR</b>
9292

9393
The class name or a class atom created by a previous call to the <a href="/windows/desktop/api/winuser/nf-winuser-registerclassa">RegisterClass</a> or <a href="/windows/desktop/api/winuser/nf-winuser-registerclassexa">RegisterClassEx</a> function. The atom must be placed in the low-order word of <i>lpszClass</i>; the high-order word must be zero.
9494

9595
If <i>lpszClass</i> is a string, it specifies the window class name. The class name can be any name registered with <a href="/windows/desktop/api/winuser/nf-winuser-registerclassa">RegisterClass</a> or <a href="/windows/desktop/api/winuser/nf-winuser-registerclassexa">RegisterClassEx</a>, or any of the predefined control-class names, or it can be <code>MAKEINTATOM(0x8000)</code>. In this latter case, 0x8000 is the atom for a menu class. For more information, see the Remarks section of this topic.
9696

9797
### -param lpszWindow [in, optional]
9898

99-
Type: <b>LPCTSTR</b>
99+
Type: <b>LPCSTR</b>
100100

101101
The window name (the window's title). If this parameter is <b>NULL</b>, all window names match.
102102

sdk-api-src/content/winuser/nf-winuser-findwindowexw.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,15 @@ Note that if both <i>hwndParent</i> and <i>hwndChildAfter</i> are <b>NULL</b>, t
8888

8989
### -param lpszClass [in, optional]
9090

91-
Type: <b>LPCTSTR</b>
91+
Type: <b>LPCWSTR</b>
9292

9393
The class name or a class atom created by a previous call to the <a href="/windows/desktop/api/winuser/nf-winuser-registerclassa">RegisterClass</a> or <a href="/windows/desktop/api/winuser/nf-winuser-registerclassexa">RegisterClassEx</a> function. The atom must be placed in the low-order word of <i>lpszClass</i>; the high-order word must be zero.
9494

9595
If <i>lpszClass</i> is a string, it specifies the window class name. The class name can be any name registered with <a href="/windows/desktop/api/winuser/nf-winuser-registerclassa">RegisterClass</a> or <a href="/windows/desktop/api/winuser/nf-winuser-registerclassexa">RegisterClassEx</a>, or any of the predefined control-class names, or it can be <code>MAKEINTATOM(0x8000)</code>. In this latter case, 0x8000 is the atom for a menu class. For more information, see the Remarks section of this topic.
9696

9797
### -param lpszWindow [in, optional]
9898

99-
Type: <b>LPCTSTR</b>
99+
Type: <b>LPCWSTR</b>
100100

101101
The window name (the window's title). If this parameter is <b>NULL</b>, all window names match.
102102

0 commit comments

Comments
 (0)