20#import "OFException.h"
21#import "OFWindowsRegistryKey.h"
25OF_ASSUME_NONNULL_BEGIN
36 OFWindowsRegistryKey *_registryKey;
39 LPSECURITY_ATTRIBUTES _Nullable _securityAttributes;
48@property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
58@property (readonly, nonatomic) REGSAM accessRights;
63@property (readonly, nonatomic) DWORD options;
68@property (readonly, nonatomic) LSTATUS status;
82+ (instancetype)exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
84 accessRights: (REGSAM)accessRights
85 options: (DWORD)options
86 status: (LSTATUS)status;
88+ (instancetype)exception OF_UNAVAILABLE;
102- (instancetype)initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
104 accessRights: (REGSAM)accessRights
105 options: (DWORD)options
106 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
108- (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:155
An exception indicating that opening a Windows registry key failed.
Definition OFOpenWindowsRegistryKeyFailedException.h:35
A class for handling strings.
Definition OFString.h:139