[PATCH 0/1] MR2259: include: Annotate CommandLineToArgvW with __WINE_DEALLOC.
From: Alex Henrie <alexhenrie24(a)gmail.com> --- include/shellapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/shellapi.h b/include/shellapi.h index a00e1037bd8..ff36803fa19 100644 --- a/include/shellapi.h +++ b/include/shellapi.h @@ -671,7 +671,7 @@ typedef struct _SHSTOCKICONINFO #define SHGSI_SHELLICONSIZE SHGFI_SHELLICONSIZE WINSHELLAPI HRESULT WINAPI SHGetStockIconInfo(SHSTOCKICONID, UINT, SHSTOCKICONINFO*); -WINSHELLAPI LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR,int*); +WINSHELLAPI WCHAR** WINAPI CommandLineToArgvW(const WCHAR*,int*) __WINE_DEALLOC(LocalFree); WINSHELLAPI HICON WINAPI ExtractIconA(HINSTANCE,LPCSTR,UINT); WINSHELLAPI HICON WINAPI ExtractIconW(HINSTANCE,LPCWSTR,UINT); #define ExtractIcon WINELIB_NAME_AW(ExtractIcon) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2259
participants (2)
-
Alex Henrie -
Alex Henrie (@alexhenrie)