search for: createkey

Displaying 13 results from an estimated 13 matches for "createkey".

2005 Aug 23
0
Compiling winelib dependant code with g++
...+. How can I link some winelib-dependant code with g++ ? compilation is okay, but at linking time, all wine functions are unresolved. // ### here's the output :### [root@udp015809uds Wine2]# g++ -lwine registry.o registry_wrap.o -o registry.out registry.o(.text+0x2e): In function `CreateKey(char const*)': : undefined reference to `RegCreateKeyA' registry.o(.text+0x58): In function `CreateKey(char const*)': : undefined reference to `RegQueryValueExA' registry.o(.text+0x8f): In function `CreateKey(char const*)': : undefined reference to `RegQu...
2014 Jan 10
4
[PATCH] Add a minimal hive with "special" keys and values
...L"\\Registry\\Machine\\minimal"); + OBJECT_ATTRIBUTES root_key_obj; + InitializeObjectAttributes (&root_key_obj, &root_key_name, + OBJ_OPENIF | OBJ_CASE_INSENSITIVE, + NULL, NULL); + HANDLE minimal_key_handle; + rc = ZwCreateKey (&minimal_key_handle, KEY_ALL_ACCESS, &root_key_obj, + 0, NULL, REG_OPTION_NON_VOLATILE, NULL); + if (!NT_SUCCESS (rc)) { + printf("error: CreateKey <HKLM\\minimal>: 0x%08x\n", rc); + exit(1); + } + + UNICODE_STRING key_name = {16, 16, L"zero...
2014 Jan 13
0
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
...l_len, val }; > + OBJECT_ATTRIBUTES key_obj; > + InitializeObjectAttributes (&key_obj, &key_name, > + OBJ_OPENIF | OBJ_CASE_INSENSITIVE, > + *handle, NULL); > + HANDLE key_handle; > + NTSTATUS rc; > + rc = ZwCreateKey (&key_handle, KEY_ALL_ACCESS, &key_obj, > + 0, NULL, REG_OPTION_NON_VOLATILE, NULL); > + if (!NT_SUCCESS (rc)) { > + wprintf(L"error: CreateKey %s: 0x%08x\n", key, rc); > + exit(1); > + } > + DWORD value = 0; > + rc = ZwSetValueKey...
2014 Jan 10
14
[PATCH 1/7] Add a minimal hive with "special" keys and values
...E_STRING value_name = { val_len, val_len, val }; + OBJECT_ATTRIBUTES key_obj; + InitializeObjectAttributes (&key_obj, &key_name, + OBJ_OPENIF | OBJ_CASE_INSENSITIVE, + *handle, NULL); + HANDLE key_handle; + NTSTATUS rc; + rc = ZwCreateKey (&key_handle, KEY_ALL_ACCESS, &key_obj, + 0, NULL, REG_OPTION_NON_VOLATILE, NULL); + if (!NT_SUCCESS (rc)) { + wprintf(L"error: CreateKey %s: 0x%08x\n", key, rc); + exit(1); + } + DWORD value = 0; + rc = ZwSetValueKey (key_handle, &value_name, 0, +...
2014 Jan 14
2
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
...TTRIBUTES key_obj; > > + InitializeObjectAttributes (&key_obj, &key_name, > > + OBJ_OPENIF | OBJ_CASE_INSENSITIVE, > > + *handle, NULL); > > + HANDLE key_handle; > > + NTSTATUS rc; > > + rc = ZwCreateKey (&key_handle, KEY_ALL_ACCESS, &key_obj, > > + 0, NULL, REG_OPTION_NON_VOLATILE, NULL); > > + if (!NT_SUCCESS (rc)) { > > + wprintf(L"error: CreateKey %s: 0x%08x\n", key, rc); > > + exit(1); > > + } > > + DWORD value =...
2019 Mar 03
0
Wine release 3.0.5
...9;S-1-3-4') 40160 cant install mobogenie 40206 Revit Architecture fails to install: throws Messagebox "Function failed" and aborts 40208 Cegid Business Line installer fails in custom script action with "Object doesn't support this property or method: 'ObjRegistry.CreateKey'" (needs 'StdRegProv.CreateKey') 40264 Iris Online cannot connect to login server (SO_SNDBUF with value 0 is not allowed in OSX) 40303 Control Data passed in DIALOGEX Resource passes pointer with offset sizeof(WORD) 40433 Fifa 11 EU demo fails to install when run from cust...
2002 Nov 14
0
[Bug 436] New: SSH client API
...ssh.remoteForward(80, "www.google.com", 80); // access configuration SSHConfiguration sshConfig = ssh.getConfiguration(); SSHHostConfiguration hc = sshConfig.getHostConfiguration("*.ssh.box"); hc.setForwardX11(true); sshConfig.write(); // manage keys SSHKey key = SSHKeymanager.createKey(SSHKey.DSA, "apan-ola at foo.bar"); key.write("key1"); // creates ~/.ssh/key1 and ~/.ssh/key1.pub SSHKeymanager.removeKey("key1"); Collection keys = SSHKeymanager.listKeys(); ------- You are receiving this mail because: ------- You are the assignee for the bug, or a...
2014 Jan 08
5
hivex: Make node names and value names with embedded null characters accessible
On Windows, there exist at least two APIs for dealing with the Registry: The Win32 API (RegCreateKeyA, RegCreateKeyW, etc.) works with null-terminated ASCII or UTF-16 strings. The native API (ZwCreateKey, etc.), on the other hand works with UTF-16 strings that are stored as buffers+length and may contain null characters. Malware authors have been relying on the Win32 API's inability to properl...
2018 Oct 12
0
Wine release 3.18
...th 'advapi:ParseStringSidToSid String constant not supported: "OW"' (failure to decode 'Owner Rights' SID 'S-1-3-4') 40208 Cegid Business Line installer fails in custom script action with "Object doesn't support this property or method: 'ObjRegistry.CreateKey'" (needs 'StdRegProv.CreateKey') 40303 Control Data passed in DIALOGEX Resource passes pointer with offset sizeof(WORD) 40703 MSI InstallService does not respect msidbServiceInstallErrorControlVital (0x8000) flag 41679 netconn_secure_connect: Add calling TRACE, add sock_se...
2014 Mar 12
4
samba4 registry
Hello, ? I can read/access the registry on my samba 4.1.6 server, but I get a ?permission denied? if I write to some locations. Also, I cannot change the permissions. ? Is there any documentation about the registry on a samba4 server? ? Thanks, Mark
2014 Nov 14
0
Wine release 1.7.31
...to prevent timeout on winxp/win2k. reg/tests: Move key format test section below first key creation. reg/tests: Test for empty type and empty binary input. reg/tests: Test result for deleting key that doesn't exist. advapi32/tests: Add trailing slashes tests for RegOpen/CreateKey. advapi32/tests: Fix bad cleanup in test_reg_create_key. advapi32/tests: Test RegDeleteKey with empty string parameter. Marcus Meissner (1): dwrite: Fixed memory leak on error (Coverity). Mark Harmstone (1): winealsa: Disable channel remapping for capture devices. Matteo...
2018 Sep 28
0
Wine release 3.17
...ve changes to the target folder path. appwiz.cpl: Read more application attributes from the registry. msi/tests: SQLGetInstalledDrivers fails if there are no ODBC drivers installed. msi: Add support for ARPNOMODIFY, APRNOREMOVE and ARPNOREPAIR. wbemprox: Implement StdRegProv.CreateKey. Henri Verbeet (27): wined3d: Make the resource parameter to wined3d_resource_get_decompress_format() const. wined3d: Get rid of the "format_count" field from struct wined3d_adapter. wined3d: Properly initialise the driver info in wined3d_adapter_no3d_init(). wine...
2005 Jul 07
0
Migration: server with smb 2.2 -> new server, 2.2 too, weird issues
...re\Microsoft\Windows NT\CurrentVersion\Winlogon BUFFER OVERFLOW winlogon.exe:512 QueryValue HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ScRemoveOption SUCCESS "0" winlogon.exe:512 CloseKey HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon SUCCESS winlogon.exe:512 CreateKey HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon SUCCESS Access: 0x2000F ### here it goes. The user name. winlogon.exe:512 QueryValue HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName BUFFER OVERFLOW winlogon.exe:512 SetValue HKLM\Software\Microsoft\Windows NT...