mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93
.
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
This commit is contained in:
parent
bbabe2489e
commit
9393fc320e
701 changed files with 14685 additions and 14693 deletions
|
@ -25,7 +25,7 @@ static int get_iwnd(HWND hWnd)
|
|||
static LRESULT CALLBACK TestProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
int iwnd = get_iwnd(hwnd);
|
||||
|
||||
|
||||
if(message > WM_USER || !iwnd || message == WM_GETICON)
|
||||
return DefWindowProc(hwnd, message, wParam, lParam);
|
||||
|
||||
|
@ -99,9 +99,9 @@ void Test_Messages()
|
|||
DrawThemeParentBackground(hWnd1, hdc, NULL);
|
||||
FlushMessages();
|
||||
COMPARE_CACHE(empty_chain);
|
||||
|
||||
|
||||
memset(&rc, 0, sizeof(rc));
|
||||
|
||||
|
||||
DrawThemeParentBackground(hWnd2, hdc, &rc);
|
||||
FlushMessages();
|
||||
COMPARE_CACHE(draw_parent_chain);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* PURPOSE: Test for SetThemeAppProperties
|
||||
* PROGRAMMERS: Giannis Adamopoulos
|
||||
*/
|
||||
|
||||
|
||||
#include <apitest.h>
|
||||
#include <stdio.h>
|
||||
#include <windows.h>
|
||||
|
@ -25,16 +25,16 @@ START_TEST(SetThemeAppProperties)
|
|||
}
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
|
||||
|
||||
bThemeActive = IsAppThemed();
|
||||
ok (bThemeActive == FALSE, "\n");
|
||||
ok( GetLastError() == 0, "Expected 0 last error, got 0x%lx\n", GetLastError());
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
SetLastError(0xdeadbeef);
|
||||
hTheme = OpenThemeData(NULL, L"BUTTON");
|
||||
ok (hTheme == NULL, "\n");
|
||||
ok( GetLastError() == E_PROP_ID_UNSUPPORTED, "Expected E_PROP_ID_UNSUPPORTED last error, got 0x%lx\n", GetLastError());
|
||||
|
||||
|
||||
hWnd = CreateWindowExA(0, "static", "", WS_POPUP, 0,0,100,100,0, 0, 0, NULL);
|
||||
ok (hWnd != NULL, "\n");
|
||||
|
||||
|
@ -57,7 +57,7 @@ START_TEST(SetThemeAppProperties)
|
|||
|
||||
bThemeActive = IsAppThemed();
|
||||
ok (bThemeActive == TRUE, "\n");
|
||||
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
hTheme = OpenThemeData(NULL, L"BUTTON");
|
||||
ok (hTheme == NULL, "\n");
|
||||
|
@ -71,7 +71,7 @@ START_TEST(SetThemeAppProperties)
|
|||
hTheme = OpenThemeDataEx (NULL, L"BUTTON", 0);
|
||||
ok (hTheme == NULL, "\n");
|
||||
ok( GetLastError() == E_PROP_ID_UNSUPPORTED, "Expected E_PROP_ID_UNSUPPORTED last error, got 0x%lx\n", GetLastError());
|
||||
|
||||
|
||||
SetThemeAppProperties(STAP_ALLOW_CONTROLS);
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue