16#import "OFException.h"
17#import "OFWindowsRegistryKey.h"
21OF_ASSUME_NONNULL_BEGIN
32 OFWindowsRegistryKey *_registryKey;
35 LPSECURITY_ATTRIBUTES _Nullable _securityAttributes;
44@property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
54@property (readonly, nonatomic) REGSAM accessRights;
59@property (readonly, nonatomic) DWORD options;
64@property (readonly, nonatomic) LSTATUS status;
78+ (instancetype)exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
80 accessRights: (REGSAM)accessRights
81 options: (DWORD)options
82 status: (LSTATUS)status;
84+ (instancetype)exception OF_UNAVAILABLE;
98- (instancetype)initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
100 accessRights: (REGSAM)accessRights
101 options: (DWORD)options
102 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
104- (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:151
An exception indicating that opening a Windows registry key failed.
Definition OFOpenWindowsRegistryKeyFailedException.h:31
A class for handling strings.
Definition OFString.h:135