Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.0 KiB

  1. //-------------------------------------------------------------------------//
  2. // main.h
  3. //-------------------------------------------------------------------------//
  4. //-------------------------------------------------------------------------//
  5. // THEMESEL_OPTIONS
  6. typedef struct {
  7. DWORD cbSize;
  8. BOOL fEnableFrame; // -f to disable
  9. BOOL fEnableDialog; // -d to enable
  10. BOOL fPreventInitTheming; // -p to enable
  11. BOOL fExceptTarget; // -x<appname> (to omit app)
  12. BOOL fUserSwitch;
  13. HWND hwndPreviewTarget;
  14. TCHAR szTargetApp[MAX_PATH];
  15. } THEMESEL_OPTIONS ;
  16. extern THEMESEL_OPTIONS g_options;
  17. HRESULT _ApplyTheme( LPCTSTR pszThemeFile, LPCWSTR pszColor, LPCWSTR pszSize, BOOL *pfDone );
  18. HWND GetPreviewHwnd(HWND hwndGeneralPage);
  19. LRESULT CALLBACK GeneralPage_OnTestButton( HWND hwndPage, UINT, WPARAM, HWND, BOOL&);
  20. LRESULT CALLBACK GeneralPage_OnClearButton(HWND hwndPage, UINT, WPARAM, HWND, BOOL&);
  21. LRESULT CALLBACK GeneralPage_OnDumpTheme();
  22. extern HWND g_hwndGeneralPage;