Skip to content

Conversation

@AArnott
Copy link
Member

@AArnott AArnott commented Feb 4, 2025

// extern
static extern int GetWindowText(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.PWSTR lpString, int nMaxCount);
// friendly
static int GetWindowText(winmdroot.Foundation.HWND hWnd, Span<char>lpString);

Fixes #614

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Friendly overload should expose [Out] PWSTR in more friendly way

2 participants