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