ReactOS 0.4.15-dev-8138-g1e75ea8
settings.c File Reference
#include "precomp.h"
#include <winreg.h>
#include <windowsx.h>
#include <tchar.h>
Include dependency graph for settings.c:

Go to the source code of this file.

Functions

LONG QueryStringValue (HKEY hKey, LPCTSTR lpSubKey, LPCTSTR lpValueName, LPTSTR pszBuffer, DWORD dwBufferLen)
 
void LoadSettings (void)
 
void SaveSettings (void)
 

Variables

const TCHAR g_szGeneralRegKey [] = _T("Software\\Microsoft\\CharMap")
 
HWND hWnd
 

Function Documentation

◆ LoadSettings()

void LoadSettings ( void  )

Definition at line 53 of file settings.c.

54{
55 HKEY hKey = NULL;
56 int iItemIndex = -1;
57
59 {
60 TCHAR szBuffer[MAX_PATH];
61 DWORD dwAdvancedChecked;
62 DWORD type, size = sizeof(dwAdvancedChecked);
63 LSTATUS lstatus;
64
65 /* Restore last selected font */
66 if (QueryStringValue(HKEY_CURRENT_USER, g_szGeneralRegKey, _T("Font"), szBuffer, (sizeof(szBuffer)/sizeof(szBuffer[0]))) == ERROR_SUCCESS)
67 {
68 //Get combobox handle
70
71 //Search for match and return index if match found
72 iItemIndex = ComboBox_FindStringExact(hWnd, -1, szBuffer);
73 if(iItemIndex != CB_ERR)
74 {
75 ComboBox_SetCurSel(hWnd, iItemIndex);
77 }
78 }
79
80 /* Restore last selected character set */
81 if (QueryStringValue(HKEY_CURRENT_USER, g_szGeneralRegKey, _T("CodePage"), szBuffer, (sizeof(szBuffer)/sizeof(szBuffer[0]))) == ERROR_SUCCESS)
82 {
83 //Get combobox handle
85
86 iItemIndex = ComboBox_FindStringExact(hWnd, -1, szBuffer);
87 if(iItemIndex != CB_ERR)
88 {
89 ComboBox_SetCurSel(hWnd, iItemIndex);
90 }
91 }
92
93 lstatus = RegQueryValueEx(hKey, _T("Advanced"), NULL, &type, (LPBYTE)&dwAdvancedChecked, &size);
94 if (lstatus == ERROR_SUCCESS && type == REG_DWORD && dwAdvancedChecked != FALSE)
95 {
97 }
98
100 }
101 else
102 {
103 /* Default font seems to be Arial */
105
106 iItemIndex = ComboBox_FindStringExact(hWnd, -1, _T("Arial"));
107 if(iItemIndex != CB_ERR)
108 {
109 ComboBox_SetCurSel(hWnd, iItemIndex);
111 }
112 }
113}
#define IDC_FONTCOMBO
Definition: resource.h:12
#define IDC_CHECK_ADVANCED
Definition: resource.h:26
#define IDC_COMBO_CHARSET
Definition: resource.h:21
LONG QueryStringValue(HKEY hKey, LPCTSTR lpSubKey, LPCTSTR lpValueName, LPTSTR pszBuffer, DWORD dwBufferLen)
Definition: settings.c:19
const TCHAR g_szGeneralRegKey[]
Definition: settings.c:16
HWND hWnd
Definition: settings.c:17
#define RegCloseKey(hKey)
Definition: registry.h:49
HWND hCharmapDlg
Definition: charmap.c:21
VOID ChangeMapFont(HWND hDlg)
Definition: charmap.c:161
#define ERROR_SUCCESS
Definition: deptool.c:10
static LSTATUS(WINAPI *pRegDeleteTreeW)(HKEY
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
#define MAX_PATH
Definition: compat.h:34
unsigned long DWORD
Definition: ntddk_ex.h:95
FxAutoRegKey hKey
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLsizeiptr size
Definition: glext.h:5919
#define KEY_READ
Definition: nt_native.h:1023
#define REG_DWORD
Definition: sdbapi.c:596
unsigned char * LPBYTE
Definition: typedefs.h:53
#define _T(x)
Definition: vfdio.h:22
#define ComboBox_SetCurSel(hwndCtl, index)
Definition: windowsx.h:66
#define ComboBox_FindStringExact(hwndCtl, indexStart, lpszFind)
Definition: windowsx.h:47
#define HKEY_CURRENT_USER
Definition: winreg.h:11
#define RegOpenKeyEx
Definition: winreg.h:520
#define RegQueryValueEx
Definition: winreg.h:524
#define CB_ERR
Definition: winuser.h:2435
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
#define BM_CLICK
Definition: winuser.h:1917
#define SendDlgItemMessage
Definition: winuser.h:5842
char TCHAR
Definition: xmlstorage.h:189

Referenced by ScreenSaverConfigureDialog().

◆ QueryStringValue()

LONG QueryStringValue ( HKEY  hKey,
LPCTSTR  lpSubKey,
LPCTSTR  lpValueName,
LPTSTR  pszBuffer,
DWORD  dwBufferLen 
)

Definition at line 19 of file settings.c.

20{
21 LONG lResult;
22 HKEY hSubKey = NULL;
23 DWORD cbData, dwType;
24
25 if (lpSubKey)
26 {
27 lResult = RegOpenKey(hKey, lpSubKey, &hSubKey);
28 if (lResult != ERROR_SUCCESS)
29 goto done;
30 hKey = hSubKey;
31 }
32
33 cbData = (dwBufferLen - 1) * sizeof(*pszBuffer);
34 lResult = RegQueryValueEx(hKey, lpValueName, NULL, &dwType, (LPBYTE) pszBuffer, &cbData);
35 if (lResult != ERROR_SUCCESS)
36 goto done;
37 if (dwType != REG_SZ)
38 {
39 lResult = -1;
40 goto done;
41 }
42
43 pszBuffer[cbData / sizeof(*pszBuffer)] = _T('\0');
44
45done:
46 if (lResult != ERROR_SUCCESS)
47 pszBuffer[0] = _T('\0');
48 if (hSubKey)
49 RegCloseKey(hSubKey);
50 return lResult;
51}
#define REG_SZ
Definition: layer.c:22
long LONG
Definition: pedump.c:60
#define RegOpenKey
Definition: winreg.h:519

Referenced by LoadSettings(), and SuggestKeys().

◆ SaveSettings()

void SaveSettings ( void  )

Definition at line 115 of file settings.c.

116{
117 HKEY hKey = NULL;
118
120 {
121 TCHAR szBuffer[MAX_PATH];
122
124 ComboBox_GetText(hWnd, szBuffer, MAX_PATH);
125
126 if(*szBuffer != '\0')
127 RegSetValueEx(hKey, _T("Font"), 0, REG_SZ, (LPBYTE) szBuffer, (DWORD) MAX_PATH);
128
130 ComboBox_GetText(hWnd, szBuffer, MAX_PATH);
131
132 if(*szBuffer != '\0')
133 RegSetValueEx(hKey, _T("CodePage"), 0, REG_SZ, (LPBYTE) szBuffer, (DWORD) MAX_PATH);
134
135 RegSetValueEx(hKey, _T("Advanced"), 0, REG_DWORD, (LPBYTE)&Settings.IsAdvancedView, (DWORD) sizeof(DWORD));
136
138 }
139}
#define REG_OPTION_NON_VOLATILE
Definition: nt_native.h:1057
#define KEY_SET_VALUE
Definition: nt_native.h:1017
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS Settings
Definition: wdfdevice.h:2595
#define ComboBox_GetText(hwndCtl, lpch, cchMax)
Definition: windowsx.h:58
#define RegSetValueEx
Definition: winreg.h:533
#define RegCreateKeyEx
Definition: winreg.h:501

Referenced by ScreenSaverConfigureDialog().

Variable Documentation

◆ g_szGeneralRegKey

const TCHAR g_szGeneralRegKey[] = _T("Software\\Microsoft\\CharMap")

Definition at line 16 of file settings.c.

Referenced by GetFindFlags(), LoadSettings(), SaveSettings(), and SetFindFlags().

◆ hWnd

HWND hWnd

Definition at line 17 of file settings.c.

Referenced by ATL::_ATL_MSG::_ATL_MSG(), _CmdWndProc(), CTrayIconItem::_Init(), _RpcAddPort(), _RpcConfigurePort(), _RpcDeletePort(), _RpcPrinterMessageBox(), CTrayIconWnd::_WndProc(), About(), AboutAuthorsDlgProc(), AboutDlgProc(), AboutProc(), ActivateContentTopic(), CTaskSwitchWnd::ActivateTask(), ActiveIMMApp_AssociateContext(), ActiveIMMApp_AssociateContextEx(), ActiveIMMApp_ConfigureIMEW(), ActiveIMMApp_GetDefaultIMEWnd(), ActiveIMMApp_GetVirtualKey(), ActiveIMMApp_OnDefWindowProc(), ActiveIMMApp_ReleaseContext(), AddContentTab(), AddOrUpdateHwnd(), AddPortA(), AddPortW(), AddStringToComboList(), CTaskSwitchWnd::AddTask(), AddToFavoritesDlgProc(), CTaskSwitchWnd::AddToTaskGroup(), AdvancedDocumentPropertiesA(), AdvancedDocumentPropertiesW(), AdvancedSetupDialog(), ANIMATE_Create(), animate_test_wnd_proc(), ANIMATE_WindowProc(), AnsiSubclassProc(), apartment_wndproc(), AppletInit(), ApplySettings(), ApplyTheme(), ArrangeIconicWindows(), AtlAxAttachControl(), AtlAxCreateControl(), AtlAxCreateControlLicEx(), AtlAxGetControl(), AtlAxGetHost(), AtlAxWin_wndproc(), AtlHost_wndproc(), AVISaveOptions(), AVISaveOptionsDlgProc(), AVISaveOptionsFmtChoose(), AVISaveOptionsUpdate(), begin_solve_maze(), BindCtx_GetUIWindow(), BrFolder_Callback(), BrFolder_OnInitDialog(), BrFolderDlgProc(), BringWindowToFront(), BringWindowToTop(), BUTTON_WindowProc(), ButtonSubclassWndProc(), ButtonWndProc_common(), C1_DrawDragBorder(), C1_OnButtonDown(), C1_OnButtonUp(), C1_OnCreate(), C1_OnDestroy(), C1_OnDraw(), C1_OnImeControl(), C1_OnMouseMove(), C1_OnSetCursor(), C1_SetData(), C1_WindowProc(), CallCommonPropertySheetUI(), CallWindowProcA(), CallWindowProcW(), capCreateCaptureWindowA(), capCreateCaptureWindowW(), CapTest(), CaptWndProc(), CBRollUp(), CenterWindow(), ChangeView(), CheckCommDlgError(), Child_OnPaint(), Child_WndProc(), ChildWndProc(), cicIsFullScreenSize(), ClampSplitBarX(), ClassTest_WndProc(), ClassTest_WndProc2(), clear_clipboard_(), click_menu(), ClientToScreen(), ClipOrCenterWindowToMonitor(), ClipTestProc(), CloseEnumProc(), CloseNewWindows(), CloseWindow(), co_IntCallEventProc(), co_IntCallSentMessageCallback(), co_IntDoSendMessage(), co_IntGetPeekMessage(), co_IntImmProcessKey(), co_IntPaintWindows(), co_IntSendDeactivateMessages(), co_IntSendMessage(), co_IntSendMessageNoWait(), co_IntSendMessageTimeout(), co_IntSendMessageTimeoutSingle(), co_IntSendMessageWithCallBack(), co_IntSetActiveWindow(), co_IntSetForegroundAndFocusWindow(), co_IntSetForegroundMessageQueue(), co_IntSetWindowLongPtr(), co_IntTranslateAccelerator(), co_IntUpdateWindows(), co_UserCreateWindowEx(), co_UserDestroyWindow(), co_UserSetCapture(), co_UserSetWindowLong(), co_UserSetWindowLongPtr(), COMBO_Command(), COMBO_ItemOp(), COMBO_KillFocus(), COMBO_LButtonDown(), ComboExTestWndProc(), COMCTL32_SubclassProc(), CommConfigDialogA(), CommConfigDialogW(), CommonPropertySheetUIA(), CommonPropertySheetUIW(), CicBridge::ConfigureGeneral(), ConfigurePortA(), ConfigurePortW(), CicBridge::ConfigureRegisterWord(), confirm_delete_list(), ConfirmMessageBox(), CTaskBand::ContainsWindow(), CISFBand::ContainsWindow(), Control_DoInterface(), Control_DoLaunch(), Control_DoWindow(), Control_FillCache_RunDLLA(), Control_FillCache_RunDLLW(), Control_FreeCPlItems(), Control_GetCPlItem_From_MenuID(), Control_LoadApplet(), Control_RegisterRegistryApplets(), Control_RunDLLA(), Control_RunDLLW(), Control_StartApplet(), Control_WndProc(), Control_WndProc_Create(), ConvAdjust(), ConvExecute(), ConvInit(), ConWndProc(), CopyEventEntry(), CopyKeyName(), CPlApplet(), CACListView::Create(), CACSizeBox::Create(), ATL::CWindowImplBaseT< TBase, TWinTraits >::Create(), ATL::CDialogImpl< T, TBase >::Create(), ATL::CWindow::Create(), create_async_message_window(), create_maze(), create_window(), CreateApplicationWindow(), CreateBtn(), CreateCaret(), CicCaret::CreateCaret(), CicBridge::CreateInputContext(), CreateLocationsList(), CreateMainWindow(), CreateStarBitmap(), CreateSysMenu(), CreateUI(), CreateWnd(), CryptExtOpenCER(), CtfImeDispatchDefImeMessage(), CtfImeSetActiveContextAlways(), CtfImmDispatchDefImeMessage(), CtfImmGenerateMessage(), CtfImmSetLangBand(), custom_draw_wnd_proc(), ATL::CWindow::CWindow(), D3DTests(), datetime_proc(), DDOffscreenBufferTest(), DDPrimarySurfaceTest(), DdResetVisrgn(), DDTests(), DECLARE_INTERFACE_(), DeferWindowPos(), DefScreenSaverProc(), DefSetText(), DefSubclassProc(), DefWindowProcA(), DefWindowProcW(), DefWndHandleSysCommand(), DefWndNCHitTest(), DeleteIE3Cache(), DeletePortA(), DeletePortW(), CTaskSwitchWnd::DeleteTask(), DelNodeRunDLL32A(), DelNodeRunDLL32W(), DeregisterShellHookWindow(), DestroyWindow(), ATL::CWindow::Detach(), DeviceCreateHardwarePageEx(), DIALOG_Browse(), DIALOG_BrowsePrograms(), DIALOG_BrowseSymbols(), DIALOG_get_info(), DIALOG_Symbol(), DialogBoxIndirectParamAorW(), ATL::CDialogImplBaseT< TBase >::DialogProc(), DirectDrawClipper_SetHwnd(), DirectSoundFullDuplexCreate(), dlg_configure_com(), dlg_configure_lpt(), dlg_invalid_portname(), dlg_nothingtoconfig(), dlg_port_already_exists(), dlg_win32error(), DlgMainProc(), DlgStatProc(), DocumentPropertiesA(), DocumentPropertiesW(), DoSaveFile(), DoSaveFileAs(), DoTest(), DoTest_BUTTON(), DoTest_EDIT(), DragAcceptFiles(), DragDetect(), draw_splitbar(), DrawAnimatedRects(), DrawCaption(), DrawCaptionTempW(), DrawCaptionTest(), DrawMenuBar(), drvCommConfigDialogA(), drvCommConfigDialogW(), DwmEnableBlurBehindWindow(), DWPTestProc(), edit3_wnd_procA(), edit4_wnd_procA(), edit_proc_proxy(), EDIT_WndProc(), EditChild_WndProc(), EditProc(), EmptyWindowProc(), EnableWindow(), EndPaint(), EndTask(), EngCreateWnd(), CUIFTheme::EnsureThemeData(), EnumChildProc(), CTrayIconWnd::EnumChildWndProc(), EnumFunc(), EnumFuncEx(), EnumJoysticks(), EnumProc(), EnumPropsA(), EnumPropsExA(), EnumPropsExW(), EnumPropsW(), EnumWindowsProc(), CTaskSwitchWnd::EnumWindowsProc(), CRegWatcher::EnumWndProc(), EnumWndProc(), ErrorBox(), ErrorMessageBox(), ExcludeUpdateRgn(), ExportRegistryFile(), FD31_DirListDblClick(), FD31_DiskChange(), FD31_FileListSelect(), FD31_FileOpenDlgProc(), FD31_ScanDir(), FD31_TestPath(), FD31_Validate(), FD31_WMCommand(), FD31_WMInitDialog(), FileMenu_DrawItem(), FileMenu_MeasureItem(), FileMenu_TrackPopupMenuEx(), FileProtocolHandlerA(), FileSaveRestoreOnINFA(), FileSaveRestoreOnINFW(), FindDialog(), CNotifyToolbar::FindItem(), FindNewWindow(), FindNext(), FindNextMessageBox(), CUIFToolTip::FindObject(), CTaskSwitchWnd::FindOtherTaskItem(), CTaskSwitchWnd::FindTaskItem(), FindTopLevelWnd(), finish_splitbar(), CTaskSwitchWnd::FlashTask(), FlashWindow(), FlushMessages(), FMExtensionProcW(), FormatBox(), FormatChooseDlgProc(), formatopts_proc(), FrameOnSave(), FrameOnSaveAs(), FrameWndProc(), FreeLdrPageWndProc(), Graphics::FromHWND(), get_iwnd(), get_modifiers(), GetClassLongA(), GetClassLongW(), GetClassNameA(), GetClassNameW(), GetClientRect(), GetDC(), GetDCEx(), ATL::CWindow::GetDescendantWindowCallback(), GetDlgItemTextA(), GetDlgItemTextW(), GetFavsLocation(), GetFontMetrics(), GetFontSig(), GetLastActivePopup(), GetMenu(), GetMenuItemRect(), GetMessageA(), GetMessageW(), GetNCCaptionTheme(), GetNCScrollbarTheme(), GetParent(), GetPopupTipbar(), GetPropA(), GetPropW(), GetSelectionText(), GetSelectionTextLength(), GetSystemMenu(), CTipbarThread::GetTextSize(), CTrayIconWnd::GetThis(), CUIFWindow::GetThis(), GetTopWindow(), Entry::GetUIObjectOf(), ShellEntry::GetUIObjectOf(), ShellPath::GetUIObjectOf(), GetUpdateRgn(), GetWindow(), GetWindowDC(), GetWindowInfo(), GetWindowLongA(), GetWindowLongW(), GetWindowPlacement(), GetWindowRect(), GetWindowRgn(), GetWindowRgnBox(), GetWindowSubclass(), GetWindowTextA(), GetWindowTextLengthA(), GetWindowTextLengthW(), GetWindowTextW(), GetWindowThreadProcessId(), GetWindowWord(), Graph_DrawCpuUsageGraph(), Graph_DrawMemUsageGraph(), Graph_DrawMemUsageHistoryGraph(), Graph_WndProc(), GraphCtrl_Create(), GraphCtrl_WndProc(), GROUP_GroupWndProc(), GuiGetGuiData(), handle_context_menu(), handle_copy_command(), handle_WM_NCHITTEST(), handle_WM_PAINT(), handle_WM_SETCURSOR(), handle_WM_SIZE(), HandleNotifyIconMessage(), HeaderTestWndProc(), Help_OnSize(), Help_WndProc(), HelpPopup_WndProc(), HEXEDIT_WM_NCCREATE(), HexEditWndProc(), HH_AddHTMLPane(), HH_AddNavigationPane(), HH_AddSizeBar(), HH_CreateHelpWindow(), HideCaret(), HijackerWndProc(), HijackerWndProc2(), HotButtonProc(), I_RpcServerStartListening(), I_RpcWindowProc(), ICONTITLE_Create(), IconTitleWndProc(), IDirectSoundFullDuplexImpl_Initialize(), ImeConfigure(), CIMEUIWindowHandler::ImeUIDelayedReconvertFuncCall(), CIMEUIWindowHandler::ImeUIMsImeHandler(), CIMEUIWindowHandler::ImeUIMsImeReconvertRequest(), CIMEUIWindowHandler::ImeUINotifyHandler(), CIMEUIWindowHandler::ImeUIWndProcWorker(), Imm32CImeNonImeToggle(), Imm32CShapeToggle(), Imm32CSymbolToggle(), Imm32ImeNonImeToggle(), Imm32IsCrossProcessAccess(), Imm32JCloseOpen(), Imm32ProcessHotKey(), Imm32ProcessRequest(), Imm32SendNotificationProc(), ImmAssociateContext(), ImmAssociateContextEx(), ImmCallImeConsoleIME(), ImmConfigureIMEA(), ImmConfigureIMEW(), ImmGenerateMessage(), ImmGetContext(), ImmGetDefaultIMEWnd(), ImmGetSaveContext(), ImmGetVirtualKey(), ImmIMPGetIMEA(), ImmIMPGetIMEW(), ImmIMPSetIMEA(), ImmIMPSetIMEW(), ImmProcessKey(), ImmReleaseContext(), ImmRequestMessageAW(), ImmSendIMEMessageExA(), ImmSendIMEMessageExW(), ImmSetActiveContext(), ImmSetCandidateWindow(), ImmSetCompositionFontA(), ImmSetCompositionFontW(), ImmSetCompositionWindow(), ImmSetConversionStatus(), ImmSetOpenStatus(), ImmSetStatusWindowPos(), ImmSimulateHotKey(), ImmWINNLSEnableIME(), ImmWINNLSGetEnableStatus(), ImportRegistryFile(), info_wnd_proc(), InfoMessageBox(), CQueryAssociations::Init(), CMainIconItem::Init(), initDialog(), InitFontSizeList(), CStartButton::Initialize(), InitInstance(), InitInstance_wave(), InitOGLWindow(), InitOpenFileName(), InitRadioButtons(), InitThreads(), InstallInfSections(), InstallWizard(), IntCallMessageProc(), IntCallWindowProcA(), IntCallWindowProcW(), IntCallWndProc(), IntCallWndProcRet(), IntCheckFullscreen(), IntCreateWindow(), IntDeRegisterShellHookWindow(), IntDrawScrollInterior(), IntEnableWindow(), InternalGetWindowText(), CUIFTheme::InternalOpenThemeData(), InternetConfirmZoneCrossingA(), InternetConfirmZoneCrossingW(), InternetErrorDlg(), IntGetMenu(), IntGetMenuItemRect(), IntGetProp(), IntGetTopLevelWindow(), IntGetWindow(), IntGetWindowObject(), IntImmProcessKey(), IntIsWindow(), IntLanguageToggle(), IntRegisterConsoleIME(), IntRegisterShellHookWindow(), IntRestoreTebWndCallback(), IntSendDestroyMsg(), IntSetOwner(), IntSetTebWndCallback(), InvalidateRect(), InvalidateRgn(), IOCS_Attach(), IOCS_Create(), IOCS_OnWndProc(), is_ime_window_proc(), ATL::CWindow::IsChild(), IsChild(), CTipbarWnd::IsFullScreenWindow(), IsIconic(), IsScrollBarVisible(), CTrayWindow::IsSpecialHWND(), CTrayWindow::IsTaskWnd(), CMenuFocusManager::IsTrackedWindow(), CMenuFocusManager::IsTrackedWindowOrParent(), IsWindow(), IsWindowActive(), IsWindowEnabled(), IsWindowInDestroy(), CTaskBand::IsWindowOwner(), CQuickLaunchBand::IsWindowOwner(), CAddressBand::IsWindowOwner(), CAddressEditBox::IsWindowOwner(), CBrandBand::IsWindowOwner(), CExplorerBand::IsWindowOwner(), CBandSiteBase::IsWindowOwner(), CISFBand::IsWindowOwner(), CMenuBand::IsWindowOwner(), CMenuSite::IsWindowOwner(), IsWindowUnicode(), IsWindowVisible(), IsZoomed(), IUnknown_RelayWinEvent(), JOY_Timer(), joySetCapture(), KillSystemTimer(), KillTimer(), LaunchINFSectionA(), LaunchINFSectionExA(), LaunchINFSectionExW(), LaunchINFSectionW(), LISTVIEW_ScrollTimer(), ListWndNotifyProc(), LoadHive(), LoadSettings(), LocalAddPort(), LocalConfigurePort(), LocalDeletePort(), localui_AddPortUI(), localui_ConfigurePortUI(), localui_DeletePortUI(), MACRO_History(), MAIN_MainWndProc(), MAIN_MenuCommand(), MainProc(), MainWnd_OnNotify(), MainWndProc(), MCIAVI_WindowProc(), MCIQTZ_mciWhere(), MCIWND_Create(), MCIWndProc(), MDI_GetWindow(), MDIRedrawFrame(), MenuWindowProcA(), MenuWindowProcW(), MessageBoxA(), MessageBoxExA(), MessageBoxExW(), MessageBoxRes(), MessageBoxTimeoutA(), MessageBoxTimeoutW(), MessageBoxW(), MessageBoxWithResStringW(), MIXER_WCallback(), MonitorFromWindow(), MoveWindow(), MSACM_FillFormat(), MSACM_FillFormatTags(), MSACM_GetWFX(), MSGChildProc2(), MSGChildProcMDI2(), MSGTestProc(), MSGTestProc2(), MSGTestProcMDI(), MSGTestProcMDI2(), msi_mask_next_control(), msi_radioground_child_enum(), msi_text_on_settext(), MSIComboBox_WndProc(), MSIListBox_WndProc(), MSIMaskedEdit_WndProc(), MsiMessageBoxA(), MsiMessageBoxExA(), MsiMessageBoxExW(), MsiMessageBoxW(), MSIPathEdit_WndProc(), MSIRadioGroup_WndProc(), MSIScrollText_WndProc(), MSISelectionTree_WndProc(), MSIText_WndProc(), MsqSetStateWindow(), MultiWndProc(), MyMessageBox(), MyWndProc(), newfile_proc(), NOTEPAD_WndProc(), NtGdiSetPixelFormat(), NtGdiSwapBuffers(), NtUserAlterWindowStyle(), NtUserAssociateInputContext(), NtUserBeginPaint(), NtUserBuildPropList(), NtUserCallHwnd(), NtUserCallHwndLock(), NtUserCallHwndOpt(), NtUserCallHwndParam(), NtUserCallHwndParamLock(), NtUserCreateCaret(), NtUserDefSetText(), NtUserDragDetect(), NtUserDrawCaption(), NtUserDrawCaptionTemp(), NtUserDrawMenuBarTemp(), NtUserEnableScrollBar(), NtUserEndPaint(), NtUserExcludeUpdateRgn(), NtUserFillWindow(), NtUserGetAncestor(), NtUserGetAppImeLevel(), NtUserGetClassName(), NtUserGetClipboardOwner(), NtUserGetClipboardViewer(), NtUserGetComboBoxInfo(), NtUserGetCPD(), NtUserGetDC(), NtUserGetDCEx(), NtUserGetInternalWindowPos(), NtUserGetListBoxInfo(), NtUserGetMenuItemRect(), NtUserGetMessage(), NtUserGetOpenClipboardWindow(), NtUserGetScrollBarInfo(), NtUserGetSystemMenu(), NtUserGetUpdateRect(), NtUserGetUpdateRgn(), NtUserGetWindowDC(), NtUserGetWindowPlacement(), NtUserHideCaret(), NtUserHiliteMenuItem(), NtUserInternalGetWindowText(), NtUserInvalidateRect(), NtUserInvalidateRgn(), NtUserKillTimer(), NtUserMessageCall(), NtUserMinMaximize(), NtUserMonitorFromWindow(), NtUserMoveWindow(), NtUserNotifyWinEvent(), NtUserOpenClipboard(), NtUserPaintMenuBar(), NtUserPeekMessage(), NtUserPostMessage(), NtUserQueryWindow(), NtUserRedrawWindow(), NtUserRegisterHotKey(), NtUserRemoveProp(), NtUserSBGetParms(), NtUserScrollWindowEx(), NtUserSetActiveWindow(), NtUserSetAppImeLevel(), NtUserSetCapture(), NtUserSetClassLong(), NtUserSetFocus(), NtUserSetLogonNotifyWindow(), NtUserSetMenu(), NtUserSetProp(), NtUserSetScrollBarInfo(), NtUserSetScrollInfo(), NtUserSetSystemMenu(), NtUserSetSystemTimer(), NtUserSetTimer(), NtUserSetWindowFNID(), NtUserSetWindowLong(), NtUserSetWindowPlacement(), NtUserSetWindowPos(), NtUserSetWindowRgn(), NtUserSetWindowWord(), NtUserShowCaret(), NtUserShowScrollBar(), NtUserShowWindow(), NtUserShowWindowAsync(), NtUserTrackPopupMenuEx(), NtUserTranslateAccelerator(), NtUserUnregisterHotKey(), NtUserValidateRect(), NtUserxArrangeIconicWindows(), NtUserxDeregisterShellHookWindow(), NtUserxDrawMenuBar(), NtUserxEnableWindow(), NtUserxKillSystemTimer(), NtUserxMDIRedrawFrame(), NtUserxNotifyWinEvent(), NtUserxRegisterShellHookWindow(), NtUserxSetDialogPointer(), NtUserxSetForegroundWindow(), NtUserxSetMessageBox(), NtUserxSetProgmanWindow(), NtUserxSetTaskmanWindow(), NtUserxSetWindowContextHelpId(), NtUserxShowOwnedPopups(), NtUserxSwitchToThisWindow(), NtUserxUpdateUiState(), NtUserxUpdateWindow(), NtUserxValidateRgn(), OnActivate(), OnCommand(), OnCommandAbout(), OnCreate(), UI::OnCreate(), OnCtlColorStatic(), UI::OnDestroy(), OnDestroy(), OnDrawItem(), OnEnterMenuLoop(), OnExitMenuLoop(), OnInitMenu(), OnInitPopupMenu(), OnKeyScroll(), OnMenuSelect(), CTipbarWnd::OnModalInput(), OnMouseScroll(), OnNcCreate(), OnNcDestroy(), OnNotify(), OnPaint(), OnPostWinPosChanged(), OnScroll(), OnSetFont(), OnSettingChange(), OnSize(), UIComposition::OnTimer(), OnUser(), CQuickLaunchBand::OnWinEvent(), CAddressBand::OnWinEvent(), CBaseBarSite::OnWinEvent(), CInternetToolbar::OnWinEvent(), CBandSiteBase::OnWinEvent(), CMenuBand::OnWinEvent(), CMenuSite::OnWinEvent(), open_and_empty_clipboard_thread(), open_clipboard_thread(), OpenIcon(), OpenMailer(), OpenURL(), Options_RunDLL(), Options_RunDLLA(), Options_RunDLLW(), OwnerTestProc(), paint_ruler(), PaintLoopProcA(), PanelOnCreate(), PanelWndProc(), paraformat_proc(), parent_wnd_proc(), parent_wndproc(), PeekMessageA(), PeekMessageW(), PeekMessageWorker(), pointer_default(), PopupChild_WndProc(), post_message_thread(), PostMessageA(), PostMessageW(), CicBridge::PostTransMsg(), preview_command(), preview_proc(), PRINTDLG_PagePaintProc(), PrinterMessageBoxW(), PrinterProperties(), PrintRegistryHive(), PrintUIEntryW(), processkey_wnd_proc(), ProcessListWndProc(), CTrayBandSite::ProcessMessage(), CTaskBand::ProcessMessage(), CSysTray::ProcessWindowMessage(), CMenuSite::ProcessWindowMessage(), progress_subclass_proc(), progress_test_wnd_proc(), PwdChangePasswordA(), PwdChangePasswordW(), ReadSettings(), RealDefWindowProcA(), RealDefWindowProcW(), RealMDIRedrawFrame(), RealUserDrawCaption(), RebootCheckOnInstallA(), RebootCheckOnInstallW(), REComboWndProc(), recursive_viewer_proc(), CTaskSwitchWnd::RedrawTask(), RedrawWindow(), RefreshBrowsersCallback(), RegisterConsoleIME(), RegisterHotKey(), RegisterShellHook(), RegisterShellHookWindow(), RegRestoreAllA(), RegRestoreAllW(), RegSaveRestoreA(), RegSaveRestoreOnINFA(), RegSaveRestoreOnINFW(), RegSaveRestoreW(), REListWndProc(), RemovePropA(), RemovePropW(), RemoveWindowSubclass(), resize_frame_client(), resize_frame_rect(), RichEdit10ANSIWndProc(), RichEditANSIWndProc(), RichEditWndProc_common(), RichEditWndProcA(), RichEditWndProcW(), RosFrameProc(), RosMDIChildProc(), RosWindowProc(), ruler_proc(), RunSetupCommandA(), RunSetupCommandW(), CZipExtract::CExtractSettingsPage::s_BrowseCallbackProc(), CTaskSwitchWnd::s_EnumWindowsProc(), SaveSetting(), SaveSettings(), SaveXYCoordWnd(), SB_OnLButtonDown(), SB_OnLButtonUp(), SB_OnPaint(), ScreenSaverConfigureDialog(), ScreenSaverProc(), ScreenToClient(), ScreenToWindow(), ScrollBarWndProc(), ScrollChildren(), ScrollWindow(), ScrollWindowEx(), send_message_thread(), ATL::CWindow::SendMessage(), SendMessageCallbackA(), SendMessageCallbackW(), SendMessageTimeoutA(), SendMessageTimeoutW(), ATL::CWindow::SendMessageToDescendantsCallback(), ATL::CWindow::SendMessageToDescendantsCallbackDeep(), SendNotifyMessageA(), SendNotifyMessageW(), CTaskbarList::SendTaskWndShellHook(), CicBridge::SetActiveContextAlways(), SetActiveWindow(), SetCapture(), SetClassLongA(), SetClassLongW(), SetClassWord(), SetControlText(), setDlgItems(), SetFocus(), SetForegroundWindow(), SetMenu(), SetProgmanWindow(), SetPropA(), SetPropW(), SetRegTextData(), SetScrollPos(), SetScrollRange(), SetSystemTimer(), SetTaskmanWindow(), SetThemeRegion(), CUIFWindow::SetThis(), CTrayIconWnd::SetThis(), SetTimer(), SetupChangeLocale(), SetupControls(), SetUpdateSpeed(), SetupStatusBar(), SetWelcomeText(), CTipbarAccessible::SetWindow(), SetWindowExStyle(), SetWindowLongA(), SetWindowLongW(), SetWindowPlacement(), SetWindowPos(), SetWindowRgn(), SetWindowStyle(), SetWindowSubclass(), SetWindowTextA(), SetWindowTextW(), SetWindowWord(), SHCreateDirectory(), SHCreateDirectoryExA(), SHCreateDirectoryExW(), SHCreateLinks(), SHCreateWorkerWindowA(), SHCreateWorkerWindowW(), SHDefWindowProc(), SHDoDragDrop(), SHELL_ConfirmDialogW(), SHELL_ConfirmMsgBox(), SHELL_ConfirmYesNoW(), ShellAboutA(), ShellAboutW(), ShellExecuteA(), ShellMessageBoxA(), ShellMessageBoxW(), ShellMessageBoxWrapW(), ShellTurnOffDialog(), SHInvokeCommand(), SHInvokeDefaultCommand(), SHLimitInputEdit(), SHLWAPI_EnumChildProc(), SHMessageBoxCheckA(), SHMessageBoxCheckExA(), SHMessageBoxCheckExW(), SHMessageBoxCheckW(), ShowAboutBox(), ShowCaret(), ShowEditCompatModes(), ShowFolderOptionsDialog(), ShowOwnedPopups(), ShowScrollBar(), ShowStatusMessageThread(), ShowWindow(), ShowWindowAsync(), SHPropagateMessage(), SHRegisterDragDrop(), SHRemoveDefaultDialogFont(), SHRevokeDragDrop(), SHSetDefaultDialogFont(), SHSetParentHwnd(), SizeBar_WndProc(), SnapWindow(), solve_maze(), SPY_EnterMessage(), SPY_ExitMessage(), SPY_GetMsgName(), START_TEST(), start_timer(), StartD3DTest(), StartDDTest(), ATL::CDialogImplBaseT< TBase >::StartDialogProc(), StartPortThread(), ATL::CWindowImplBaseT< TBase, TWinTraits >::StartWindowProc(), ATL::CContainedWindowT< TBase, TWinTraits >::StartWindowProc(), StaticWndProcA(), StaticWndProcW(), STDMETHODIMP_(), StopWatch_MarkJavaStop(), StopWatch_TimerHandler(), SubclassButtonProc(), ATL::CWindowImplBaseT< TBase, TWinTraits >::SubclassWindow(), ATL::CContainedWindowT< TBase, TWinTraits >::SubclassWindow(), SubclassWnd(), SwitchWndProc_common(), SwitchWndProcA(), SwitchWndProcW(), SysParamsTestProc(), SysParamsTestWndProc(), SysScreenSaverProc(), T1_DrawDragBorder(), T1_InitBitmap(), T1_InvertButton(), T1_OnButtonUp(), T1_OnCreate(), T1_OnDestroy(), T1_OnDraw(), T1_OnImeControl(), T1_OnMouseMove(), T1_OnSetCursor(), T1_SetData(), T1_WindowProc(), tabstops_proc(), TB_OnClick(), TelnetProtocolHandlerA(), test_capture_4_proc(), test_CoWaitForMultipleHandles(), test_CoWaitForMultipleHandles_thread(), Test_CreateDialogW(), Test_CreateDialogW_WNDPROC(), test_default_ime_disabled_cb(), test_dtm_get_monthcal(), test_dtm_set_and_get_mccolor(), test_dtm_set_and_get_mcfont(), test_dtm_set_and_get_range(), test_dtm_set_and_get_system_time(), test_dtm_set_and_get_systemtime_with_limits(), test_dtm_set_format(), test_dtm_set_range_swap_min_max(), Test_DWP_Error(), test_edit_control_3(), test_edit_control_5(), test_edit_control_6(), test_events(), Test_Focus(), Test_GetClipBox(), Test_GetClipRgn(), Test_GetCurrentObject(), Test_GetMessage(), test_GetWindowTheme(), Test_HwndLockRoutine_CheckImeShowStatusInThread(), Test_HwndLockRoutine_DrawMenuBar(), Test_HwndLockRoutine_GetSysMenuHandle(), Test_HwndLockRoutine_UpdateWindow(), Test_HwndParamRoutine_SetWindowContextHelpId(), Test_HwndRoutine_DeregisterShellHookWindow(), Test_HwndRoutine_GetWindowContextHelpId(), Test_HwndRoutine_SetMsgBox(), test_ime_wnd_proc(), test_initial_state(), test_listbox_dlgdir(), test_menu_hilitemenuitem(), test_menu_input(), test_menu_input_thread(), Test_Messages(), Test_Messages_Child(), Test_Messages_MDI(), Test_Messages_MDI_Child(), Test_OneParamRoutine_MapDesktopObject(), Test_OneParamRoutine_WindowFromDC(), test_OpenThemeData(), test_OpenThemeDataEx(), test_pack_APPBARDATA(), test_pack_MCI_ANIM_WINDOW_PARMSA(), test_pack_MCI_ANIM_WINDOW_PARMSW(), test_pack_MCI_DGV_WINDOW_PARMSA(), test_pack_MCI_DGV_WINDOW_PARMSW(), test_pack_MCI_OVLY_WINDOW_PARMSA(), test_pack_MCI_OVLY_WINDOW_PARMSW(), test_pack_NOTIFYICONDATAA(), test_pack_NOTIFYICONDATAW(), Test_Params(), Test_PeekMessage(), Test_RealGetWindowClass(), Test_ScrollDC(), Test_ScrollWindowEx(), Test_SendInput(), test_SetWindowTheme(), test_TBS_AUTOTICKS(), Test_UnaffectedMessages(), test_wm_set_get_text(), TestASet(), TestBoard(), TestDlgProc(), TestOwnership(), TestProc(), TestSendMessageTimeout(), TestSysKeys(), ThemeCalculateCaptionButtonsPos(), ThemeCalculateCaptionButtonsPosEx(), ThemeCleanupChildWndContext(), ThemeCleanupWndContext(), ThemeDefWindowProcA(), ThemeDefWindowProcW(), ThemeDestroyWndData(), ThemeDlgPostWindowProc(), ThemeGetWndData(), ThemeHandleButton(), ThemeHandleNcMouseLeave(), ThemeHandleNcMouseMove(), ThemeHandleNCPaint(), ThemeInitDrawContext(), ThemePostWindowProc(), ThemePreWindowProc(), ThemeSetScrollInfo(), ThemeSetWindowRgn(), ThemeWndProc(), TmeTestProc(), toggle_child(), ToolProc(), ToolTipProc(), TranslateAcceleratorA(), TranslateAcceleratorW(), TreeListDraw(), TreeListEditLabel(), TreeListProc(), TreeListStartAutoEdit(), TreeListStartNotifyEdit(), TreeWndNotifyProc(), UIWndProc(), unicode_wnd_proc(), UnicodeSubclassProc(), UnicodeWndProc(), UnloadHive(), update_memory_flag(), update_menu(), update_n_stats_items(), update_parent_display(), update_window(), updateChannelBoxes(), UpdateTimeSample(), UpdateWindow(), UpdateWindowScrollState(), User32DefWindowProc(), User32SetImeActivenessOfWindow(), UserGethWnd(), UserGetProp(), UserGetWindowObject(), UserInstStubWrapperA(), UserInstStubWrapperW(), UserOpenClipboard(), UserRealizePalette(), UserSendNotifyMessage(), UserUnInstStubWrapperA(), UserUnInstStubWrapperW(), UXTHEME_broadcast_theme_changed(), UXTHEME_send_theme_changed(), ValidateHwndNoErr(), ValidateRect(), ValidateRgn(), VfdPageCallback(), VfdToolTip(), WDML_BroadcastEnumProc(), WDML_GetConvFromWnd(), WDML_GetInstanceFromWnd(), WDML_RemoveConv(), WindowProc(), CShellBrowser::WindowProc(), CDefView::WindowProc(), ATL::CWindowImplBaseT< TBase, TWinTraits >::WindowProc(), ATL::CContainedWindowT< TBase, TWinTraits >::WindowProc(), CUIFWindow::WindowProcedure(), WINHELP_ButtonBoxWndProc(), WINHELP_ButtonWndProc(), WINHELP_CheckPopup(), WINHELP_HistoryWndProc(), WINHELP_IndexDlgProc(), WINHELP_InitFonts(), WINHELP_MainWndProc(), WINHELP_RicheditWndProc(), WINHELP_SearchDlgProc(), WinHelpA(), WinHelpW(), WinMain(), WinPrevProc(), wmain(), wndProc(), CDimmedWindow::WndProc(), WndProc(), WndProc2(), WndProc_wave(), CUserNotification::WorkerWndProc(), WOWShellExecute(), WPUPostMessage(), WSAAsyncGetHostByAddr(), WSAAsyncGetHostByName(), WSAAsyncGetProtoByName(), WSAAsyncGetProtoByNumber(), WSAAsyncGetServByName(), WSAAsyncGetServByPort(), WSAAsyncSelect(), WsAsyncGetHost(), WsAsyncGetProto(), WsAsyncGetServ(), WSPAsyncSelect(), WTSRegisterSessionNotification(), WTSRegisterSessionNotificationEx(), WTSUnRegisterSessionNotification(), WTSUnRegisterSessionNotificationEx(), and wWinMain().