MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / SetValue

Method SetValue

WinArk/RegistryKey.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93_Use_decl_annotations_
94LSTATUS RegistryKey::SetValue(LPCTSTR pszValueName, DWORD dwType, const void* pValue, ULONG nBytes) noexcept {
95 ATLASSUME(_hKey);
96 return ::RegSetValueEx(_hKey, pszValueName, 0, dwType, static_cast<const BYTE*>(pValue), nBytes);
97}
98
99_Use_decl_annotations_
100LSTATUS RegistryKey::SetBinaryValue(LPCTSTR pszValueName, const void* pData, ULONG nBytes) noexcept {

Callers 5

ExecuteMethod · 0.45
ExecuteMethod · 0.45
UndoMethod · 0.45
SaveToKeyMethod · 0.45
RenameValueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected