21#import "OFWindowsRegistryKey.h"
25OF_ASSUME_NONNULL_BEGIN
35 OFWindowsRegistryKey *_registryKey;
39 LPSECURITY_ATTRIBUTES _Nullable _securityAttributes;
47@property (readonly, nonatomic) OFWindowsRegistryKey *
registryKey;
62@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
68@property (readonly, nonatomic) DWORD
options;
73@property (readonly, nonatomic) LSTATUS
status;
90 exceptionWithRegistryKey: (OFWindowsRegistryKey *)
registryKey
97- (instancetype)
init OF_UNAVAILABLE;
114 initWithRegistryKey: (OFWindowsRegistryKey *)
registryKey
An exception indicating that creating a Windows registry key failed.
Definition OFCreateWindowsRegistryKeyFailedException.h:34
OFWindowsRegistryKey * registryKey
The registry key on which creating the subkey failed.
Definition OFCreateWindowsRegistryKeyFailedException.h:47
REGSAM accessRights
The access rights for the subkey that could not be created.
Definition OFCreateWindowsRegistryKeyFailedException.h:57
LSTATUS status
The status returned by RegCreateKeyEx().
Definition OFCreateWindowsRegistryKeyFailedException.h:73
DWORD options
The options for the subkey that could not be created.
Definition OFCreateWindowsRegistryKeyFailedException.h:68
OFString * path
The path for the subkey that could not be created.
Definition OFCreateWindowsRegistryKeyFailedException.h:52
LPSECURITY_ATTRIBUTES securityAttributes
The security options for the subkey that could not be created.
Definition OFCreateWindowsRegistryKeyFailedException.h:63
The base class for all exceptions in ObjFW.
Definition OFException.h:157
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696
A class for handling strings.
Definition OFString.h:143