1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
LONG HlpRegSetValueDword(HKEY PredefKey, PCWSTR pSubKey, PCWSTR pValName, const int *pValData)
{
return RegSetKeyValueW(PredefKey, pSubKey, pValName, REG_DWORD, pValData, sizeof(*pValData));
}
LONG HlpRegSetValueDword(HKEY PredefKey, PCWSTR pSubKey, PCWSTR pValName, const unsigned int *pValData)
{
return RegSetKeyValueW(PredefKey, pSubKey, pValName, REG_DWORD, pValData, sizeof(*pValData));
}
LONG HlpRegSetValueDword(HKEY PredefKey, PCWSTR pSubKey, PCWSTR pValName, const long *pValData)
{
return RegSetKeyValueW(PredefKey, pSubKey, pValName, REG_DWORD, pValData, sizeof(*pValData));
}
LONG HlpRegSetValueDword(HKEY PredefKey, PCWSTR pSubKey, PCWSTR pValName, const unsigned long *pValData)
{
return RegSetKeyValueW(PredefKey, pSubKey, pValName, REG_DWORD, pValData, sizeof(*pValData));
}
| |