#include <apitest.h>
#include <stdio.h>
#include <windows.h>
#include <uxtheme.h>
#include <vfwmsgs.h>
Go to the source code of this file.
◆ START_TEST()
Definition at line 14 of file SetThemeAppProperties.c.
15{
19
22 {
23 skip(
"No active theme, skipping SetWindowTheme tests\n");
24 return;
25 }
26
28
32
37
38 hWnd =
CreateWindowExA(0,
"static",
"",
WS_POPUP, 0,0,100,100,0, 0, 0,
NULL);
40
45
50
54
57
60
65
67
74
76
83
84}
void WINAPI SetThemeAppProperties(DWORD dwFlags)
HTHEME WINAPI OpenThemeDataEx(HWND hwnd, LPCWSTR pszClassList, DWORD flags)
HTHEME WINAPI OpenThemeData(HWND hwnd, LPCWSTR classlist)
BOOL WINAPI IsThemeActive(void)
BOOL WINAPI IsAppThemed(void)
static HTHEME(WINAPI *pOpenThemeDataEx)(HWND
#define E_PROP_ID_UNSUPPORTED
DWORD WINAPI GetLastError(void)
HWND WINAPI CreateWindowExA(_In_ DWORD dwExStyle, _In_opt_ LPCSTR lpClassName, _In_opt_ LPCSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)