search for: hiword

Displaying 16 results from an estimated 16 matches for "hiword".

Did you mean: iword
2010 Feb 05
0
Wine release 1.1.38
...winhttp: Add timeout for session handles and implement for WinHttpSetTimeouts. winhttp: Implement WINHTTP_OPTION_{CONNECT, SEND, RECEIVE}_TIMEOUT. Matteo Bruni (1): wpp: Assure if_stack is clean before returning. Michael Stefaniuc (17): kernel32: Use IS_INTRESOURCE instead of HIWORD to check a resource. comctl32: Use IS_INTRESOURCE instead of HIWORD to check a resource. hhctrl.ocx: Fix the mem handling in get_attr() (Smatch). comdlg32: Use IS_INTRESOURCE instead of HIWORD to check a resource. cryptnet: Don't use HIWORD() on a string pointer. c...
2001 May 05
1
fix for oggdrop disappearing window
...on't know if this problem has been looked at yet. The latest version of oggdrop I found was at http://www.vorbis.com/files/beta4/windows/oggdrop-1.0beta4.zip. If you whip the window quickly from right to left, the client mouse coordinate in WM_MOUSEMOVE *can* be negative and so the LOWORD and HIWORD macros will cast the mouse coordinates to insanely high 64K-ish values. Then the SetWindowPos moves the window into lala land never to be seen again. I don't think windows should ever give you a neg client coordinate, but it does (maybe it's a win2k thing). The attached patch just uses L...
2010 Feb 19
0
Wine release 1.1.39
...t registers are not affected by rex prefix (Coverity). Michael Stefaniuc (8): itss: Reorder some code to avoid leaking memory on an error path. hhctrl.ocx: Use the SendMessage instead of ListView_GetItem. hhctrl.ocx: Remove a stray heap_alloc(0) (Smatch). ntdll: Avoid using HIWORD on types that are 64bit on Win64. oleaut32: Avoid using HIWORD on string pointers. kernel32: Don't use HIWORD to check for swapped args in GetCurrentDirectoryA. kernel32: Avoid using HIWORD on types that are 64bit on Win64. user32: Don't use HIWORD() on a HINSTANCE....
2011 Mar 10
2
[PATCH 11/21] Staging: hv: Make vmbus driver a platform pci driver
...DULE_DEVICE_TABLE(dmi, microsoft_hv_dmi_table); -static int __init vmbus_init(void) + +static int __devinit hv_pci_probe(struct pci_dev *pdev, + const struct pci_device_id *ent) { - DPRINT_INFO(VMBUS_DRV, - "Vmbus initializing.... current log level 0x%x (%x,%x)", - vmbus_loglevel, HIWORD(vmbus_loglevel), LOWORD(vmbus_loglevel)); - /* Todo: it is used for loglevel, to be ported to new kernel. */ + int err; - if (!dmi_check_system(microsoft_hv_dmi_table)) - return -ENODEV; + hv_pci_dev = pdev; - return vmbus_bus_init(); -} + err = pci_enable_device(pdev); + if (err) + return er...
2011 Mar 10
2
[PATCH 11/21] Staging: hv: Make vmbus driver a platform pci driver
...DULE_DEVICE_TABLE(dmi, microsoft_hv_dmi_table); -static int __init vmbus_init(void) + +static int __devinit hv_pci_probe(struct pci_dev *pdev, + const struct pci_device_id *ent) { - DPRINT_INFO(VMBUS_DRV, - "Vmbus initializing.... current log level 0x%x (%x,%x)", - vmbus_loglevel, HIWORD(vmbus_loglevel), LOWORD(vmbus_loglevel)); - /* Todo: it is used for loglevel, to be ported to new kernel. */ + int err; - if (!dmi_check_system(microsoft_hv_dmi_table)) - return -ENODEV; + hv_pci_dev = pdev; - return vmbus_bus_init(); -} + err = pci_enable_device(pdev); + if (err) + return er...
2019 Mar 29
0
Wine release 4.5
...id using This in d3dx_effect_Clone(). d3dx9: Move flags out of struct d3dx9_base_effect. d3dx9: Get rid of struct d3dx9_base_effect. d3dx9: Secure against unsafe iface to COM object transitions. d3d9/tests: Remove redundant not-NULL checks (coccinellery). dmcompos: Use HIWORD / LOWORD instead of open coding them. dmscript: Use HIWORD / LOWORD instead of open coding them. dmusic: Use HIWORD / LOWORD instead of open coding them. dmusic: Use dump_DMUS_OBJECTDESC() instead of open coding it. dswave: Use HIWORD / LOWORD instead of open coding them....
2011 Feb 11
0
[PATCH 3/3]:Staging: hv: Remove osd layer
...face.h" diff --git a/drivers/staging/hv/logging.h b/drivers/staging/hv/logging.h index 20d4d12..1799951 100644 --- a/drivers/staging/hv/logging.h +++ b/drivers/staging/hv/logging.h @@ -25,6 +25,9 @@ #ifndef _LOGGING_H_ #define _LOGGING_H_ +#define LOWORD(dw) ((unsigned short)(dw)) +#define HIWORD(dw) ((unsigned short)(((unsigned int) (dw) >> 16) & 0xFFFF)) + /* #include <linux/init.h> */ /* #include <linux/module.h> */ diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 7233564..fa46a7e 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers...
2011 Feb 11
0
[PATCH 3/3]:Staging: hv: Remove osd layer
...face.h" diff --git a/drivers/staging/hv/logging.h b/drivers/staging/hv/logging.h index 20d4d12..1799951 100644 --- a/drivers/staging/hv/logging.h +++ b/drivers/staging/hv/logging.h @@ -25,6 +25,9 @@ #ifndef _LOGGING_H_ #define _LOGGING_H_ +#define LOWORD(dw) ((unsigned short)(dw)) +#define HIWORD(dw) ((unsigned short)(((unsigned int) (dw) >> 16) & 0xFFFF)) + /* #include <linux/init.h> */ /* #include <linux/module.h> */ diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 7233564..fa46a7e 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers...
2011 Feb 22
4
[PATCH 1/6] Staging: hv: vmbus_drv.c Replaced DPRINT with native pr_XXX
...VMBUS_MOD, __func__, dev_name(child_device)); ret = -1; } } @@ -1086,10 +1020,8 @@ MODULE_DEVICE_TABLE(dmi, microsoft_hv_dmi_table); static int __init vmbus_init(void) { - DPRINT_INFO(VMBUS_DRV, - "Vmbus initializing.... current log level 0x%x (%x,%x)", - vmbus_loglevel, HIWORD(vmbus_loglevel), LOWORD(vmbus_loglevel)); - /* Todo: it is used for loglevel, to be ported to new kernel. */ + pr_info("%s: initializing Version %s. Supported Hyper-V Rev %d.", + VMBUS_MOD, HV_DRV_VERSION, VMBUS_REVISION_NUMBER); if (!dmi_check_system(microsoft_hv_dmi_table)) retu...
2011 Feb 22
4
[PATCH 1/6] Staging: hv: vmbus_drv.c Replaced DPRINT with native pr_XXX
...VMBUS_MOD, __func__, dev_name(child_device)); ret = -1; } } @@ -1086,10 +1020,8 @@ MODULE_DEVICE_TABLE(dmi, microsoft_hv_dmi_table); static int __init vmbus_init(void) { - DPRINT_INFO(VMBUS_DRV, - "Vmbus initializing.... current log level 0x%x (%x,%x)", - vmbus_loglevel, HIWORD(vmbus_loglevel), LOWORD(vmbus_loglevel)); - /* Todo: it is used for loglevel, to be ported to new kernel. */ + pr_info("%s: initializing Version %s. Supported Hyper-V Rev %d.", + VMBUS_MOD, HV_DRV_VERSION, VMBUS_REVISION_NUMBER); if (!dmi_check_system(microsoft_hv_dmi_table)) retu...
2008 Nov 21
0
Wine release 1.1.9
...a x86 ---------------------------------------------------------------- Changes since 1.1.8: A C Hurst (1): ntdll: wine_nt_to_unix_file_name() parse string to int instead of cast char, where string may be passed. Alexander Morozov (2): kernel32: NT drivers can handle IOCTL codes with HIWORD == 0. include: Remove declarations of undefined functions. Alexandre Julliard (69): kernel32/tests: Fix some profile test failures on NT4. kernel32/tests: Fix some resource test failures on NT4. kernel32/tests: Fix the thread test on NT4. kernel32: Explicitly request...
2006 Nov 10
0
Wine release 0.9.25
...ude directives. include/oledlg.h: Add missing include directives. include/usp10.h: Add missing include directives. shlwapi: Add a fixme for a missing include. winepath: Fix --long option. Gerald Pfeifer (1): server: Compilation fix. Huw Davies (10): user32: The hiword of the return value from LB_ITEMFROMPOINT should be hhctrl.ocx: Don't fail if ole is already initialised. comctl32: Fix return value of PropertySheet() for modal propsheets. comctl32: Implement PSM_GETRESULT. winex11.drv: If the app asks for a single buffered pixel forma...
2011 Sep 09
0
Wine release 1.3.28
...shell32: Pass objects instead of ifaces to helpers. shell32: COM cleanup in shv_bg_cmenu.c. shell32: Move ISvBgCm_Constructor() to avoid a forward declaration. msi: COM cleanup for the IEnumVARIANT iface. oleaut32: COM cleanup in typelib2.c. ntdll: Don't use HIWORD to check if an atom is a small int. quartz: Use an IDL file to define the IAMFilterData iface. Nikolay Sivov (4): msxml3: Fix empty elements output. msxml3: Respect string length returned from ISAXAttributes. msxml3: Use element name length passed to content handler....
2010 May 07
0
Wine release 1.1.44
...n the shader assembler. d3dx9: Add relative addressing support to the shader assembler. d3dx9: Support some more vs_3_0 instructions in the shader assembler. Michael Stefaniuc (21): windowscodecs: Unlock not lock again when leaving the function (Smatch). user32: Avoid using HIWORD on a string pointer. shell32: Update the Romanian translation. wineboot: Update the Romanian translation. wineconsole: Always show an ASCII string in the font test. ntdll/tests: Avoid using the 'long' types. kernel32: Update the Dutch (Suriname) NLS file....
2011 Mar 15
16
[PATCH 00/12] Staging: hv: Cleanup vmbus driver - Phase II
This patch-set fixes the following issues in the vmbus driver (vmbus_drv.c): Make vmbus driver a platform pci device and cleanup root device management and irq allocation (patches 1/12 through 3/12): 1) Make vmbus driver a platform pci driver. 2) Cleanup root device management. 3) Leverage the pci model for allocating irq. General cleanup of vmbus driver (patches 4/12 though 12/12): 1)
2011 Mar 15
16
[PATCH 00/12] Staging: hv: Cleanup vmbus driver - Phase II
This patch-set fixes the following issues in the vmbus driver (vmbus_drv.c): Make vmbus driver a platform pci device and cleanup root device management and irq allocation (patches 1/12 through 3/12): 1) Make vmbus driver a platform pci driver. 2) Cleanup root device management. 3) Leverage the pci model for allocating irq. General cleanup of vmbus driver (patches 4/12 though 12/12): 1)