d3d9: Remove WINAPI on static functions where not needed.

Vitaliy Margolen wine-devel at kievinfo.com
Sun Nov 23 22:34:20 CST 2008


Francois Gouget wrote:
> ---
> 
> If you know other places where the functions touched by this patch 
> are used, please let me know. For more details, see:   
> 
>  /* This isn't in MSDN!
> -static HRESULT  WINAPI  IDirect3DDevice9Impl_GetFrontBuffer(LPDIRECT3DDEVICE9EX iface, IDirect3DSurface9* pDestSurface) {
> +static HRESULT IDirect3DDevice9Impl_GetFrontBuffer(LPDIRECT3DDEVICE9EX iface, IDirect3DSurface9* pDestSurface) {
>      IDirect3DDevice9Impl *This = (IDirect3DDevice9Impl *)iface;
>      FIXME("(%p) : stub\n", This);
>      return D3D_OK;

You can't do that. It's part of the v-table so it can be called by user
application.

Vitaliy



More information about the wine-devel mailing list