Added missing CommandLineToArgvW prototype.

This commit is contained in:
Francois Gouget 2001-07-17 00:39:58 +00:00 committed by Alexandre Julliard
parent 5aa9754c6a
commit f8142d3fa5
2 changed files with 4 additions and 2 deletions

View File

@ -33,13 +33,14 @@ DEFAULT_DEBUG_CHANNEL(shell);
/*************************************************************************
* CommandLineToArgvW [SHELL32.@]
*/
LPWSTR* WINAPI CommandLineToArgvW(LPWSTR cmdline,LPDWORD numargs)
LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR lpCmdline, int* numargs)
{ LPWSTR *argv,s,t;
LPWSTR cmdline;
int i;
TRACE("\n");
/* to get writeable copy */
cmdline = HEAP_strdupW( GetProcessHeap(), 0, cmdline);
cmdline = HEAP_strdupW( GetProcessHeap(), 0, lpCmdline);
s=cmdline;i=0;
while (*s)
{ /* space */

View File

@ -245,6 +245,7 @@ BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData);
* Misc
*/
LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR,int*);
HICON WINAPI ExtractIconA(HINSTANCE,LPCSTR,UINT);
HICON WINAPI ExtractIconW(HINSTANCE,LPCWSTR,UINT);
#define ExtractIcon WINELIB_NAME_AW(ExtractIcon)