Update LPCTSTR and CreateWindowExA in CreateWindowExW docs - #2227
Update LPCTSTR and CreateWindowExA in CreateWindowExW docs#2227Vishal Shaji (Vishhh03) wants to merge 1 commit into
Conversation
Updated LPCTSTR to LPCWSTR in parameter description and Updated CreateWindowExA to CreateWindowExW in example code illustration section. The changes were made since the article is about CreateWindowExW api which uses Unicode and not CreateWindowExA which uses ANSI.
|
Vishal Shaji (@Vishhh03) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
|
Vishal Shaji (@Vishhh03) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
John Kennedy (GrantMeStrength)
left a comment
There was a problem hiding this comment.
LGTM — accurate technical correction. Approved.
|
Copilot /review |
John Kennedy (GrantMeStrength)
left a comment
There was a problem hiding this comment.
Reviewed ✅ — Documentation improvement looks good.
There was a problem hiding this comment.
🟢 Approval recommended
The documentation changes accurately match the Unicode API signature and example.
Pull request overview
Corrects the CreateWindowExW documentation to consistently describe its Unicode API.
Changes:
- Replaces
LPCTSTRwithLPCWSTRfor both string parameters. - Correctly identifies the example as illustrating
CreateWindowExW.
File summaries
| File | Description |
|---|---|
sdk-api-src/content/winuser/nf-winuser-createwindowexw.md |
Corrects Unicode parameter types and example labeling. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Updated LPCTSTR to LPCWSTR in parameter description and Updated CreateWindowExA to CreateWindowExW in example code illustration section. The changes were made since the article is about CreateWindowExW api which uses Unicode and not CreateWindowExA which uses ANSI.