ReactOS 0.4.16-dev-555-g690643f
|
#include "umandlg.h"
Go to the source code of this file.
Macros | |
#define | ACCESS_UTILMAN_KEY L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Accessibility\\Utility Manager" |
#define | UTILMAN_KEY L"SOFTWARE\\Microsoft\\Utility Manager" |
#define | OSK_KEY L"On-Screen Keyboard" |
#define | MAGNIFIER_KEY L"Magnifier" |
Functions | |
BOOL | InitAppRegKey (IN HKEY hPredefinedKey, IN LPCWSTR lpszSubKey, OUT PHKEY phKey, OUT LPDWORD lpdwDisposition) |
BOOL | QueryAppSettings (IN HKEY hKey, IN LPCWSTR lpszSubKey, IN LPCWSTR lpszRegValue, OUT PVOID ReturnedData, IN OUT LPDWORD lpdwSizeData) |
BOOL | SaveAppSettings (IN HKEY hKey, IN LPCWSTR lpszRegValue, IN DWORD dwRegType, IN PVOID Data, IN DWORD cbSize) |
Variables | |
REGISTRY_DATA | RegData |
REGISTRY_SETTINGS | Settings |
#define ACCESS_UTILMAN_KEY L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Accessibility\\Utility Manager" |
Definition at line 19 of file registry.c.
#define MAGNIFIER_KEY L"Magnifier" |
Definition at line 22 of file registry.c.
Definition at line 21 of file registry.c.
#define UTILMAN_KEY L"SOFTWARE\\Microsoft\\Utility Manager" |
Definition at line 20 of file registry.c.
BOOL InitAppRegKey | ( | IN HKEY | hPredefinedKey, |
IN LPCWSTR | lpszSubKey, | ||
OUT PHKEY | phKey, | ||
OUT LPDWORD | lpdwDisposition | ||
) |
@InitAppRegKey
Initialize a key. The function may not necessarily create it but open the key if it already exists. The disposition pointed lpdwDisposition determines that. This is a function helper.
[in] | hPredefinedKey | The predefined key (e.g. HKEY_CLASSES_ROOT). |
[in] | lpszSubKey | The path to the sub key to be created. |
[out] | phKey | A pointer that receives a handle to the key given by the function. |
[out] | lpdwDisposition | A pointer that receives the disposition given by the function. |
Definition at line 50 of file registry.c.
BOOL QueryAppSettings | ( | IN HKEY | hKey, |
IN LPCWSTR | lpszSubKey, | ||
IN LPCWSTR | lpszRegValue, | ||
OUT PVOID | ReturnedData, | ||
IN OUT LPDWORD | lpdwSizeData | ||
) |
@QueryAppSettings
Query the setting from the application's key. This is a function helper.
[in] | hKey | A handle to a key. |
[in] | lpszSubKey | The path to a sub-key. |
[in] | lpszRegValue | The registry value where we need to get the data from. |
[out] | ReturnedData | An arbitrary pointer that receives the returned data. Being arbitrary, the data can be of any type. |
[in,out] | lpdwSizeData | A pointer to the returned data pointed by ReturnedData parameter that retrieves the size of the aforementioned data, in bytes. |
Definition at line 102 of file registry.c.
BOOL SaveAppSettings | ( | IN HKEY | hKey, |
IN LPCWSTR | lpszRegValue, | ||
IN DWORD | dwRegType, | ||
IN PVOID | Data, | ||
IN DWORD | cbSize | ||
) |
@SaveAppSettings
Save an application's setting data to the Registry. This is a function helper.
[in] | hKey | A handle to a key. |
[in] | lpszRegValue | The path to the sub key where the value needs to be created. |
[out] | dwRegType | The type of registry value to be created (e.g. a REG_DWORD). |
[in] | Data | A pointer to an arbitrary data for the value to be set. Being arbitrary, the data can be of any type (in conformity with the registry type pointed by dwRegType) otherwise the function might lead to a undefined behaviour. |
[in] | cbSize | The size of the buffer data pointed by Data parameter, in bytes. |
Definition at line 166 of file registry.c.
REGISTRY_DATA RegData |
Definition at line 14 of file registry.c.
Definition at line 15 of file registry.c.