21#import "OFWindowsRegistryKey.h"
25OF_ASSUME_NONNULL_BEGIN
35 OFWindowsRegistryKey *_registryKey;
38 LPSECURITY_ATTRIBUTES _Nullable _securityAttributes;
47@property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
57@property (readonly, nonatomic) REGSAM accessRights;
62@property (readonly, nonatomic) DWORD options;
67@property (readonly, nonatomic) LSTATUS status;
81+ (instancetype)exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
83 accessRights: (REGSAM)accessRights
84 options: (DWORD)options
85 status: (LSTATUS)status;
87+ (instancetype)exception OF_UNAVAILABLE;
101- (instancetype)initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
103 accessRights: (REGSAM)accessRights
104 options: (DWORD)options
105 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
107- (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
An exception indicating that opening a Windows registry key failed.
Definition OFOpenWindowsRegistryKeyFailedException.h:34
A class for handling strings.
Definition OFString.h:143