| 559 | } |
| 560 | |
| 561 | LONG SetDWORDRegKey(HKEY hKey, LPCSTR strValueName, DWORD nValue) |
| 562 | { |
| 563 | return RegSetValueExA(hKey, strValueName, 0, REG_DWORD, reinterpret_cast<LPBYTE>(&nValue), sizeof(DWORD)); |
| 564 | } |
| 565 | |
| 566 | LONG SetBoolRegKey(HKEY hKey, LPCSTR strValueName, bool bValue) |
| 567 | { |
no outgoing calls
no test coverage detected