Commit f8142d3f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Added missing CommandLineToArgvW prototype.

parent 5aa9754c
...@@ -33,13 +33,14 @@ DEFAULT_DEBUG_CHANNEL(shell); ...@@ -33,13 +33,14 @@ DEFAULT_DEBUG_CHANNEL(shell);
/************************************************************************* /*************************************************************************
* CommandLineToArgvW [SHELL32.@] * CommandLineToArgvW [SHELL32.@]
*/ */
LPWSTR* WINAPI CommandLineToArgvW(LPWSTR cmdline,LPDWORD numargs) LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR lpCmdline, int* numargs)
{ LPWSTR *argv,s,t; { LPWSTR *argv,s,t;
LPWSTR cmdline;
int i; int i;
TRACE("\n"); TRACE("\n");
/* to get writeable copy */ /* to get writeable copy */
cmdline = HEAP_strdupW( GetProcessHeap(), 0, cmdline); cmdline = HEAP_strdupW( GetProcessHeap(), 0, lpCmdline);
s=cmdline;i=0; s=cmdline;i=0;
while (*s) while (*s)
{ /* space */ { /* space */
......
...@@ -245,6 +245,7 @@ BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData); ...@@ -245,6 +245,7 @@ BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData);
* Misc * Misc
*/ */
LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR,int*);
HICON WINAPI ExtractIconA(HINSTANCE,LPCSTR,UINT); HICON WINAPI ExtractIconA(HINSTANCE,LPCSTR,UINT);
HICON WINAPI ExtractIconW(HINSTANCE,LPCWSTR,UINT); HICON WINAPI ExtractIconW(HINSTANCE,LPCWSTR,UINT);
#define ExtractIcon WINELIB_NAME_AW(ExtractIcon) #define ExtractIcon WINELIB_NAME_AW(ExtractIcon)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment