mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 11:28:07 +02:00
* Applied patch from Bart Broersma to fix bug ID #36663
git-svn-id: trunk@44127 -
This commit is contained in:
parent
dffb35575b
commit
5b2738d22f
@ -59,12 +59,13 @@ Var
|
|||||||
Disposition: Dword;
|
Disposition: Dword;
|
||||||
Handle: HKEY;
|
Handle: HKEY;
|
||||||
SecurityAttributes: Pointer; //LPSECURITY_ATTRIBUTES;
|
SecurityAttributes: Pointer; //LPSECURITY_ATTRIBUTES;
|
||||||
|
U: UnicodeString;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
SecurityAttributes := Nil;
|
SecurityAttributes := Nil;
|
||||||
Key:=PrepKey(Key);
|
U:=PrepKey(Key);
|
||||||
FLastError:=RegCreateKeyExW(GetBaseKey(RelativeKey(Key)),
|
FLastError:=RegCreateKeyExW(GetBaseKey(RelativeKey(Key)),
|
||||||
PWideChar(Key),
|
PWideChar(U),
|
||||||
0,
|
0,
|
||||||
'',
|
'',
|
||||||
REG_OPTION_NON_VOLATILE,
|
REG_OPTION_NON_VOLATILE,
|
||||||
|
Loading…
Reference in New Issue
Block a user