mshta: wWinMain takes LPWSTR not LPSTR

Damjan Jovanovic damjan.jov at gmail.com
Tue May 4 12:14:17 CDT 2010


Changelog:
* mshta: wWinMain takes LPWSTR not LPSTR

Damjan Jovanovic
-------------- next part --------------
diff --git a/programs/mshta/main.c b/programs/mshta/main.c
index 53baa7e..a0287a7 100644
--- a/programs/mshta/main.c
+++ b/programs/mshta/main.c
@@ -22,7 +22,7 @@
 #include <stdio.h>
 #include <windows.h>
 
-int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
+int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int cmdshow)
 {
     printf("mshta.exe is a stub!\n");
     return 0;


More information about the wine-patches mailing list