gwin32: Document fallback behaviour of g_win32_error_message()

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Fixes: #3740
This commit is contained in:
Philip Withnall
2025-07-25 10:23:04 +01:00
parent 764aaae391
commit 3d0b142bf6

View File

@@ -207,6 +207,9 @@ g_win32_getlocale (void)
* [`FormatMessage()`](https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-formatmessagew)).
* The returned string is in UTF-8.
*
* If a human readable message cannot be found for the given @error, an empty
* string is returned.
*
* Returns: (transfer full) (not nullable): newly-allocated error message
**/
gchar *