36 DWORD dwSystemIni = 0;
128 tvItemEx.
hItem = htiIterator;
172 if (!
hTree || !htiItem)
186 tvItemEx.
hItem = htiItem;
231 if (bPropagateStateToParent)
263 while (*lpsz1 ==
L' ' || *lpsz1 ==
L'\r' || *lpsz1 ==
L'\n')
274 if (*lpsz2 ==
L'\r' || *lpsz2 ==
L'\n')
291 tvis.hParent = hParent;
294 tvis.itemex.pszText = lpsz1;
310 hParent = tvis.itemex.hItem;
356 wcscat(lpszFileName,
L"__tests.ini");
376 tvItemEx.
hItem = htiIterator;
417 if (uCheckState == 0)
422 else if (uCheckState == 1)
427 else if (uCheckState == 2)
442 if (uRootCheckState == 0)
447 else if (uRootCheckState == 1)
452 else if (uRootCheckState == 2)
#define IDC_BTN_SYSTEM_UP
#define IDC_BTN_SYSTEM_DOWN
#define IDC_BTN_SYSTEM_DISABLE
#define IDC_BTN_SYSTEM_ENABLE
#define IDC_BTN_SYSTEM_FIND
#define IDC_BTN_SYSTEM_NEW
#define IDC_BTN_SYSTEM_EDIT
void TreeView_Set3StateCheck(HWND hTree)
void TreeView_PropagateStateOfItemToParent(HWND hTree, HTREEITEM htiItem)
HTREEITEM TreeView_GetFirst(HWND hTree)
HTREEITEM TreeView_GetNext(HWND hTree, HTREEITEM hItem)
void TreeView_Cleanup(HWND hTree)
UINT TreeView_GetRealSubtreeState(HWND hTree, HTREEITEM htiSubtreeItem)
HTREEITEM TreeView_GetLast(HWND hTree)
void TreeView_DownItem(HWND hTree, HTREEITEM htiItemToDown)
HTREEITEM TreeView_GetPrev(HWND hTree, HTREEITEM hItem)
HTREEITEM InsertItem(HWND hTree, LPCWSTR szName, HTREEITEM hParent, HTREEITEM hInsertAfter)
void TreeView_UpItem(HWND hTree, HTREEITEM htiItemToUp)
#define IDC_TXT_FIND_TEXT
#define IDC_BTN_SYSTEM_DISABLE_ALL
#define IDC_BTN_SYSTEM_ENABLE_ALL
#define IDC_CBX_FIND_FROM_BEGINNING
#define IDC_CBX_FIND_MATCH_CASE
#define IDC_BTN_SYSTEM_DELETE
#define IDC_CBX_FIND_WHOLE_WORD_ONLY
BOOL MemFree(IN PVOID lpMem)
PVOID MemAlloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
#define UM_CHECKSTATECHANGE
DWORD WINAPI ExpandEnvironmentStringsW(IN LPCWSTR lpSrc, IN LPWSTR lpDst, IN DWORD nSize)
static const struct newhuff ht[]
_Check_return_ _CRTIMP FILE *__cdecl _wfsopen(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_Mode, _In_ int _ShFlag)
_Check_return_ _CRTIMP int __cdecl feof(_In_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fputws(_In_z_ const wchar_t *_Str, _Inout_ FILE *_File)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
#define PSN_QUERYINITIALFOCUS
static const WCHAR label[]
#define UNREFERENCED_PARAMETER(P)
#define PropSheet_Changed(d, w)
#define PropSheet_CancelToClose(d)
#define PropSheet_RebootSystem(d)
#define ListView_SetItemState(hwndLV, i, data, mask)
#define TreeView_SelectItem(hwnd, hitem)
#define TreeView_GetChild(hwnd, hitem)
#define TreeView_SetIndent(hwnd, indent)
#define TreeView_GetParent(hwnd, hitem)
#define TreeView_GetSelection(hwnd)
#define TreeView_GetItem(hwnd, pitem)
struct _TREEITEM * HTREEITEM
#define TreeView_SetItemState(hwndTV, hti, data, _mask)
#define TVHT_ONITEMSTATEICON
#define TreeView_SetCheckState(hwndTV, hti, fCheck)
#define TreeView_GetRoot(hwnd)
#define TVIS_STATEIMAGEMASK
#define TreeView_GetNextSibling(hwnd, hitem)
#define TreeView_GetIndent(hwnd)
#define INDEXTOSTATEIMAGEMASK(i)
#define TreeView_EditLabel(hwnd, hitem)
#define TreeView_GetCheckState(hwndTV, hti)
#define TreeView_HitTest(hwnd, lpht)
#define TreeView_InsertItem(hwnd, lpis)
#define TreeView_SetItem(hwnd, pitem)
#define TreeView_DeleteItem(hwnd, hitem)
#define TreeView_GetPrevSibling(hwnd, hitem)
LONG RegGetDWORDValue(IN HKEY hKey, IN LPCWSTR lpSubKey OPTIONAL, IN LPCWSTR lpValue OPTIONAL, OUT LPDWORD lpData OPTIONAL)
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
_CRTIMP wchar_t *__cdecl wcscat(_Inout_updates_z_(_String_length_(_Dest)+_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
_Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
DWORD GetWinIniActivation(VOID)
DWORD GetSystemIniActivation(VOID)
static const size_t MSConfigTokLen
static BOOL bCaseSensitive
INT_PTR CALLBACK FindDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
INT_PTR CommonWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
static void Update_Btn_States(HWND hDlg)
INT_PTR CALLBACK SystemPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
INT_PTR CALLBACK WinPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
static WCHAR szSearchString[MAX_VALUE_NAME]
static void TreeView_SetBOOLCheck(HWND hTree, HTREEITEM htiItem, BOOL bState, BOOL bPropagateStateToParent)
static void ToLower(LPWSTR lpszString)
static void LoadIniFile(HWND hTree, LPCWSTR lpszIniFile)
static void WriteIniFile(HWND hTree, LPCWSTR lpszIniFile)
static LPCWSTR szMSConfigTok
static BOOL bMatchExactText
HRESULT WINAPI SetWindowTheme(_In_ HWND hwnd, _In_ LPCWSTR pszSubAppName, _In_ LPCWSTR pszSubIdList)
#define Button_GetCheck(hwndCtl)
#define Edit_SetSel(hwndCtl, ichStart, ichEnd)
#define Edit_GetText(hwndCtl, lpch, cchMax)
#define Edit_SetText(hwndCtl, lpsz)
#define Button_SetCheck(hwndCtl, check)
#define HKEY_LOCAL_MACHINE
DWORD WINAPI GetMessagePos(void)
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
HWND WINAPI SetFocus(_In_opt_ HWND)
struct tagNMHDR * LPNMHDR
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
HWND WINAPI GetParent(_In_ HWND)
#define MB_ICONINFORMATION
#define MAKEINTRESOURCEW(i)
INT_PTR WINAPI DialogBoxParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
wchar_t * fgetws(wchar_t *buf, int bufsize, FILE *file)