winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
July 2023
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
1 participants
865 discussions
Start a n
N
ew thread
Alistair Leslie-Hughes : d3d9: Remove DECLSPEC_HIDDEN usage.
by Alexandre Julliard
11 Jul '23
11 Jul '23
Module: wine Branch: master Commit: fb4d36c66131d1c45ebdcb5d56151e8f7782ebd1 URL:
https://gitlab.winehq.org/wine/wine/-/commit/fb4d36c66131d1c45ebdcb5d56151e…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Mon Jul 10 19:13:23 2023 +1000 d3d9: Remove DECLSPEC_HIDDEN usage. --- dlls/d3d9/d3d9_private.h | 74 ++++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/dlls/d3d9/d3d9_private.h b/dlls/d3d9/d3d9_private.h index cb86ce678fb..81a37e7dffc 100644 --- a/dlls/d3d9/d3d9_private.h +++ b/dlls/d3d9/d3d9_private.h @@ -50,15 +50,15 @@ #define D3DFMT_RESZ MAKEFOURCC('R','E','S','Z') #define D3D9_RESZ_CODE 0x7fa05000 -extern const struct wined3d_parent_ops d3d9_null_wined3d_parent_ops DECLSPEC_HIDDEN; +extern const struct wined3d_parent_ops d3d9_null_wined3d_parent_ops; -HRESULT vdecl_convert_fvf(DWORD FVF, D3DVERTEXELEMENT9 **ppVertexElements) DECLSPEC_HIDDEN; -D3DFORMAT d3dformat_from_wined3dformat(enum wined3d_format_id format) DECLSPEC_HIDDEN; -BOOL is_gdi_compat_wined3dformat(enum wined3d_format_id format) DECLSPEC_HIDDEN; -enum wined3d_format_id wined3dformat_from_d3dformat(D3DFORMAT format) DECLSPEC_HIDDEN; -unsigned int wined3dmapflags_from_d3dmapflags(unsigned int flags, unsigned int usage) DECLSPEC_HIDDEN; +HRESULT vdecl_convert_fvf(DWORD FVF, D3DVERTEXELEMENT9 **ppVertexElements); +D3DFORMAT d3dformat_from_wined3dformat(enum wined3d_format_id format); +BOOL is_gdi_compat_wined3dformat(enum wined3d_format_id format); +enum wined3d_format_id wined3dformat_from_d3dformat(D3DFORMAT format); +unsigned int wined3dmapflags_from_d3dmapflags(unsigned int flags, unsigned int usage); void present_parameters_from_wined3d_swapchain_desc(D3DPRESENT_PARAMETERS *present_parameters, - const struct wined3d_swapchain_desc *swapchain_desc, DWORD presentation_interval) DECLSPEC_HIDDEN; + const struct wined3d_swapchain_desc *swapchain_desc, DWORD presentation_interval); struct d3d9 { @@ -71,8 +71,8 @@ struct d3d9 }; void d3d9_caps_from_wined3dcaps(const struct d3d9 *d3d9, unsigned int adapter_ordinal, - D3DCAPS9 *caps, const struct wined3d_caps *wined3d_caps) DECLSPEC_HIDDEN; -BOOL d3d9_init(struct d3d9 *d3d9, BOOL extended) DECLSPEC_HIDDEN; + D3DCAPS9 *caps, const struct wined3d_caps *wined3d_caps); +BOOL d3d9_init(struct d3d9 *d3d9, BOOL extended); struct fvf_declaration { @@ -124,7 +124,7 @@ struct d3d9_device HRESULT device_init(struct d3d9_device *device, struct d3d9 *parent, struct wined3d *wined3d, UINT adapter, D3DDEVTYPE device_type, HWND focus_window, DWORD flags, - D3DPRESENT_PARAMETERS *parameters, D3DDISPLAYMODEEX *mode) DECLSPEC_HIDDEN; + D3DPRESENT_PARAMETERS *parameters, D3DDISPLAYMODEEX *mode); struct d3d9_resource { @@ -132,13 +132,13 @@ struct d3d9_resource struct wined3d_private_store private_store; }; -void d3d9_resource_cleanup(struct d3d9_resource *resource) DECLSPEC_HIDDEN; -HRESULT d3d9_resource_free_private_data(struct d3d9_resource *resource, const GUID *guid) DECLSPEC_HIDDEN; +void d3d9_resource_cleanup(struct d3d9_resource *resource); +HRESULT d3d9_resource_free_private_data(struct d3d9_resource *resource, const GUID *guid); HRESULT d3d9_resource_get_private_data(struct d3d9_resource *resource, const GUID *guid, - void *data, DWORD *data_size) DECLSPEC_HIDDEN; -void d3d9_resource_init(struct d3d9_resource *resource) DECLSPEC_HIDDEN; + void *data, DWORD *data_size); +void d3d9_resource_init(struct d3d9_resource *resource); HRESULT d3d9_resource_set_private_data(struct d3d9_resource *resource, const GUID *guid, - const void *data, DWORD data_size, DWORD flags) DECLSPEC_HIDDEN; + const void *data, DWORD data_size, DWORD flags); struct d3d9_volume { @@ -150,7 +150,7 @@ struct d3d9_volume }; void volume_init(struct d3d9_volume *volume, struct wined3d_texture *wined3d_texture, - unsigned int sub_resource_idx, const struct wined3d_parent_ops **parent_ops) DECLSPEC_HIDDEN; + unsigned int sub_resource_idx, const struct wined3d_parent_ops **parent_ops); struct d3d9_swapchain { @@ -163,7 +163,7 @@ struct d3d9_swapchain }; HRESULT d3d9_swapchain_create(struct d3d9_device *device, struct wined3d_swapchain_desc *desc, - unsigned int swap_interval, struct d3d9_swapchain **swapchain) DECLSPEC_HIDDEN; + unsigned int swap_interval, struct d3d9_swapchain **swapchain); struct d3d9_surface { @@ -179,13 +179,13 @@ struct d3d9_surface struct wined3d_swapchain *swapchain; }; -struct wined3d_rendertarget_view *d3d9_surface_acquire_rendertarget_view(struct d3d9_surface *surface) DECLSPEC_HIDDEN; +struct wined3d_rendertarget_view *d3d9_surface_acquire_rendertarget_view(struct d3d9_surface *surface); struct d3d9_surface *d3d9_surface_create(struct wined3d_texture *wined3d_texture, - unsigned int sub_resource_idx, IUnknown *container) DECLSPEC_HIDDEN; -struct d3d9_device *d3d9_surface_get_device(const struct d3d9_surface *surface) DECLSPEC_HIDDEN; + unsigned int sub_resource_idx, IUnknown *container); +struct d3d9_device *d3d9_surface_get_device(const struct d3d9_surface *surface); void d3d9_surface_release_rendertarget_view(struct d3d9_surface *surface, - struct wined3d_rendertarget_view *rtv) DECLSPEC_HIDDEN; -struct d3d9_surface *unsafe_impl_from_IDirect3DSurface9(IDirect3DSurface9 *iface) DECLSPEC_HIDDEN; + struct wined3d_rendertarget_view *rtv); +struct d3d9_surface *unsafe_impl_from_IDirect3DSurface9(IDirect3DSurface9 *iface); struct d3d9_vertexbuffer { @@ -198,8 +198,8 @@ struct d3d9_vertexbuffer }; HRESULT vertexbuffer_init(struct d3d9_vertexbuffer *buffer, struct d3d9_device *device, - UINT size, UINT usage, DWORD fvf, D3DPOOL pool) DECLSPEC_HIDDEN; -struct d3d9_vertexbuffer *unsafe_impl_from_IDirect3DVertexBuffer9(IDirect3DVertexBuffer9 *iface) DECLSPEC_HIDDEN; + UINT size, UINT usage, DWORD fvf, D3DPOOL pool); +struct d3d9_vertexbuffer *unsafe_impl_from_IDirect3DVertexBuffer9(IDirect3DVertexBuffer9 *iface); struct d3d9_indexbuffer { @@ -213,8 +213,8 @@ struct d3d9_indexbuffer }; HRESULT indexbuffer_init(struct d3d9_indexbuffer *buffer, struct d3d9_device *device, - UINT size, DWORD usage, D3DFORMAT format, D3DPOOL pool) DECLSPEC_HIDDEN; -struct d3d9_indexbuffer *unsafe_impl_from_IDirect3DIndexBuffer9(IDirect3DIndexBuffer9 *iface) DECLSPEC_HIDDEN; + UINT size, DWORD usage, D3DFORMAT format, D3DPOOL pool); +struct d3d9_indexbuffer *unsafe_impl_from_IDirect3DIndexBuffer9(IDirect3DIndexBuffer9 *iface); struct d3d9_texture { @@ -241,9 +241,9 @@ static inline struct wined3d_texture *d3d9_texture_get_draw_texture(struct d3d9_ return texture->draw_texture ? texture->draw_texture : texture->wined3d_texture; } -struct d3d9_texture *unsafe_impl_from_IDirect3DBaseTexture9(IDirect3DBaseTexture9 *iface) DECLSPEC_HIDDEN; -void d3d9_texture_flag_auto_gen_mipmap(struct d3d9_texture *texture) DECLSPEC_HIDDEN; -void d3d9_texture_gen_auto_mipmap(struct d3d9_texture *texture) DECLSPEC_HIDDEN; +struct d3d9_texture *unsafe_impl_from_IDirect3DBaseTexture9(IDirect3DBaseTexture9 *iface); +void d3d9_texture_flag_auto_gen_mipmap(struct d3d9_texture *texture); +void d3d9_texture_gen_auto_mipmap(struct d3d9_texture *texture); struct d3d9_stateblock { @@ -254,7 +254,7 @@ struct d3d9_stateblock }; HRESULT stateblock_init(struct d3d9_stateblock *stateblock, struct d3d9_device *device, - D3DSTATEBLOCKTYPE type, struct wined3d_stateblock *wined3d_stateblock) DECLSPEC_HIDDEN; + D3DSTATEBLOCKTYPE type, struct wined3d_stateblock *wined3d_stateblock); struct d3d9_vertex_declaration { @@ -269,9 +269,9 @@ struct d3d9_vertex_declaration }; HRESULT d3d9_vertex_declaration_create(struct d3d9_device *device, - const D3DVERTEXELEMENT9 *elements, struct d3d9_vertex_declaration **declaration) DECLSPEC_HIDDEN; + const D3DVERTEXELEMENT9 *elements, struct d3d9_vertex_declaration **declaration); struct d3d9_vertex_declaration *unsafe_impl_from_IDirect3DVertexDeclaration9( - IDirect3DVertexDeclaration9 *iface) DECLSPEC_HIDDEN; + IDirect3DVertexDeclaration9 *iface); struct d3d9_vertexshader { @@ -282,8 +282,8 @@ struct d3d9_vertexshader }; HRESULT vertexshader_init(struct d3d9_vertexshader *shader, - struct d3d9_device *device, const DWORD *byte_code) DECLSPEC_HIDDEN; -struct d3d9_vertexshader *unsafe_impl_from_IDirect3DVertexShader9(IDirect3DVertexShader9 *iface) DECLSPEC_HIDDEN; + struct d3d9_device *device, const DWORD *byte_code); +struct d3d9_vertexshader *unsafe_impl_from_IDirect3DVertexShader9(IDirect3DVertexShader9 *iface); struct d3d9_pixelshader { @@ -294,8 +294,8 @@ struct d3d9_pixelshader }; HRESULT pixelshader_init(struct d3d9_pixelshader *shader, - struct d3d9_device *device, const DWORD *byte_code) DECLSPEC_HIDDEN; -struct d3d9_pixelshader *unsafe_impl_from_IDirect3DPixelShader9(IDirect3DPixelShader9 *iface) DECLSPEC_HIDDEN; + struct d3d9_device *device, const DWORD *byte_code); +struct d3d9_pixelshader *unsafe_impl_from_IDirect3DPixelShader9(IDirect3DPixelShader9 *iface); struct d3d9_query { @@ -306,7 +306,7 @@ struct d3d9_query DWORD data_size; }; -HRESULT query_init(struct d3d9_query *query, struct d3d9_device *device, D3DQUERYTYPE type) DECLSPEC_HIDDEN; +HRESULT query_init(struct d3d9_query *query, struct d3d9_device *device, D3DQUERYTYPE type); static inline struct d3d9_device *impl_from_IDirect3DDevice9Ex(IDirect3DDevice9Ex *iface) {
1
0
0
0
Alistair Leslie-Hughes : d3drm: Remove DECLSPEC_HIDDEN usage.
by Alexandre Julliard
11 Jul '23
11 Jul '23
Module: wine Branch: master Commit: 9891cfa9bd14d2a7e52b0dc60c2d9287dcd34c0e URL:
https://gitlab.winehq.org/wine/wine/-/commit/9891cfa9bd14d2a7e52b0dc60c2d92…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Mon Jul 10 19:13:23 2023 +1000 d3drm: Remove DECLSPEC_HIDDEN usage. --- dlls/d3drm/d3drm_private.h | 62 +++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/dlls/d3drm/d3drm_private.h b/dlls/d3drm/d3drm_private.h index 296a9730954..34805e7b21b 100644 --- a/dlls/d3drm/d3drm_private.h +++ b/dlls/d3drm/d3drm_private.h @@ -272,39 +272,39 @@ struct d3drm_wrap LONG ref; }; -HRESULT d3drm_device_create(struct d3drm_device **device, IDirect3DRM *d3drm) DECLSPEC_HIDDEN; +HRESULT d3drm_device_create(struct d3drm_device **device, IDirect3DRM *d3drm); HRESULT d3drm_device_create_surfaces_from_clipper(struct d3drm_device *object, IDirectDraw *ddraw, - IDirectDrawClipper *clipper, int width, int height, IDirectDrawSurface **surface) DECLSPEC_HIDDEN; -void d3drm_device_destroy(struct d3drm_device *device) DECLSPEC_HIDDEN; + IDirectDrawClipper *clipper, int width, int height, IDirectDrawSurface **surface); +void d3drm_device_destroy(struct d3drm_device *device); HRESULT d3drm_device_init(struct d3drm_device *device, UINT version, IDirectDraw *ddraw, - IDirectDrawSurface *surface, BOOL create_z_surface) DECLSPEC_HIDDEN; - -void d3drm_object_init(struct d3drm_object *object, const char *classname) DECLSPEC_HIDDEN; -HRESULT d3drm_object_add_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx) DECLSPEC_HIDDEN; -HRESULT d3drm_object_delete_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx) DECLSPEC_HIDDEN; -HRESULT d3drm_object_get_class_name(struct d3drm_object *object, DWORD *size, char *name) DECLSPEC_HIDDEN; -HRESULT d3drm_object_get_name(struct d3drm_object *object, DWORD *size, char *name) DECLSPEC_HIDDEN; -HRESULT d3drm_object_set_name(struct d3drm_object *object, const char *name) DECLSPEC_HIDDEN; -void d3drm_object_cleanup(IDirect3DRMObject *iface, struct d3drm_object *object) DECLSPEC_HIDDEN; - -struct d3drm_frame *unsafe_impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface) DECLSPEC_HIDDEN; -struct d3drm_frame *unsafe_impl_from_IDirect3DRMFrame3(IDirect3DRMFrame3 *iface) DECLSPEC_HIDDEN; - -struct d3drm_device *unsafe_impl_from_IDirect3DRMDevice3(IDirect3DRMDevice3 *iface) DECLSPEC_HIDDEN; - -HRESULT d3drm_texture_create(struct d3drm_texture **texture, IDirect3DRM *d3drm) DECLSPEC_HIDDEN; -HRESULT d3drm_frame_create(struct d3drm_frame **frame, IUnknown *parent_frame, IDirect3DRM *d3drm) DECLSPEC_HIDDEN; -HRESULT d3drm_face_create(struct d3drm_face **face) DECLSPEC_HIDDEN; -HRESULT d3drm_viewport_create(struct d3drm_viewport **viewport, IDirect3DRM *d3drm) DECLSPEC_HIDDEN; -HRESULT d3drm_mesh_builder_create(struct d3drm_mesh_builder **mesh_builder, IDirect3DRM *d3drm) DECLSPEC_HIDDEN; -HRESULT d3drm_light_create(struct d3drm_light **light, IDirect3DRM *d3drm) DECLSPEC_HIDDEN; -HRESULT d3drm_material_create(struct d3drm_material **material, IDirect3DRM *d3drm) DECLSPEC_HIDDEN; -HRESULT d3drm_mesh_create(struct d3drm_mesh **mesh, IDirect3DRM *d3drm) DECLSPEC_HIDDEN; -HRESULT d3drm_animation_create(struct d3drm_animation **animation, IDirect3DRM *d3drm) DECLSPEC_HIDDEN; -HRESULT d3drm_wrap_create(struct d3drm_wrap **wrap, IDirect3DRM *d3drm) DECLSPEC_HIDDEN; + IDirectDrawSurface *surface, BOOL create_z_surface); + +void d3drm_object_init(struct d3drm_object *object, const char *classname); +HRESULT d3drm_object_add_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx); +HRESULT d3drm_object_delete_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx); +HRESULT d3drm_object_get_class_name(struct d3drm_object *object, DWORD *size, char *name); +HRESULT d3drm_object_get_name(struct d3drm_object *object, DWORD *size, char *name); +HRESULT d3drm_object_set_name(struct d3drm_object *object, const char *name); +void d3drm_object_cleanup(IDirect3DRMObject *iface, struct d3drm_object *object); + +struct d3drm_frame *unsafe_impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface); +struct d3drm_frame *unsafe_impl_from_IDirect3DRMFrame3(IDirect3DRMFrame3 *iface); + +struct d3drm_device *unsafe_impl_from_IDirect3DRMDevice3(IDirect3DRMDevice3 *iface); + +HRESULT d3drm_texture_create(struct d3drm_texture **texture, IDirect3DRM *d3drm); +HRESULT d3drm_frame_create(struct d3drm_frame **frame, IUnknown *parent_frame, IDirect3DRM *d3drm); +HRESULT d3drm_face_create(struct d3drm_face **face); +HRESULT d3drm_viewport_create(struct d3drm_viewport **viewport, IDirect3DRM *d3drm); +HRESULT d3drm_mesh_builder_create(struct d3drm_mesh_builder **mesh_builder, IDirect3DRM *d3drm); +HRESULT d3drm_light_create(struct d3drm_light **light, IDirect3DRM *d3drm); +HRESULT d3drm_material_create(struct d3drm_material **material, IDirect3DRM *d3drm); +HRESULT d3drm_mesh_create(struct d3drm_mesh **mesh, IDirect3DRM *d3drm); +HRESULT d3drm_animation_create(struct d3drm_animation **animation, IDirect3DRM *d3drm); +HRESULT d3drm_wrap_create(struct d3drm_wrap **wrap, IDirect3DRM *d3drm); HRESULT load_mesh_data(IDirect3DRMMeshBuilder3 *iface, IDirectXFileData *data, - D3DRMLOADTEXTURECALLBACK load_texture_proc, void *arg) DECLSPEC_HIDDEN; + D3DRMLOADTEXTURECALLBACK load_texture_proc, void *arg); struct d3drm_file_header { @@ -313,7 +313,7 @@ struct d3drm_file_header DWORD flags; }; -extern char templates[] DECLSPEC_HIDDEN; +extern char templates[]; static inline BYTE d3drm_color_component(float c) { @@ -330,6 +330,6 @@ static inline void d3drm_set_color(D3DCOLOR *color, float r, float g, float b, f d3drm_color_component(b), d3drm_color_component(a)); } -BOOL d3drm_array_reserve(void **elements, SIZE_T *capacity, SIZE_T element_count, SIZE_T element_size) DECLSPEC_HIDDEN; +BOOL d3drm_array_reserve(void **elements, SIZE_T *capacity, SIZE_T element_count, SIZE_T element_size); #endif /* __D3DRM_PRIVATE_INCLUDED__ */
1
0
0
0
Alistair Leslie-Hughes : d3d8: Remove DECLSPEC_HIDDEN usage.
by Alexandre Julliard
11 Jul '23
11 Jul '23
Module: wine Branch: master Commit: 6f8be72bd8762052e9b0d827477c915dcb8d4df5 URL:
https://gitlab.winehq.org/wine/wine/-/commit/6f8be72bd8762052e9b0d827477c91…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Mon Jul 10 19:13:23 2023 +1000 d3d8: Remove DECLSPEC_HIDDEN usage. --- dlls/d3d8/d3d8_private.h | 66 ++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/dlls/d3d8/d3d8_private.h b/dlls/d3d8/d3d8_private.h index 181a952a347..889cc57ce15 100644 --- a/dlls/d3d8/d3d8_private.h +++ b/dlls/d3d8/d3d8_private.h @@ -49,10 +49,10 @@ /* CreateVertexShader can return > 0xFFFF */ #define VS_HIGHESTFIXEDFXF 0xF0000000 -extern const struct wined3d_parent_ops d3d8_null_wined3d_parent_ops DECLSPEC_HIDDEN; +extern const struct wined3d_parent_ops d3d8_null_wined3d_parent_ops; void d3dcaps_from_wined3dcaps(D3DCAPS8 *caps, const struct wined3d_caps *wined3d_caps, - unsigned int adapter_ordinal) DECLSPEC_HIDDEN; + unsigned int adapter_ordinal); struct d3d8 { @@ -63,7 +63,7 @@ struct d3d8 unsigned int wined3d_output_count; }; -BOOL d3d8_init(struct d3d8 *d3d8) DECLSPEC_HIDDEN; +BOOL d3d8_init(struct d3d8 *d3d8); /***************************************************************************** * IDirect3DDevice8 implementation structure @@ -142,7 +142,7 @@ struct d3d8_device }; HRESULT device_init(struct d3d8_device *device, struct d3d8 *parent, struct wined3d *wined3d, UINT adapter, - D3DDEVTYPE device_type, HWND focus_window, DWORD flags, D3DPRESENT_PARAMETERS *parameters) DECLSPEC_HIDDEN; + D3DDEVTYPE device_type, HWND focus_window, DWORD flags, D3DPRESENT_PARAMETERS *parameters); static inline struct d3d8_device *impl_from_IDirect3DDevice8(IDirect3DDevice8 *iface) { @@ -155,13 +155,13 @@ struct d3d8_resource struct wined3d_private_store private_store; }; -void d3d8_resource_cleanup(struct d3d8_resource *resource) DECLSPEC_HIDDEN; -HRESULT d3d8_resource_free_private_data(struct d3d8_resource *resource, const GUID *guid) DECLSPEC_HIDDEN; +void d3d8_resource_cleanup(struct d3d8_resource *resource); +HRESULT d3d8_resource_free_private_data(struct d3d8_resource *resource, const GUID *guid); HRESULT d3d8_resource_get_private_data(struct d3d8_resource *resource, const GUID *guid, - void *data, DWORD *data_size) DECLSPEC_HIDDEN; -void d3d8_resource_init(struct d3d8_resource *resource) DECLSPEC_HIDDEN; + void *data, DWORD *data_size); +void d3d8_resource_init(struct d3d8_resource *resource); HRESULT d3d8_resource_set_private_data(struct d3d8_resource *resource, const GUID *guid, - const void *data, DWORD data_size, DWORD flags) DECLSPEC_HIDDEN; + const void *data, DWORD data_size, DWORD flags); struct d3d8_volume { @@ -173,7 +173,7 @@ struct d3d8_volume }; void volume_init(struct d3d8_volume *volume, struct wined3d_texture *wined3d_texture, - unsigned int sub_resource_idx, const struct wined3d_parent_ops **parent_ops) DECLSPEC_HIDDEN; + unsigned int sub_resource_idx, const struct wined3d_parent_ops **parent_ops); struct d3d8_swapchain { @@ -186,7 +186,7 @@ struct d3d8_swapchain }; HRESULT d3d8_swapchain_create(struct d3d8_device *device, struct wined3d_swapchain_desc *desc, - unsigned int swap_interval, struct d3d8_swapchain **swapchain) DECLSPEC_HIDDEN; + unsigned int swap_interval, struct d3d8_swapchain **swapchain); struct d3d8_surface { @@ -202,13 +202,13 @@ struct d3d8_surface struct wined3d_swapchain *swapchain; }; -struct wined3d_rendertarget_view *d3d8_surface_acquire_rendertarget_view(struct d3d8_surface *surface) DECLSPEC_HIDDEN; +struct wined3d_rendertarget_view *d3d8_surface_acquire_rendertarget_view(struct d3d8_surface *surface); struct d3d8_surface *d3d8_surface_create(struct wined3d_texture *wined3d_texture, - unsigned int sub_resource_idx, IUnknown *container) DECLSPEC_HIDDEN; -struct d3d8_device *d3d8_surface_get_device(const struct d3d8_surface *surface) DECLSPEC_HIDDEN; + unsigned int sub_resource_idx, IUnknown *container); +struct d3d8_device *d3d8_surface_get_device(const struct d3d8_surface *surface); void d3d8_surface_release_rendertarget_view(struct d3d8_surface *surface, - struct wined3d_rendertarget_view *rtv) DECLSPEC_HIDDEN; -struct d3d8_surface *unsafe_impl_from_IDirect3DSurface8(IDirect3DSurface8 *iface) DECLSPEC_HIDDEN; + struct wined3d_rendertarget_view *rtv); +struct d3d8_surface *unsafe_impl_from_IDirect3DSurface8(IDirect3DSurface8 *iface); struct d3d8_vertexbuffer { @@ -222,8 +222,8 @@ struct d3d8_vertexbuffer }; HRESULT vertexbuffer_init(struct d3d8_vertexbuffer *buffer, struct d3d8_device *device, - UINT size, DWORD usage, DWORD fvf, D3DPOOL pool) DECLSPEC_HIDDEN; -struct d3d8_vertexbuffer *unsafe_impl_from_IDirect3DVertexBuffer8(IDirect3DVertexBuffer8 *iface) DECLSPEC_HIDDEN; + UINT size, DWORD usage, DWORD fvf, D3DPOOL pool); +struct d3d8_vertexbuffer *unsafe_impl_from_IDirect3DVertexBuffer8(IDirect3DVertexBuffer8 *iface); struct d3d8_indexbuffer { @@ -238,8 +238,8 @@ struct d3d8_indexbuffer }; HRESULT indexbuffer_init(struct d3d8_indexbuffer *buffer, struct d3d8_device *device, - UINT size, DWORD usage, D3DFORMAT format, D3DPOOL pool) DECLSPEC_HIDDEN; -struct d3d8_indexbuffer *unsafe_impl_from_IDirect3DIndexBuffer8(IDirect3DIndexBuffer8 *iface) DECLSPEC_HIDDEN; + UINT size, DWORD usage, D3DFORMAT format, D3DPOOL pool); +struct d3d8_indexbuffer *unsafe_impl_from_IDirect3DIndexBuffer8(IDirect3DIndexBuffer8 *iface); struct d3d8_texture { @@ -262,7 +262,7 @@ static inline struct wined3d_texture *d3d8_texture_get_draw_texture(struct d3d8_ return texture->draw_texture ? texture->draw_texture : texture->wined3d_texture; } -struct d3d8_texture *unsafe_impl_from_IDirect3DBaseTexture8(IDirect3DBaseTexture8 *iface) DECLSPEC_HIDDEN; +struct d3d8_texture *unsafe_impl_from_IDirect3DBaseTexture8(IDirect3DBaseTexture8 *iface); struct d3d8_vertex_declaration { @@ -273,11 +273,11 @@ struct d3d8_vertex_declaration DWORD shader_handle; }; -void d3d8_vertex_declaration_destroy(struct d3d8_vertex_declaration *declaration) DECLSPEC_HIDDEN; +void d3d8_vertex_declaration_destroy(struct d3d8_vertex_declaration *declaration); HRESULT d3d8_vertex_declaration_init(struct d3d8_vertex_declaration *declaration, - struct d3d8_device *device, const DWORD *elements, DWORD shader_handle) DECLSPEC_HIDDEN; + struct d3d8_device *device, const DWORD *elements, DWORD shader_handle); HRESULT d3d8_vertex_declaration_init_fvf(struct d3d8_vertex_declaration *declaration, - struct d3d8_device *device, DWORD fvf) DECLSPEC_HIDDEN; + struct d3d8_device *device, DWORD fvf); struct d3d8_vertex_shader { @@ -285,9 +285,9 @@ struct d3d8_vertex_shader struct wined3d_shader *wined3d_shader; }; -void d3d8_vertex_shader_destroy(struct d3d8_vertex_shader *shader) DECLSPEC_HIDDEN; +void d3d8_vertex_shader_destroy(struct d3d8_vertex_shader *shader); HRESULT d3d8_vertex_shader_init(struct d3d8_vertex_shader *shader, struct d3d8_device *device, - const DWORD *declaration, const DWORD *byte_code, DWORD shader_handle, DWORD usage) DECLSPEC_HIDDEN; + const DWORD *declaration, const DWORD *byte_code, DWORD shader_handle, DWORD usage); struct d3d8_pixel_shader { @@ -295,15 +295,15 @@ struct d3d8_pixel_shader struct wined3d_shader *wined3d_shader; }; -void d3d8_pixel_shader_destroy(struct d3d8_pixel_shader *shader) DECLSPEC_HIDDEN; +void d3d8_pixel_shader_destroy(struct d3d8_pixel_shader *shader); HRESULT d3d8_pixel_shader_init(struct d3d8_pixel_shader *shader, struct d3d8_device *device, - const DWORD *byte_code, DWORD shader_handle) DECLSPEC_HIDDEN; + const DWORD *byte_code, DWORD shader_handle); -D3DFORMAT d3dformat_from_wined3dformat(enum wined3d_format_id format) DECLSPEC_HIDDEN; -enum wined3d_format_id wined3dformat_from_d3dformat(D3DFORMAT format) DECLSPEC_HIDDEN; -unsigned int wined3dmapflags_from_d3dmapflags(unsigned int flags, unsigned int usage) DECLSPEC_HIDDEN; -void load_local_constants(const DWORD *d3d8_elements, struct wined3d_shader *wined3d_vertex_shader) DECLSPEC_HIDDEN; -size_t parse_token(const DWORD *pToken) DECLSPEC_HIDDEN; +D3DFORMAT d3dformat_from_wined3dformat(enum wined3d_format_id format); +enum wined3d_format_id wined3dformat_from_d3dformat(D3DFORMAT format); +unsigned int wined3dmapflags_from_d3dmapflags(unsigned int flags, unsigned int usage); +void load_local_constants(const DWORD *d3d8_elements, struct wined3d_shader *wined3d_vertex_shader); +size_t parse_token(const DWORD *pToken); static inline DWORD d3dusage_from_wined3dusage(unsigned int wined3d_usage, unsigned int bind_flags) {
1
0
0
0
Alistair Leslie-Hughes : d3dcompiler_43: Remove DECLSPEC_HIDDEN usage.
by Alexandre Julliard
11 Jul '23
11 Jul '23
Module: wine Branch: master Commit: 178507f2f99a048772865ce5c92917675a0546ff URL:
https://gitlab.winehq.org/wine/wine/-/commit/178507f2f99a048772865ce5c92917…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Mon Jul 10 19:13:23 2023 +1000 d3dcompiler_43: Remove DECLSPEC_HIDDEN usage. --- dlls/d3dcompiler_43/d3dcompiler_private.h | 74 +++++++++++++++---------------- dlls/d3dcompiler_43/utils.h | 2 +- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/dlls/d3dcompiler_43/d3dcompiler_private.h b/dlls/d3dcompiler_43/d3dcompiler_private.h index 12db34891e0..c1349fbfc4d 100644 --- a/dlls/d3dcompiler_43/d3dcompiler_private.h +++ b/dlls/d3dcompiler_43/d3dcompiler_private.h @@ -48,9 +48,9 @@ #define D3DERR_INVALIDCALL 0x8876086c /* TRACE helper functions */ -const char *debug_d3dcompiler_d3d_blob_part(D3D_BLOB_PART part) DECLSPEC_HIDDEN; -const char *debug_d3dcompiler_shader_variable_class(D3D_SHADER_VARIABLE_CLASS c) DECLSPEC_HIDDEN; -const char *debug_d3dcompiler_shader_variable_type(D3D_SHADER_VARIABLE_TYPE t) DECLSPEC_HIDDEN; +const char *debug_d3dcompiler_d3d_blob_part(D3D_BLOB_PART part); +const char *debug_d3dcompiler_shader_variable_class(D3D_SHADER_VARIABLE_CLASS c); +const char *debug_d3dcompiler_shader_variable_type(D3D_SHADER_VARIABLE_TYPE t); enum shader_type { @@ -221,14 +221,14 @@ struct asmparser_backend const struct src_regs *srcs, int expectednsrcs); }; -struct instruction *alloc_instr(unsigned int srcs) DECLSPEC_HIDDEN; -BOOL add_instruction(struct bwriter_shader *shader, struct instruction *instr) DECLSPEC_HIDDEN; -BOOL add_constF(struct bwriter_shader *shader, uint32_t reg, float x, float y, float z, float w) DECLSPEC_HIDDEN; -BOOL add_constI(struct bwriter_shader *shader, uint32_t reg, int x, int y, int z, int w) DECLSPEC_HIDDEN; -BOOL add_constB(struct bwriter_shader *shader, uint32_t reg, BOOL x) DECLSPEC_HIDDEN; +struct instruction *alloc_instr(unsigned int srcs); +BOOL add_instruction(struct bwriter_shader *shader, struct instruction *instr); +BOOL add_constF(struct bwriter_shader *shader, uint32_t reg, float x, float y, float z, float w); +BOOL add_constI(struct bwriter_shader *shader, uint32_t reg, int x, int y, int z, int w); +BOOL add_constB(struct bwriter_shader *shader, uint32_t reg, BOOL x); BOOL record_declaration(struct bwriter_shader *shader, uint32_t usage, uint32_t usage_idx, - uint32_t mod, BOOL output, uint32_t regnum, uint32_t writemask, BOOL builtin) DECLSPEC_HIDDEN; -BOOL record_sampler(struct bwriter_shader *shader, uint32_t samptype, uint32_t mod, uint32_t regnum) DECLSPEC_HIDDEN; + uint32_t mod, BOOL output, uint32_t regnum, uint32_t writemask, BOOL builtin); +BOOL record_sampler(struct bwriter_shader *shader, uint32_t samptype, uint32_t mod, uint32_t regnum); #define MESSAGEBUFFER_INITIAL_SIZE 256 @@ -260,23 +260,23 @@ struct asm_parser unsigned int line_no; }; -extern struct asm_parser asm_ctx DECLSPEC_HIDDEN; +extern struct asm_parser asm_ctx; -void create_vs10_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_vs11_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_vs20_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_vs2x_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_vs30_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_ps10_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_ps11_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_ps12_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_ps13_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_ps14_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_ps20_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_ps2x_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; -void create_ps30_parser(struct asm_parser *ret) DECLSPEC_HIDDEN; +void create_vs10_parser(struct asm_parser *ret); +void create_vs11_parser(struct asm_parser *ret); +void create_vs20_parser(struct asm_parser *ret); +void create_vs2x_parser(struct asm_parser *ret); +void create_vs30_parser(struct asm_parser *ret); +void create_ps10_parser(struct asm_parser *ret); +void create_ps11_parser(struct asm_parser *ret); +void create_ps12_parser(struct asm_parser *ret); +void create_ps13_parser(struct asm_parser *ret); +void create_ps14_parser(struct asm_parser *ret); +void create_ps20_parser(struct asm_parser *ret); +void create_ps2x_parser(struct asm_parser *ret); +void create_ps30_parser(struct asm_parser *ret); -struct bwriter_shader *parse_asm_shader(char **messages) DECLSPEC_HIDDEN; +struct bwriter_shader *parse_asm_shader(char **messages); #ifdef __GNUC__ #define PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args))) @@ -284,8 +284,8 @@ struct bwriter_shader *parse_asm_shader(char **messages) DECLSPEC_HIDDEN; #define PRINTF_ATTR(fmt,args) #endif -void compilation_message(struct compilation_messages *msg, const char *fmt, va_list args) DECLSPEC_HIDDEN; -void WINAPIV asmparser_message(struct asm_parser *ctx, const char *fmt, ...) PRINTF_ATTR(2,3) DECLSPEC_HIDDEN; +void compilation_message(struct compilation_messages *msg, const char *fmt, va_list args); +void WINAPIV asmparser_message(struct asm_parser *ctx, const char *fmt, ...) PRINTF_ATTR(2,3); static inline void set_parse_status(enum parse_status *current, enum parse_status update) { if (update == PARSE_ERR) @@ -295,13 +295,13 @@ static inline void set_parse_status(enum parse_status *current, enum parse_statu } /* Debug utility routines */ -const char *debug_print_srcmod(uint32_t mod) DECLSPEC_HIDDEN; -const char *debug_print_dstmod(uint32_t mod) DECLSPEC_HIDDEN; -const char *debug_print_shift(uint32_t shift) DECLSPEC_HIDDEN; -const char *debug_print_dstreg(const struct shader_reg *reg) DECLSPEC_HIDDEN; -const char *debug_print_srcreg(const struct shader_reg *reg) DECLSPEC_HIDDEN; -const char *debug_print_comp(uint32_t comp) DECLSPEC_HIDDEN; -const char *debug_print_opcode(uint32_t opcode) DECLSPEC_HIDDEN; +const char *debug_print_srcmod(uint32_t mod); +const char *debug_print_dstmod(uint32_t mod); +const char *debug_print_shift(uint32_t shift); +const char *debug_print_dstreg(const struct shader_reg *reg); +const char *debug_print_srcreg(const struct shader_reg *reg); +const char *debug_print_comp(uint32_t comp); +const char *debug_print_opcode(uint32_t opcode); /* Used to signal an incorrect swizzle/writemask */ #define SWIZZLE_ERR ~0U @@ -530,9 +530,9 @@ enum bwriterdeclusage #define T2_REG 4 #define T3_REG 5 -struct bwriter_shader *SlAssembleShader(const char *text, char **messages) DECLSPEC_HIDDEN; -HRESULT shader_write_bytecode(const struct bwriter_shader *shader, uint32_t **result, uint32_t *size) DECLSPEC_HIDDEN; -void SlDeleteShader(struct bwriter_shader *shader) DECLSPEC_HIDDEN; +struct bwriter_shader *SlAssembleShader(const char *text, char **messages); +HRESULT shader_write_bytecode(const struct bwriter_shader *shader, uint32_t **result, uint32_t *size); +void SlDeleteShader(struct bwriter_shader *shader); #define DXBC_HEADER_SIZE (8 * sizeof(uint32_t)) diff --git a/dlls/d3dcompiler_43/utils.h b/dlls/d3dcompiler_43/utils.h index 5259c057f6e..f587778d13e 100644 --- a/dlls/d3dcompiler_43/utils.h +++ b/dlls/d3dcompiler_43/utils.h @@ -30,6 +30,6 @@ static inline uint32_t read_u32(const char **ptr) return r; } -void skip_u32_unknown(const char **ptr, unsigned int count) DECLSPEC_HIDDEN; +void skip_u32_unknown(const char **ptr, unsigned int count); #endif /* __WINE_UTILS_H */
1
0
0
0
Alistair Leslie-Hughes : d3d10: Remove DECLSPEC_HIDDEN usage.
by Alexandre Julliard
11 Jul '23
11 Jul '23
Module: wine Branch: master Commit: 0a2fca61ff2b25899dc119da043a2e2801bd493c URL:
https://gitlab.winehq.org/wine/wine/-/commit/0a2fca61ff2b25899dc119da043a2e…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Mon Jul 10 19:13:23 2023 +1000 d3d10: Remove DECLSPEC_HIDDEN usage. --- dlls/d3d10/d3d10_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d10/d3d10_private.h b/dlls/d3d10/d3d10_private.h index facd51ede6c..c174792e14b 100644 --- a/dlls/d3d10/d3d10_private.h +++ b/dlls/d3d10/d3d10_private.h @@ -309,7 +309,7 @@ struct d3d10_effect struct d3d10_effect_technique *techniques; }; -HRESULT d3d10_effect_parse(struct d3d10_effect *effect, const void *data, SIZE_T data_size) DECLSPEC_HIDDEN; +HRESULT d3d10_effect_parse(struct d3d10_effect *effect, const void *data, SIZE_T data_size); /* D3D10Core */ HRESULT WINAPI D3D10CoreCreateDevice(IDXGIFactory *factory, IDXGIAdapter *adapter,
1
0
0
0
Alistair Leslie-Hughes : windowscodecs: Remove DECLSPEC_HIDDEN usage.
by Alexandre Julliard
11 Jul '23
11 Jul '23
Module: wine Branch: master Commit: 982d528793ab61766478e1e0a1bc183c9535fb73 URL:
https://gitlab.winehq.org/wine/wine/-/commit/982d528793ab61766478e1e0a1bc18…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Tue Jul 11 18:34:31 2023 +1000 windowscodecs: Remove DECLSPEC_HIDDEN usage. --- dlls/windowscodecs/bitmap.c | 6 +- dlls/windowscodecs/main.c | 2 +- dlls/windowscodecs/regsvr.c | 4 +- dlls/windowscodecs/ungif.h | 6 +- dlls/windowscodecs/wincodecs_private.h | 112 ++++++++++++++++----------------- 5 files changed, 65 insertions(+), 65 deletions(-)
1
0
0
0
Alistair Leslie-Hughes : windowscodecs: Remove misleading comment.
by Alexandre Julliard
11 Jul '23
11 Jul '23
Module: wine Branch: master Commit: 806330d157f4bf52c9acf53c70a1c4d5b50a76e6 URL:
https://gitlab.winehq.org/wine/wine/-/commit/806330d157f4bf52c9acf53c70a1c4…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Tue Jul 11 18:34:31 2023 +1000 windowscodecs: Remove misleading comment. The libraries used are now staticly linked from the libs directory. --- dlls/windowscodecs/wincodecs_private.h | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/windowscodecs/wincodecs_private.h b/dlls/windowscodecs/wincodecs_private.h index 6a5c4604cf5..b4bb79a55ea 100644 --- a/dlls/windowscodecs/wincodecs_private.h +++ b/dlls/windowscodecs/wincodecs_private.h @@ -239,7 +239,6 @@ extern HMODULE windowscodecs_module; HRESULT read_png_chunk(IStream *stream, BYTE *type, BYTE **data, ULONG *data_size); -/* unixlib iface */ struct decoder_funcs; struct decoder_info
1
0
0
0
David Kahurani : gdiplus: Dump both variable address and internal values for matrices.
by Alexandre Julliard
11 Jul '23
11 Jul '23
Module: wine Branch: master Commit: 6c1319e7ad17766637cf0e6cfad3a298e9c8ac8c URL:
https://gitlab.winehq.org/wine/wine/-/commit/6c1319e7ad17766637cf0e6cfad3a2…
Author: David Kahurani <k.kahurani(a)gmail.com> Date: Tue Jul 11 15:31:39 2023 +0300 gdiplus: Dump both variable address and internal values for matrices. Dumping variable address by itself is barely useful. Signed-off-by: David Kahurani <k.kahurani(a)gmail.com> --- dlls/gdiplus/brush.c | 18 +++++++++--------- dlls/gdiplus/gdiplus.c | 7 +++++++ dlls/gdiplus/gdiplus_private.h | 2 ++ dlls/gdiplus/graphics.c | 14 +++++--------- dlls/gdiplus/graphicspath.c | 10 +++++----- dlls/gdiplus/matrix.c | 32 ++++++++++++++++---------------- dlls/gdiplus/pen.c | 6 +++--- dlls/gdiplus/region.c | 4 ++-- 8 files changed, 49 insertions(+), 44 deletions(-)
1
0
0
0
Billy Laws : wineboot: Always attempt setup for all machine types.
by Alexandre Julliard
11 Jul '23
11 Jul '23
Module: wine Branch: master Commit: b233cfb33eab1895b6dfdb4fffb5c44fa36e05d2 URL:
https://gitlab.winehq.org/wine/wine/-/commit/b233cfb33eab1895b6dfdb4fffb5c4…
Author: Billy Laws <blaws05(a)gmail.com> Date: Mon Jul 3 17:36:35 2023 +0100 wineboot: Always attempt setup for all machine types. Without this, wineboot would bail out on ARM64 in the case where x86_64 WOW is not available but i386 is. Leaving an incomplete prefix without any clear error. --- programs/wineboot/wineboot.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c index c05ce580298..76d9812a4bf 100644 --- a/programs/wineboot/wineboot.c +++ b/programs/wineboot/wineboot.c @@ -1498,20 +1498,23 @@ static void update_wineprefix( BOOL force ) HWND hwnd = show_wait_window(); for (;;) { - MSG msg; - DWORD res = MsgWaitForMultipleObjects( 1, &process, FALSE, INFINITE, QS_ALLINPUT ); - if (res == WAIT_OBJECT_0) + if (process) { + MSG msg; + DWORD res = MsgWaitForMultipleObjects( 1, &process, FALSE, INFINITE, QS_ALLINPUT ); + if (res != WAIT_OBJECT_0) + { + while (PeekMessageW( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessageW( &msg ); + continue; + } CloseHandle( process ); - if (!machines[count]) break; - if (HIWORD(machines[count]) & 4 /* native machine */) - process = start_rundll32( inf_path, L"DefaultInstall", IMAGE_FILE_MACHINE_TARGET_HOST ); - else - process = start_rundll32( inf_path, L"Wow64Install", LOWORD(machines[count]) ); - count++; - if (!process) break; } - else while (PeekMessageW( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessageW( &msg ); + if (!machines[count]) break; + if (HIWORD(machines[count]) & 4 /* native machine */) + process = start_rundll32( inf_path, L"DefaultInstall", IMAGE_FILE_MACHINE_TARGET_HOST ); + else + process = start_rundll32( inf_path, L"Wow64Install", LOWORD(machines[count]) ); + count++; } DestroyWindow( hwnd ); }
1
0
0
0
Paul Gofman : kernelbase: Add stub for QueryIoRingCapabilities().
by Alexandre Julliard
11 Jul '23
11 Jul '23
Module: wine Branch: master Commit: 4021dde40d6ac7fa80074039906b54ebdd509550 URL:
https://gitlab.winehq.org/wine/wine/-/commit/4021dde40d6ac7fa80074039906b54…
Author: Paul Gofman <pgofman(a)codeweavers.com> Date: Mon Jul 10 14:20:40 2023 -0600 kernelbase: Add stub for QueryIoRingCapabilities(). --- dlls/kernelbase/file.c | 12 +++++++++ dlls/kernelbase/kernelbase.spec | 1 + dlls/kernelbase/tests/Makefile.in | 1 + dlls/kernelbase/tests/file.c | 57 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 71 insertions(+) diff --git a/dlls/kernelbase/file.c b/dlls/kernelbase/file.c index 7c2e132bdcb..29d005e0e28 100644 --- a/dlls/kernelbase/file.c +++ b/dlls/kernelbase/file.c @@ -36,6 +36,7 @@ #include "shlwapi.h" #include "ddk/ntddk.h" #include "ddk/ntddser.h" +#include "ioringapi.h" #include "kernelbase.h" #include "wine/exception.h" @@ -4483,3 +4484,14 @@ BOOL WINAPI DECLSPEC_HOTPATCH WaitCommEvent( HANDLE handle, DWORD *events, OVERL return DeviceIoControl( handle, IOCTL_SERIAL_WAIT_ON_MASK, NULL, 0, events, sizeof(*events), NULL, overlapped ); } + + +/*********************************************************************** + * QueryIoRingCapabilities (kernelbase.@) + */ +HRESULT WINAPI QueryIoRingCapabilities(IORING_CAPABILITIES *caps) +{ + FIXME( "caps %p stub.\n", caps ); + + return E_NOTIMPL; +} diff --git a/dlls/kernelbase/kernelbase.spec b/dlls/kernelbase/kernelbase.spec index 17ae37e824c..46492a59d92 100644 --- a/dlls/kernelbase/kernelbase.spec +++ b/dlls/kernelbase/kernelbase.spec @@ -1232,6 +1232,7 @@ @ stdcall QueryDosDeviceW(wstr ptr long) @ stdcall QueryFullProcessImageNameA(ptr long ptr ptr) @ stdcall QueryFullProcessImageNameW(ptr long ptr ptr) +@ stdcall QueryIoRingCapabilities(ptr) # @ stub QueryIdleProcessorCycleTime # @ stub QueryIdleProcessorCycleTimeEx @ stdcall QueryInterruptTime(ptr) diff --git a/dlls/kernelbase/tests/Makefile.in b/dlls/kernelbase/tests/Makefile.in index 675054c753d..b51eaefcd13 100644 --- a/dlls/kernelbase/tests/Makefile.in +++ b/dlls/kernelbase/tests/Makefile.in @@ -1,6 +1,7 @@ TESTDLL = kernelbase.dll C_SRCS = \ + file.c \ path.c \ process.c \ sync.c diff --git a/dlls/kernelbase/tests/file.c b/dlls/kernelbase/tests/file.c new file mode 100644 index 00000000000..18dff0a32ab --- /dev/null +++ b/dlls/kernelbase/tests/file.c @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2023 Paul Gofman for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include <stdarg.h> +#include <stdlib.h> + +#include <ntstatus.h> +#define WIN32_NO_STATUS +#include <windef.h> +#include <winbase.h> +#include <winerror.h> +#include <ioringapi.h> + +#include "wine/test.h" + +static HRESULT (WINAPI *pQueryIoRingCapabilities)(IORING_CAPABILITIES *); + +static void test_ioring_caps(void) +{ + IORING_CAPABILITIES caps; + HRESULT hr; + + if (!pQueryIoRingCapabilities) + { + win_skip("QueryIoRingCapabilities is not available, skipping tests.\n"); + return; + } + + memset(&caps, 0xcc, sizeof(caps)); + hr = pQueryIoRingCapabilities(&caps); + todo_wine ok(hr == S_OK, "got %#lx.\n", hr); +} + +START_TEST(file) +{ + HMODULE hmod; + + hmod = LoadLibraryA("kernelbase.dll"); + pQueryIoRingCapabilities = (void *)GetProcAddress(hmod, "QueryIoRingCapabilities"); + + test_ioring_caps(); +}
1
0
0
0
← Newer
1
...
51
52
53
54
55
56
57
...
87
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
Results per page:
10
25
50
100
200