21#define WIN32_LEAN_AND_MEAN
30#define SIZEOF(_v) (sizeof(_v) / sizeof(*_v))
59 cbData =
sizeof(
DWORD);
90 _T(
"Software\\Microsoft\\ScreenSavers\\Ssstars"),
141 _T(
"Software\\Microsoft\\ScreenSavers\\Ssstars"),
220 gap = bm.bmHeight - sizeReactOS.
cy - sizeStarfield.
cy;
222 TextOut(hMemDC, 16, gap * 2 / 5,
_T(
"ReactOS"), 7);
274 TCHAR szLicense[1024];
#define RegCloseKey(hKey)
VOID WINAPI InitCommonControls(void)
static const WCHAR Strings[]
GLint GLint GLint GLint GLint x
#define IDS_ROTATION_PERIODIC
#define IDC_CHECK_PERSPECTIVE
#define IDC_SLIDER_NUM_OF_STARS
#define IDC_TEXT_NUM_OF_STARS
#define IDS_ROTATION_NONE
#define IDC_CHECK_DOBLENDING
#define IDC_CHECK_SHADING
#define IDC_COMBO_ROTATION
#define IDC_CHECK_FILTERING
#define IDS_ROTATION_LINEAR
static void ApplySettings(HWND hWnd)
static void SetupControls(HWND hWnd)
static void ReadSettings(HWND hWnd)
static const SSSTARS FactoryDefaults
static void SaveDWORD(HKEY hKey, LPCTSTR pszValueName, DWORD dwValue)
static const DWORD RotoStrings[]
static DWORD QueryDWORD(HKEY hKey, LPCTSTR pszValueName, DWORD Default)
static BOOL OnCommandAbout(HWND hWnd)
BOOL CALLBACK ScreenSaverConfigureDialog(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL WINAPI RegisterDialogClasses(HANDLE hInst)
#define ROTATION_PERIODIC
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static HANDLE ULONG_PTR dwData
CHAR lfFaceName[LF_FACESIZE]
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS Settings
#define GetTextExtentPoint32
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
int WINAPI SetBkMode(_In_ HDC, _In_ int)
COLORREF WINAPI SetTextColor(_In_ HDC, _In_ COLORREF)
BOOL WINAPI DeleteDC(_In_ HDC)
#define CreateFontIndirect
#define HKEY_CURRENT_USER
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
#define LR_CREATEDIBSECTION
BOOL WINAPI SetDlgItemInt(_In_ HWND, _In_ int, _In_ UINT, _In_ BOOL)
HDC WINAPI GetDC(_In_opt_ HWND)
#define SendDlgItemMessage
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)