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

Method Open

KernelLibrary/RegistryKey.cpp:57–64  ·  view source on GitHub ↗

��

Source from the content-addressed store, hash-verified

55
56// ��
57NTSTATUS RegistryKey::Open(HANDLE hKeyParent, PUNICODE_STRING keyName, RegistryAccessMask accessMask) {
58 ASSERT(_hKey == nullptr);
59 NTSTATUS status;
60 ObjectAttributes attr(keyName, ObjectAttributesFlags::KernelHandle | ObjectAttributesFlags::Caseinsensive);
61 status = ZwOpenKey(&_hKey, static_cast<ULONG>(accessMask), &attr);
62 CheckPredefinedKey();
63 return status;
64}
65
66// �ر�
67NTSTATUS RegistryKey::Close() {

Callers 2

PEParserMethod · 0.45
BackupFileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected