mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
ed712ac1c0
* configurable dbghelp location git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2619 21ef857c-d57f-4fe0-8362-d861dc6d29cd
51 lines
835 B
C
51 lines
835 B
C
#ifndef SETTINGS_H
|
|
#define SETTINGS_H
|
|
|
|
#include <ph.h>
|
|
|
|
typedef enum _PH_SETTING_TYPE
|
|
{
|
|
StringSettingType,
|
|
IntegerSettingType,
|
|
IntegerPairSettingType
|
|
} PH_SETTING_TYPE, PPH_SETTING_TYPE;
|
|
|
|
typedef struct _PH_INTEGER_PAIR
|
|
{
|
|
LONG X;
|
|
LONG Y;
|
|
} PH_INTEGER_PAIR, *PPH_INTEGER_PAIR;
|
|
|
|
typedef struct _PH_SETTING
|
|
{
|
|
PH_SETTING_TYPE Type;
|
|
PPH_STRING Name;
|
|
PPH_STRING DefaultValue;
|
|
|
|
PVOID Value;
|
|
} PH_SETTING, *PPH_SETTING;
|
|
|
|
VOID PhSettingsInitialization();
|
|
|
|
ULONG PhGetIntegerSetting(
|
|
__in PWSTR Name
|
|
);
|
|
|
|
PH_INTEGER_PAIR PhGetIntegerPairSetting(
|
|
__in PWSTR Name
|
|
);
|
|
|
|
PPH_STRING PhGetStringSetting(
|
|
__in PWSTR Name
|
|
);
|
|
|
|
BOOLEAN PhLoadSettings(
|
|
__in PWSTR FileName
|
|
);
|
|
|
|
BOOLEAN PhSaveSettings(
|
|
__in PWSTR FileName
|
|
);
|
|
|
|
#endif
|