- kernelbase: Fix error value for PE files without resource. - include: Simplify handling of va_list in debug printf functions. - include: Add va_list version of the debug printf functions. - include: Avoid _t-suffixes. - include: Add list_move_after() and list_move_before(). - user32: Call winproc_init before dpiaware_init. - combase: Omit thread ID from the stub manager ipid for MTA objects. - d3dx10: Factor out image format conversion function. - d3dx10: Use WIC functions to obtain info about DDS image. - d3dx10: Add support for texture cubes in D3DX10CreateTexture functions. - d3dx10: Don't check frame count in load_texture_data. - d3dx10: Add support for loading MipLevels data in load_texture_data. - d3dx10/tests: Improve cube textures data testing. - winemac.drv: Rename display modes cache variables. - winemac.drv: Invalidate mode cache when enum flags changes. - winemac.drv: Remove unnecessary macdrv_EnumDisplaySettingsEx declaration. - winemac.drv: Check for non-primary adapter earlier in macdrv_ChangeDisplaySettingsEx. - winemac.drv: Support getting non-primary adapter current display mode. - winemac.drv: Support enumerating non-primary adapters display modes. - evr/filter: Implement pin's connect/disconnect. - d3dx10: Implement D3DX10PreprocessShaderFromMemory(). - d3dx10/tests: Add a test for D3DX10PreprocessShaderFromMemory(). - wmvcore/tests: Use a constant for test.wmv duration. - wmvcore/tests: Test sync reader output settings read / write. - wmvcore/tests: Test async reader output settings read / write. - wmvcore/tests: Test that the callback thread is always the same. - wmvcore/tests: Test async reader compressed sample monotonic pts. - wmvcore/tests: Test async reader DedicatedDeliveryThread setting. - mshtml/tests: Fix a spelling error in an ok() message. - dbghelp: Fix a couple of spelling errors in a comment. - mscvpdb: Fix a spelling error in a comment. - winspool.drv/tests: Fix the spelling of a variable name. - winealsa.drv: Make functions static where possible. - winex11.drv: Make get_unix_file_name() static. - dinput: Remove WINAPI on static functions where not needed. - dinput/tests: Remove WINAPI on static functions where not needed. - crypt32: Remove WINAPI on static functions where not needed. - windows.media.speech: Remove WINAPI on static functions where not needed. - winexinput.sys: Remove WINAPI on static functions where not needed.
From: Francois Gouget fgouget@free.fr
This helps detect dead code. --- dlls/winealsa.drv/alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winealsa.drv/alsa.c b/dlls/winealsa.drv/alsa.c index 882562bcf91..7ac404fd6a4 100644 --- a/dlls/winealsa.drv/alsa.c +++ b/dlls/winealsa.drv/alsa.c @@ -142,7 +142,7 @@ static HKEY reg_open_hkcu_key( const WCHAR *name, ULONG name_len ) return key; }
-ULONG reg_query_value( HKEY hkey, const WCHAR *name, +static ULONG reg_query_value( HKEY hkey, const WCHAR *name, KEY_VALUE_PARTIAL_INFORMATION *info, ULONG size ) { unsigned int name_size = name ? wcslen( name ) * sizeof(WCHAR) : 0;
From: Francois Gouget fgouget@free.fr
--- dlls/winex11.drv/clipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c index da451fad57c..4570e849d3d 100644 --- a/dlls/winex11.drv/clipboard.c +++ b/dlls/winex11.drv/clipboard.c @@ -644,7 +644,7 @@ static BOOL get_nt_pathname( const WCHAR *name, UNICODE_STRING *nt_name )
/* based on wine_get_unix_file_name */ -char *get_unix_file_name( const WCHAR *dosW ) +static char *get_unix_file_name( const WCHAR *dosW ) { UNICODE_STRING nt_name; OBJECT_ATTRIBUTES attr;
From: Francois Gouget fgouget@free.fr
--- dlls/dinput/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c index f0220252279..b85d97d1b95 100644 --- a/dlls/dinput/device.c +++ b/dlls/dinput/device.c @@ -1346,8 +1346,8 @@ static void reset_device_state( IDirectInputDevice8W *iface ) impl->vtbl->enum_objects( iface, &filter, DIDFT_AXIS | DIDFT_POV, reset_object_value, impl ); }
-static HRESULT WINAPI dinput_device_set_property( IDirectInputDevice8W *iface, const GUID *guid, - const DIPROPHEADER *header ) +static HRESULT dinput_device_set_property( IDirectInputDevice8W *iface, const GUID *guid, + const DIPROPHEADER *header ) { struct set_object_property_params params = {.iface = iface, .header = header, .property = LOWORD( guid )}; struct dinput_device *impl = impl_from_IDirectInputDevice8W( iface );
From: Francois Gouget fgouget@free.fr
--- dlls/dinput/tests/driver_bus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/dinput/tests/driver_bus.c b/dlls/dinput/tests/driver_bus.c index f200b7745d5..a95ee569c1b 100644 --- a/dlls/dinput/tests/driver_bus.c +++ b/dlls/dinput/tests/driver_bus.c @@ -996,7 +996,7 @@ static NTSTATUS WINAPI driver_pnp( DEVICE_OBJECT *device, IRP *irp ) return fdo_pnp( device, irp ); }
-static NTSTATUS WINAPI pdo_internal_ioctl( DEVICE_OBJECT *device, IRP *irp ) +static NTSTATUS pdo_internal_ioctl( DEVICE_OBJECT *device, IRP *irp ) { IO_STACK_LOCATION *stack = IoGetCurrentIrpStackLocation( irp ); struct phys_device *impl = pdo_from_DEVICE_OBJECT( device ); @@ -1222,7 +1222,7 @@ static NTSTATUS WINAPI pdo_internal_ioctl( DEVICE_OBJECT *device, IRP *irp ) return status; }
-static NTSTATUS WINAPI fdo_internal_ioctl( DEVICE_OBJECT *device, IRP *irp ) +static NTSTATUS fdo_internal_ioctl( DEVICE_OBJECT *device, IRP *irp ) { IO_STACK_LOCATION *stack = IoGetCurrentIrpStackLocation( irp ); ULONG code = stack->Parameters.DeviceIoControl.IoControlCode; @@ -1286,7 +1286,7 @@ static NTSTATUS pdo_handle_ioctl( struct phys_device *impl, IRP *irp, ULONG code } }
-static NTSTATUS WINAPI pdo_ioctl( DEVICE_OBJECT *device, IRP *irp ) +static NTSTATUS pdo_ioctl( DEVICE_OBJECT *device, IRP *irp ) { IO_STACK_LOCATION *stack = IoGetCurrentIrpStackLocation( irp ); struct phys_device *impl = pdo_from_DEVICE_OBJECT( device ); @@ -1307,7 +1307,7 @@ static NTSTATUS WINAPI pdo_ioctl( DEVICE_OBJECT *device, IRP *irp ) return status; }
-static NTSTATUS WINAPI fdo_ioctl( DEVICE_OBJECT *device, IRP *irp ) +static NTSTATUS fdo_ioctl( DEVICE_OBJECT *device, IRP *irp ) { IO_STACK_LOCATION *stack = IoGetCurrentIrpStackLocation( irp ); ULONG in_size = stack->Parameters.DeviceIoControl.InputBufferLength;
From: Francois Gouget fgouget@free.fr
--- dlls/crypt32/encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/crypt32/encode.c b/dlls/crypt32/encode.c index 8086ad2fc0a..8968eb9f15a 100644 --- a/dlls/crypt32/encode.c +++ b/dlls/crypt32/encode.c @@ -4500,7 +4500,7 @@ static BOOL WINAPI CRYPT_AsnEncodeCertId(DWORD dwCertEncodingType, return ret; }
-static BOOL WINAPI CRYPT_AsnEncodeOCSPRequestEntry(DWORD dwCertEncodingType, +static BOOL CRYPT_AsnEncodeOCSPRequestEntry(DWORD dwCertEncodingType, LPCSTR lpszStructType, const void *pvStructInfo, DWORD dwFlags, PCRYPT_ENCODE_PARA pEncodePara, BYTE *pbEncoded, DWORD *pcbEncoded) {
From: Francois Gouget fgouget@free.fr
--- dlls/windows.media.speech/recognizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/windows.media.speech/recognizer.c b/dlls/windows.media.speech/recognizer.c index 6a058df86e5..bdcc57f883e 100644 --- a/dlls/windows.media.speech/recognizer.c +++ b/dlls/windows.media.speech/recognizer.c @@ -124,7 +124,7 @@ static const struct ISpeechRecognitionCompilationResultVtbl compilation_result_v };
-static HRESULT WINAPI compilation_result_create( SpeechRecognitionResultStatus status, ISpeechRecognitionCompilationResult **out ) +static HRESULT compilation_result_create( SpeechRecognitionResultStatus status, ISpeechRecognitionCompilationResult **out ) { struct compilation_result *impl;
From: Francois Gouget fgouget@free.fr
--- dlls/winexinput.sys/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/winexinput.sys/main.c b/dlls/winexinput.sys/main.c index 6d33b740e46..0c75d32fd6b 100644 --- a/dlls/winexinput.sys/main.c +++ b/dlls/winexinput.sys/main.c @@ -315,7 +315,7 @@ static NTSTATUS try_complete_pending_read(DEVICE_OBJECT *device, IRP *irp) return IoCallDriver(fdo->bus_device, xinput_irp); }
-static NTSTATUS WINAPI gamepad_internal_ioctl(DEVICE_OBJECT *device, IRP *irp) +static NTSTATUS gamepad_internal_ioctl(DEVICE_OBJECT *device, IRP *irp) { IO_STACK_LOCATION *stack = IoGetCurrentIrpStackLocation(irp); ULONG output_len = stack->Parameters.DeviceIoControl.OutputBufferLength; @@ -460,7 +460,7 @@ static WCHAR *query_compatible_ids(DEVICE_OBJECT *device) return dst; }
-static NTSTATUS WINAPI pdo_pnp(DEVICE_OBJECT *device, IRP *irp) +static NTSTATUS pdo_pnp(DEVICE_OBJECT *device, IRP *irp) { IO_STACK_LOCATION *stack = IoGetCurrentIrpStackLocation(irp); struct func_device *fdo = fdo_from_DEVICE_OBJECT(device); @@ -717,7 +717,7 @@ static NTSTATUS WINAPI set_event_completion(DEVICE_OBJECT *device, IRP *irp, voi return STATUS_MORE_PROCESSING_REQUIRED; }
-static NTSTATUS WINAPI fdo_pnp(DEVICE_OBJECT *device, IRP *irp) +static NTSTATUS fdo_pnp(DEVICE_OBJECT *device, IRP *irp) { IO_STACK_LOCATION *stack = IoGetCurrentIrpStackLocation(irp); struct func_device *fdo = fdo_from_DEVICE_OBJECT(device); @@ -798,7 +798,7 @@ static NTSTATUS WINAPI fdo_pnp(DEVICE_OBJECT *device, IRP *irp) return STATUS_SUCCESS; }
-static NTSTATUS WINAPI driver_pnp(DEVICE_OBJECT *device, IRP *irp) +static NTSTATUS driver_pnp(DEVICE_OBJECT *device, IRP *irp) { struct device *impl = impl_from_DEVICE_OBJECT(device); if (impl->is_fdo) return fdo_pnp(device, irp);
This merge request was closed by Francois Gouget.