Displaying 12 results from an estimated 12 matches for "unicode_string".
2014 Jan 10
4
[PATCH] Add a minimal hive with "special" keys and values
...s/mkzero/mkzero.c
@@ -0,0 +1,48 @@
+/* use the NT native API to create registry key and value that contain
+ a zero character */
+
+#include <ntdef.h>
+#include <stdio.h>
+#include <ddk/wdm.h>
+#include <windef.h>
+
+int main (int argc, char **argv)
+{
+ NTSTATUS rc;
+
+ UNICODE_STRING root_key_name;
+ RtlInitUnicodeString(&root_key_name, L"\\Registry\\Machine\\minimal");
+ OBJECT_ATTRIBUTES root_key_obj;
+ InitializeObjectAttributes (&root_key_obj, &root_key_name,
+ OBJ_OPENIF | OBJ_CASE_INSENSITIVE,
+...
2014 Jan 13
0
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
...value that contain
> + a zero character */
> +
> +#include <ntdef.h>
> +#include <stdio.h>
> +#include <ddk/wdm.h>
> +#include <windef.h>
> +
> +void create_key_value (PHANDLE handle, WCHAR* key, int key_len, WCHAR* val, int val_len)
> +{
> + UNICODE_STRING key_name = { key_len, key_len, key };
> + UNICODE_STRING value_name = { val_len, val_len, val };
> + OBJECT_ATTRIBUTES key_obj;
> + InitializeObjectAttributes (&key_obj, &key_name,
> + OBJ_OPENIF | OBJ_CASE_INSENSITIVE,
> +...
2014 Jan 10
14
[PATCH 1/7] Add a minimal hive with "special" keys and values
...use the NT native API to create registry key and value that contain
+ a zero character */
+
+#include <ntdef.h>
+#include <stdio.h>
+#include <ddk/wdm.h>
+#include <windef.h>
+
+void create_key_value (PHANDLE handle, WCHAR* key, int key_len, WCHAR* val, int val_len)
+{
+ UNICODE_STRING key_name = { key_len, key_len, key };
+ UNICODE_STRING value_name = { val_len, val_len, val };
+ OBJECT_ATTRIBUTES key_obj;
+ InitializeObjectAttributes (&key_obj, &key_name,
+ OBJ_OPENIF | OBJ_CASE_INSENSITIVE,
+ *handle, NULL);...
2006 Jun 18
0
Rails Core Weekly June 11 - June 18
This is another edition of Rails Core Weekly, affectionately
known as RCW. A much nicer pre-web 3.0 version is available
from the following url :
http://www.pinupgeek.com/articles/category/rails-core-weekly-news
We have an Atom/RSS feed available there as well.
Rails Core Weekly summarizes the rails-core mailing
list, a list dedicated to Ruby on Rails internals and
its development. RCW is
2014 Jan 14
2
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
...t; > +
> > +#include <ntdef.h>
> > +#include <stdio.h>
> > +#include <ddk/wdm.h>
> > +#include <windef.h>
> > +
> > +void create_key_value (PHANDLE handle, WCHAR* key, int key_len, WCHAR*
> val, int val_len)
> > +{
> > + UNICODE_STRING key_name = { key_len, key_len, key };
> > + UNICODE_STRING value_name = { val_len, val_len, val };
> > + OBJECT_ATTRIBUTES key_obj;
> > + InitializeObjectAttributes (&key_obj, &key_name,
> > + OBJ_OPENIF | OBJ_CASE_INSENSITIVE,
> &g...
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
2011 Aug 13
3
User32::MENU_CopySysPopup problem
When this code may fail?
Code:
/***********************************************************************
* MENU_CopySysPopup
*
* Return the default system menu.
*/
static HMENU MENU_CopySysPopup(BOOL mdi)
{
static const WCHAR sysmenuW[] = {'S','Y','S','M','E','N','U',0};
static const WCHAR sysmenumdiW[] =
2007 Nov 02
0
[PATCH] PVWin: Fix warnings
...sk = 1;
KdPrint((__DRIVER_NAME " <-- EvtInterruptDisable\n"));
+
+ return STATUS_SUCCESS;
}
static NTSTATUS
@@ -611,13 +597,14 @@ XenPCI_ChildListCreateDevice(WDFCHILDLIS
XEN_IFACE_XENBUS XenBusInterface;
XEN_IFACE_XEN XenInterface;
XEN_IFACE_GNTTBL GntTblInterface;
- UNICODE_STRING DeviceId;
DECLARE_UNICODE_STRING_SIZE(buffer, 20);
WDF_OBJECT_ATTRIBUTES PdoAttributes;
DECLARE_CONST_UNICODE_STRING(DeviceLocation, L"Xen Bus");
WDF_QUERY_INTERFACE_CONFIG qiConfig;
- WDF_PDO_EVENT_CALLBACKS PdoCallbacks;
PXENPCI_XEN_DEVICE_DATA ChildDeviceData = NULL;
+...
2020 Jul 17
0
Wine release 5.13
...in the caller.
winebuild: Fix retrieving syscall arg length on x86_64.
ntdll: Return a char pointer instead of an ANSI_STRING in nt_to_unix_file_name().
ntdll: Allocate the return buffer in the caller for wine_nt_to_unix_file_name().
ntdll: Use char pointers instead of ANSI/UNICODE_STRING in unix_to_nt_file_name().
ntdll: Allocate the buffer in the caller for wine_unix_to_nt_file_name().
ntdll: Clear the reply data on error in virtual_locked_server_call().
mountmgr: Fix handling of buffer overflows in IOCTL_MOUNTMGR_QUERY_UNIX_DRIVE.
ntdll: Use stack buffers...
2016 Feb 19
0
Wine release 1.9.4
...passed to VirtualFree in multiple tests.
ntoskrnl.exe: Fix calling convention of InterlockedPopEntrySList.
ntoskrnl.exe: Fix calling convention of InterlockedPushEntrySList.
ntoskrnl.exe: Fix calling convention of ObfReferenceObject.
ntoskrnl.exe: Use debugstr_us() to trace UNICODE_STRING.
oleaut32/tests: Avoid misleading assignment in refcounting tests.
ws2_32/tests: Add tests for getsockopt() with SO_SNDBUF and SO_RCVBUF optname.
kernel32: Do not inherit QT_* environment variables to Windows environment.
services: Start SERVICE_FILE_SYSTEM_DRIVER services w...
2007 Jan 09
0
Wine release 0.9.29
...ailed.
kernel32: Be more verbose about the expected and received values for failures in the resource function tests.
ole32: Make sure to reset the message state if it has been changed in RPC_ExecuteCall before returning.
ntdll: RtlInitUnicodeString on a string too long to fit in a UNICODE_STRING
ntdll: Fix some test failures of RtlGUIDFromString and RtlStringFromGUID
rpcrt4: Pass WT_EXECUTELONGFUNCTION to QueueUserWorkItem since the
wininet: Remove the custom thread pool implementation and use QueueUserWorkItem instead.
ntdll: Don't print a fixme in RtlQueueUser...
2008 Jun 27
0
Wine release 1.1.0
The Wine development release 1.1.0 is now available.
What's new in this release (see below for details):
- Many more gdiplus functions implemented.
- Improved graphics tablet support.
- Many Richedit fixes and improvements.
- Support for HWND_MESSAGE windows.
- A lot of new MSHTML functions.
- Many fixes in MSI registry handling.
- Initial implementation of the inetmib1 DLL.
-