- 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;
}
Result = NtUserPostMessage( KMMsg.hwnd,
Result = NtUserPostMessage( Wnd,
KMMsg.message,
KMMsg.wParam,
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
UpdateLayeredWindowIndirect(HWND hwnd,
const UPDATELAYEREDWINDOWINFO *info)
{
UNIMPLEMENTED;
return FALSE;
if (info && info->cbSize == sizeof(info))
{
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,
COLORREF crKey,
BLENDFUNCTION *pblend,
DWORD dwFlags);
DWORD dwFlags,
RECT *prcDirty);
BOOL
NTAPI

View file

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

View file

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