Re: gdi32: Stub for GdiEntry13()

2009-06-02 Thread Nikolay Sivov

Vincent Povirk wrote:

I think you should add @ stdcall DdQueryDisplaySettingsUniqueness() line
to gdi32.spec file, otherwise you will get message like this:
err:module:find_forwarded_export function not found for forward
'gdi32.DdQueryDisplaySettingsUniqueness' used by L"C:\\windows\\system32
\\gdi32.dll". If you are using builtin L"gdi32.dll", try using the
native one instead.



I just checked the gdi32 on Windows XP. It has no export named
DdQueryDisplaySettingsUniqueness, only GdiEntry13.
  
Absolutely, DdQueryDisplaySettingsUniqueness only mentioned in PSDK and 
msdn articles.

I think this was not meant to be a forwarded export, just an export
with a different name. If so, the "gdi32." should be removed.
  

Yes, it's only about different naming. Will recent without module name.

Thanks.




Re: gdi32: Stub for GdiEntry13()

2009-06-01 Thread Vincent Povirk
> I think you should add @ stdcall DdQueryDisplaySettingsUniqueness() line
> to gdi32.spec file, otherwise you will get message like this:
> err:module:find_forwarded_export function not found for forward
> 'gdi32.DdQueryDisplaySettingsUniqueness' used by L"C:\\windows\\system32
> \\gdi32.dll". If you are using builtin L"gdi32.dll", try using the
> native one instead.

I just checked the gdi32 on Windows XP. It has no export named
DdQueryDisplaySettingsUniqueness, only GdiEntry13.

I think this was not meant to be a forwarded export, just an export
with a different name. If so, the "gdi32." should be removed.




Re: gdi32: Stub for GdiEntry13()

2009-06-01 Thread Kovács András
Hi,

I think you should add @ stdcall DdQueryDisplaySettingsUniqueness() line
to gdi32.spec file, otherwise you will get message like this:
err:module:find_forwarded_export function not found for forward
'gdi32.DdQueryDisplaySettingsUniqueness' used by L"C:\\windows\\system32
\\gdi32.dll". If you are using builtin L"gdi32.dll", try using the
native one instead.

Best regards, 
Andras

2009. 06. 2, kedd keltezéssel 01.37-kor Nikolay Sivov ezt írta:
> Requested in bug http://bugs.winehq.org/show_bug.cgi?id=18638
> 
> Changelog:
> - Stub for GdiEntry13()
> 
> >From 860bd34f2f0927c306a3f58825ffe46981b522bf Mon Sep 17 00:00:00 2001
> From: Nikolay Sivov 
> Date: Tue, 2 Jun 2009 01:27:30 +0400
> Subject: Stub for GdiEntry13
> 
> ---
>  dlls/gdi32/driver.c   |   11 +++
>  dlls/gdi32/gdi32.spec |1 +
>  2 files changed, 12 insertions(+), 0 deletions(-)
> 
> diff --git a/dlls/gdi32/driver.c b/dlls/gdi32/driver.c
> index 20d3f36..8a3c7ed 100644
> --- a/dlls/gdi32/driver.c
> +++ b/dlls/gdi32/driver.c
> @@ -741,3 +741,14 @@ INT WINAPI NamedEscape( HDC hdc, LPCWSTR pDriver, INT 
> nEscape, INT cbInput, LPCS
>lpszOutData);
>  return 0;
>  }
> +
> +/***
> + *  DdQueryDisplaySettingsUniqueness [gdi...@]
> + *  GdiEntry13   [gdi...@]
> + */
> +ULONG WINAPI DdQueryDisplaySettingsUniqueness(VOID)
> +{
> +FIXME("stub\n");
> +
> +return 0;
> +}
> diff --git a/dlls/gdi32/gdi32.spec b/dlls/gdi32/gdi32.spec
> index 36a8fb1..a50f763 100644
> --- a/dlls/gdi32/gdi32.spec
> +++ b/dlls/gdi32/gdi32.spec
> @@ -174,6 +174,7 @@
>  # @ stub GdiDrawStream
>  # @ stub GdiEndDocEMF
>  # @ stub GdiEndPageEMF
> +@ stdcall GdiEntry13() gdi32.DdQueryDisplaySettingsUniqueness
>  # @ stub GdiFixUpHandle
>  @ stdcall GdiFlush()
>  # @ stub GdiFullscreenControl