We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple sample to illustrate the issue with only part of strings written.
require "winapi"
local key, err = winapi.open_reg_key([[HKEY_USERS\S-1-5-21-3530694592-716403133-1610703870-44512\Software\Microsoft\Windows\CurrentVersion\Policies\System]], true)
if not key then return print('bad key',err) end
local str= [[c:\photo\img_4826.jpg]]
key:set_value('wallpaper', str, winapi.REG_SZ)
print(key:get_value('wallpaper', winapi.REG_SZ))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Simple sample to illustrate the issue with only part of strings written.
require "winapi"
local key, err = winapi.open_reg_key([[HKEY_USERS\S-1-5-21-3530694592-716403133-1610703870-44512\Software\Microsoft\Windows\CurrentVersion\Policies\System]], true)
if not key then return print('bad key',err) end
local str= [[c:\photo\img_4826.jpg]]
key:set_value('wallpaper', str, winapi.REG_SZ)
print(key:get_value('wallpaper', winapi.REG_SZ))
The text was updated successfully, but these errors were encountered: