Changeset 21953 for trunk/src/user32


Ignore:
Timestamp:
Jan 31, 2012, 10:16:33 PM (14 years ago)
Author:
dmik
Message:

Add a bunch of Win32 API stubs needed for Flash above 10.0.45.

This is mainly to prevent the plugin from hitting the breakpoints in
the debug version of Odin. These APIs seem to be only referenced
by some of the libraries built in to the Win32 plugin DLL but never
actually called at runtime. This is why the release version of Odin
does not complain and Flash actually works w/o them at all.

Location:
trunk/src/user32
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/dbgwrap.cpp

    r21916 r21953  
    146146LRESULT WINAPI EditWndProcA( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
    147147
     148BOOL WIN32API UpdateLayeredWindow(HWND hwnd, HDC hdcDst, POINT *pptDst,SIZE *psize,
     149                                  HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend,
     150                                  DWORD dwFlags);
     151
    148152
    149153DEBUGWRAP12(AttachThreadInput)
     
    258262DEBUGWRAP4(WINNLSGetIMEHotkey)
    259263
     264DEBUGWRAP36(UpdateLayeredWindow)
    260265
    261266
  • trunk/src/user32/user32.def

    r21949 r21953  
    767767    "_GetOS2Icon@4"                                              @2045 NONAME
    768768
    769 ; used for Flash plugin
    770769    GetWindowInfo = "_GetWindowInfo@8"                           @2046
    771770    _HPSToHDC                                                    @2047
     
    773772    "_RunOnAuxThread@20"                                         @2048 NONAME
    774773    "_RunOnAuxThreadAndWait@24"                                  @2049 NONAME
     774
     775    UpdateLayeredWindow = "_UpdateLayeredWindow@36"              @2050
  • trunk/src/user32/user32dbg.def

    r21949 r21953  
    763763    "_GetOS2Icon@4"                                              @2045 NONAME
    764764
    765 ; used for Flash plugin
    766765    GetWindowInfo = "_GetWindowInfo@8"                           @2046
    767766    _HPSToHDC                                                    @2047
     
    769768    "_RunOnAuxThread@20"                                         @2048 NONAME
    770769    "_RunOnAuxThreadAndWait@24"                                  @2049 NONAME
     770
     771    UpdateLayeredWindow = "_DbgUpdateLayeredWindow@36"           @2050
     772
  • trunk/src/user32/window.cpp

    r21916 r21953  
    467467
    468468    return TRUE;
     469}
     470/*****************************************************************************
     471 *              UpdateLayeredWindow (USER32.@)
     472 */
     473BOOL WIN32API UpdateLayeredWindow(HWND hwnd, HDC hdcDst, POINT *pptDst,SIZE *psize,
     474                                  HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend,
     475                                  DWORD dwFlags)
     476{
     477    dprintf(("USER32: UpdateLayeredWindow(%08xh, %08xh, %08xh, %08xh, %08xh, "
     478             "%08xh, %08xh, %08xh, %08xh) not implemented\n",
     479             hwnd, hdcDst, pptDst, psize, hdcSrc, pptSrc, crKey, pblend, dwFlags));
     480    return FALSE;
    469481}
    470482
Note: See TracChangeset for help on using the changeset viewer.