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 (readonly, nonatomic) LSTATUS status;
79 exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
81 options: (DWORD)options
82 securityAndAccessRights: (REGSAM)securityAndAccessRights
83 status: (LSTATUS)status;
85 - (instancetype)init OF_UNAVAILABLE;
100 initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
102 options: (DWORD)options
103 securityAndAccessRights: (REGSAM)securityAndAccessRights
104 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
107 OF_ASSUME_NONNULL_END
The base class for all exceptions in ObjFW.
Definition: OFException.h:147
An exception indicating that opening a Windows registry key failed.
Definition: OFOpenWindowsRegistryKeyFailedException.h:31
A class for handling strings.
Definition: OFString.h:132