21 #import "OFWindowsRegistryKey.h" 25 OF_ASSUME_NONNULL_BEGIN
35 OFWindowsRegistryKey *_registryKey;
38 LPSECURITY_ATTRIBUTES _Nullable _securityAttributes;
47 @property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
52 @property (readonly, nonatomic)
OFString *path;
57 @property (readonly, nonatomic) REGSAM accessRights;
62 @property (readonly, nonatomic) DWORD options;
67 @property (readonly, nonatomic) LSTATUS status;
81 + (instancetype)exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
83 accessRights: (REGSAM)accessRights
84 options: (DWORD)options
85 status: (LSTATUS)status;
87 + (instancetype)exception OF_UNAVAILABLE;
101 - (instancetype)initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
103 accessRights: (REGSAM)accessRights
104 options: (DWORD)options
105 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
107 - (instancetype)init OF_UNAVAILABLE;
110 OF_ASSUME_NONNULL_END
An exception indicating that opening a Windows registry key failed.
Definition: OFOpenWindowsRegistryKeyFailedException.h:33
A class for handling strings.
Definition: OFString.h:142
The base class for all exceptions in ObjFW.
Definition: OFException.h:156