| 51 | } |
| 52 | |
| 53 | LSTATUS RegistryKey::Open(HKEY parent, PCWSTR path, DWORD access) { |
| 54 | ATLASSERT(_hKey == nullptr); |
| 55 | auto error = ::RegOpenKeyEx(parent, path, 0, access, &_hKey); |
| 56 | CheckPredefinedKey(); |
| 57 | return error; |
| 58 | } |
| 59 | |
| 60 | // �������������ע,��Ҫ������������������ע����д,Ҫ��дһ����ô����ע�е���� |
| 61 | _Use_decl_annotations_ |
no outgoing calls
no test coverage detected