On 12/5/2013 04:17, Kai Tietz wrote: > Hi, > > could somebody of you please review http://pastebin.com/w91sSRk0 > > Thanks, > Kai >
Is this correct? CONST to const - POINT CONST *pptDst; - SIZE CONST *psize; + const POINT *pptDst; + const SIZE *psize; What is this part about? - WINUSERAPI WINBOOL WINAPI UpdateLayeredWindowIndirect(HWND hWnd,UPDATELAYEREDWINDOWINFO CONST *pULWInfo); +#if _WIN32_WINNT < 0x0502 + typedef +#endif + WINUSERAPI WINBOOL WINAPI UpdateLayeredWindowIndirect (HWND hWnd, const UPDATELAYEREDWINDOWINFO *pULWInfo); +#endif +#endif Suddenly WINVER? I also see a lot of changes initially to put #if inside brackets, why stop there? +#if WINVER >= 0x0600 + WINUSERAPI WINBOOL WINAPI AddClipboardFormatListener (HWND hwnd); + WINUSERAPI WINBOOL WINAPI RemoveClipboardFormatListener (HWND hwnd); + WINUSERAPI WINBOOL WINAPI GetUpdatedClipboardFormats (PUINT lpuiFormats, UINT cFormats, PUINT pcFormatsOut); #endif +#endif These kind of mean differently -#if (_WIN32_WINNT < 0x0600) -#define SM_CMETRICS 90 +#if WINVER <= 0x501 +#define SM_CMETRICS 91 +#elif WINVER == 0x600 +#define SM_CMETRICS 93 +#else +#define SM_CMETRICS 97 #endif CreateDesktopA/W removed?? -WINUSERAPI HDESK WINAPI CreateDesktopExA( - LPCSTR lpszDesktop, - LPCSTR lpszDevice, - DEVMODE *pDevmode, - DWORD dwFlags, - ACCESS_MASK dwDesiredAccess, - LPSECURITY_ATTRIBUTES lpsa, - ULONG ulHeapSize, - PVOID pvoid -);
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
