16 #import "OFException.h" 17 #import "OFWindowsRegistryKey.h" 21 OF_ASSUME_NONNULL_BEGIN
32 OFWindowsRegistryKey *_registryKey;
36 LPSECURITY_ATTRIBUTES _Nullable _securityAttributes;
44 @property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
49 @property (readonly, nonatomic)
OFString *path;
54 @property (readonly, nonatomic) REGSAM accessRights;
59 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
60 LPSECURITY_ATTRIBUTES securityAttributes;
65 @property (readonly, nonatomic) DWORD options;
70 @property (readonly, nonatomic) LSTATUS status;
87 exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
89 accessRights: (REGSAM)accessRights
90 securityAttributes: (nullable LPSECURITY_ATTRIBUTES)securityAttributes
91 options: (DWORD)options
92 status: (LSTATUS)status;
94 - (instancetype)init OF_UNAVAILABLE;
111 initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
113 accessRights: (REGSAM)accessRights
114 securityAttributes: (nullable LPSECURITY_ATTRIBUTES)securityAttributes
115 options: (DWORD)options
116 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
119 OF_ASSUME_NONNULL_END
A class for handling strings.
Definition: OFString.h:134
An exception indicating that creating a Windows registry key failed.
Definition: OFCreateWindowsRegistryKeyFailedException.h:30
The base class for all exceptions in ObjFW.
Definition: OFException.h:150