mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
24018055cd
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2769 21ef857c-d57f-4fe0-8362-d861dc6d29cd
64 lines
1.2 KiB
C
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
|