- Update UpdateLayeredWindow and Indirect.

svn path=/trunk/; revision=41789
This commit is contained in:
James Tabor 2009-07-06 20:56:17 +00:00
parent b045cc3db5
commit 9e489f0c75
5 changed files with 50 additions and 7 deletions

View file

@ -1654,7 +1654,7 @@ PostMessageWorker(
{ {
return FALSE; return FALSE;
} }
Result = NtUserPostMessage( KMMsg.hwnd, Result = NtUserPostMessage( Wnd,
KMMsg.message, KMMsg.message,
KMMsg.wParam, KMMsg.wParam,
KMMsg.lParam); KMMsg.lParam);

View file

@ -1608,14 +1608,55 @@ ShowOwnedPopups(HWND hWnd,
/* /*
* @unimplemented * @implemented
*/
BOOL WINAPI
UpdateLayeredWindow( HWND hwnd,
HDC hdcDst,
POINT *pptDst,
SIZE *psize,
HDC hdcSrc,
POINT *pptSrc,
COLORREF crKey,
BLENDFUNCTION *pbl,
DWORD dwFlags)
{
if ( dwFlags & ULW_EX_NORESIZE)
dwFlags = ~(ULW_EX_NORESIZE|ULW_OPAQUE|ULW_ALPHA|ULW_COLORKEY);
return NtUserUpdateLayeredWindow( hwnd,
hdcDst,
pptDst,
psize,
hdcSrc,
pptSrc,
crKey,
pbl,
dwFlags,
NULL);
}
/*
* @implemented
*/ */
BOOL WINAPI BOOL WINAPI
UpdateLayeredWindowIndirect(HWND hwnd, UpdateLayeredWindowIndirect(HWND hwnd,
const UPDATELAYEREDWINDOWINFO *info) const UPDATELAYEREDWINDOWINFO *info)
{ {
UNIMPLEMENTED; if (info && info->cbSize == sizeof(info))
return FALSE; {
return NtUserUpdateLayeredWindow( hwnd,
info->hdcDst,
(POINT *)info->pptDst,
(SIZE *)info->psize,
info->hdcSrc,
(POINT *)info->pptSrc,
info->crKey,
(BLENDFUNCTION *)info->pblend,
info->dwFlags,
(RECT *)info->prcDirty);
}
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
} }

View file

@ -2744,7 +2744,8 @@ NtUserUpdateLayeredWindow(
POINT *pptSrc, POINT *pptSrc,
COLORREF crKey, COLORREF crKey,
BLENDFUNCTION *pblend, BLENDFUNCTION *pblend,
DWORD dwFlags); DWORD dwFlags,
RECT *prcDirty);
BOOL BOOL
NTAPI NTAPI

View file

@ -4653,7 +4653,8 @@ NtUserUpdateLayeredWindow(
POINT *pptSrc, POINT *pptSrc,
COLORREF crKey, COLORREF crKey,
BLENDFUNCTION *pblend, BLENDFUNCTION *pblend,
DWORD dwFlags) DWORD dwFlags,
RECT *prcDirty)
{ {
UNIMPLEMENTED UNIMPLEMENTED

View file

@ -583,7 +583,7 @@ NtUserUnregisterUserApiHook 0
NtUserUnregisterHotKey 2 NtUserUnregisterHotKey 2
NtUserUpdateInputContext 3 NtUserUpdateInputContext 3
NtUserUpdateInstance 3 NtUserUpdateInstance 3
NtUserUpdateLayeredWindow 9 NtUserUpdateLayeredWindow 10
NtUserGetLayeredWindowAttributes 4 NtUserGetLayeredWindowAttributes 4
NtUserSetLayeredWindowAttributes 4 NtUserSetLayeredWindowAttributes 4
NtUserUpdatePerUserSystemParameters 2 NtUserUpdatePerUserSystemParameters 2