Files
mirror-processhacker/2.x/trunk/ProcessHacker/include/settingsp.h
T
wj32 24018055cd added thread and handle highlighting
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2769 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-01-30 01:35:21 +00:00

64 lines
1.2 KiB
C

#ifndef SETTINGSP_H
#define SETTINGSP_H
#include <shlobj.h>
#include "mxml/mxml.h"
VOID PhpUpdateCachedSettings();
BOOLEAN NTAPI PhpSettingsHashtableCompareFunction(
__in PVOID Entry1,
__in PVOID Entry2
);
ULONG NTAPI PhpSettingsHashtableHashFunction(
__in PVOID Entry
);
static VOID PhpAddStringSetting(
__in PWSTR Name,
__in PWSTR DefaultValue
);
static VOID PhpAddIntegerSetting(
__in PWSTR Name,
__in PWSTR DefaultValue
);
static VOID PhpAddIntegerPairSetting(
__in PWSTR Name,
__in PWSTR DefaultValue
);
static VOID PhpAddSetting(
__in PH_SETTING_TYPE Type,
__in PWSTR Name,
__in PVOID DefaultValue
);
static PPH_STRING PhpSettingToString(
__in PH_SETTING_TYPE Type,
__in PVOID Value
);
static BOOLEAN PhpSettingFromString(
__in PH_SETTING_TYPE Type,
__in PPH_STRING String,
__out PPVOID Value
);
static VOID PhpFreeSettingValue(
__in PH_SETTING_TYPE Type,
__in PVOID Value
);
static PVOID PhpLookupSetting(
__in PWSTR Name
);
static PPH_STRING PhpJoinXmlTextNodes(
__in mxml_node_t *node
);
#endif