dwmapi: add a stub for DwmDefWindowProc

Reece Dunn msclrhd at googlemail.com
Mon Feb 1 04:10:48 CST 2010


On 1 February 2010 04:35, Austin English <austinenglish at gmail.com> wrote:

+ BOOL WINAPI DwmDefWindowProc(HWND hwnd, UINT msg, WPARAM wParam,
LPARAM lParam, LRESULT *plResult)

Minor nitpick here -- there is a space before the BOOL return type.

+{
+    FIXME("(%p, %d, %p, %p, %p ) stub\n", hwnd, msg);
+
+    return E_NOTIMPL;

But more importantly, you are returning a HRESULT instead of a BOOL
return value. MSDN
(http://msdn.microsoft.com/en-us/library/aa969507%28VS.85%29.aspx)
says that it is a BOOL and should return FALSE if the message was not
handled.

- Reece



More information about the wine-devel mailing list