21 #import "OFWindowsRegistryKey.h" 25 OF_ASSUME_NONNULL_BEGIN
35 OFWindowsRegistryKey *_registryKey;
39 LPSECURITY_ATTRIBUTES _Nullable _securityAttributes;
47 @property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
52 @property (readonly, nonatomic)
OFString *path;
57 @property (readonly, nonatomic) REGSAM accessRights;
62 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
63 LPSECURITY_ATTRIBUTES securityAttributes;
68 @property (readonly, nonatomic) DWORD options;
73 @property (readonly, nonatomic) LSTATUS status;
90 exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
92 accessRights: (REGSAM)accessRights
93 securityAttributes: (nullable LPSECURITY_ATTRIBUTES)securityAttributes
94 options: (DWORD)options
95 status: (LSTATUS)status;
97 - (instancetype)init OF_UNAVAILABLE;
114 initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
116 accessRights: (REGSAM)accessRights
117 securityAttributes: (nullable LPSECURITY_ATTRIBUTES)securityAttributes
118 options: (DWORD)options
119 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
122 OF_ASSUME_NONNULL_END
A class for handling strings.
Definition: OFString.h:142
An exception indicating that creating a Windows registry key failed.
Definition: OFCreateWindowsRegistryKeyFailedException.h:33
The base class for all exceptions in ObjFW.
Definition: OFException.h:156