From: TAMURA K. <ke...@ha...> - 2001-02-26 02:01:59
|
I found problems in w32api-0.5. The following patch fixes them. * CommandLineToArgvW(): I reported this problem to this mailing list at 16 Jan. * StartDoc(): "const DOCINFO*" is not equivalent to "const LPDOCINFO". -- TAMURA, Kent The PEACE Project http://chiharu.hauN.org/peace/ --- include/shellapi.h.orig Thu Oct 19 04:35:30 2000 +++ include/shellapi.h @@ -183,7 +183,7 @@ WCHAR szTypeName[80]; } SHFILEINFOW; -LPWSTR *CommandLineToArgvW(LPCWSTR,int*); +LPWSTR * WINAPI CommandLineToArgvW(LPCWSTR,int*); void WINAPI DragAcceptFiles(HWND,BOOL); void WINAPI DragFinish(HDROP); UINT WINAPI DragQueryFileA(HDROP,UINT,LPSTR,UINT); --- include/wingdi.h.orig Thu Feb 22 06:32:15 2001 +++ include/wingdi.h @@ -2653,8 +2653,8 @@ BOOL WINAPI SetWindowOrgEx(HDC,int,int,LPPOINT); HENHMETAFILE WINAPI SetWinMetaFileBits(UINT,const BYTE*,HDC,const METAFILEPICT*); BOOL WINAPI SetWorldTransform(HDC,const XFORM *); -int WINAPI StartDocA(HDC,const LPDOCINFOA); -int WINAPI StartDocW(HDC,const LPDOCINFOW); +int WINAPI StartDocA(HDC,const DOCINFOA*); +int WINAPI StartDocW(HDC,const DOCINFOW*); int WINAPI StartPage(HDC); BOOL WINAPI StretchBlt(HDC,int,int,int,int,HDC,int,int,int,int,DWORD); int WINAPI StretchDIBits(HDC,int,int,int,int,int,int,int,int,const VOID *,const BITMAPINFO *,UINT,DWORD); |