21 #import "OFWindowsRegistryKey.h"
25 OF_ASSUME_NONNULL_BEGIN
36 OFWindowsRegistryKey *_registryKey;
40 LPSECURITY_ATTRIBUTES _Nullable _securityAttributes;
48 @property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
53 @property (readonly, nonatomic)
OFString *path;
58 @property (readonly, nonatomic) REGSAM accessRights;
63 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
64 LPSECURITY_ATTRIBUTES securityAttributes;
69 @property (readonly, nonatomic) DWORD options;
74 @property (readonly, nonatomic) LSTATUS status;
91 exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
93 accessRights: (REGSAM)accessRights
94 securityAttributes: (nullable LPSECURITY_ATTRIBUTES)securityAttributes
95 options: (DWORD)options
96 status: (LSTATUS)status;
98 - (instancetype)init OF_UNAVAILABLE;
115 initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
117 accessRights: (REGSAM)accessRights
118 securityAttributes: (nullable LPSECURITY_ATTRIBUTES)securityAttributes
119 options: (DWORD)options
120 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
123 OF_ASSUME_NONNULL_END
An exception indicating that creating a Windows registry key failed.
Definition: OFCreateWindowsRegistryKeyFailedException.h:35
The base class for all exceptions in ObjFW.
Definition: OFException.h:157
A class for handling strings.
Definition: OFString.h:139