my first patch

Vijay Kiran Kamuju infyquest at gmail.com
Fri Oct 26 09:04:18 CDT 2007


This looks good, I am not an expert in that area.
Send this patch to wine-patches at winehq.org

Cheers,
VJ

On 10/26/07, viny <vincent.hardy.be at gmail.com> wrote:
> Can someone tell me if this patch is correct for submitting to wine-patches.
> I have generated this patch with "git format-patch -o out origin"
>
> (related bug : http://bugs.winehq.org/show_bug.cgi?id=9805)
>
> From c5eab13b67e6f24b3518dd77840f260dc101520e Mon Sep 17 00:00:00 2001
> From: Vincent Hardy <vincent.hardy.be at gmail.com>
> Date: Fri, 26 Oct 2007 13:37:39 +0200
> Subject: [PATCH] Add TypeLib version for W2K, WXP, and Vista
>
> ---
>  dlls/oleaut32/typelib16.c |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/dlls/oleaut32/typelib16.c b/dlls/oleaut32/typelib16.c
> index a010f7d..31bbf93 100644
> --- a/dlls/oleaut32/typelib16.c
> +++ b/dlls/oleaut32/typelib16.c
> @@ -153,6 +153,9 @@ HRESULT WINAPI LoadTypeLib16(
>   *| OLE 2.1   NT                         1993-95  ?? ???
>   *| OLE 2.3.1 W95                                 23 700
>   *| OLE2 4.0  NT4SP6                     1993-98  40 4277
> + *| OLE 2.1   W2K                        2000     10 3029
> + *| OLE 2.1   WXP                        2002     10 3029
> + *| OLE 2.1   Vista                      2007     10 3029
>   */
>  DWORD WINAPI OaBuildVersion16(void)
>  {
> @@ -171,6 +174,12 @@ DWORD WINAPI OaBuildVersion16(void)
>                 return MAKELONG(3024, 10); /* W98 SE */
>      case 0x00000004:  /* NT4 */
>                 return MAKELONG(4277, 40); /* NT4 SP6 */
> +    case 0x00000005:  /* W2K */
> +               return MAKELONG(3029, 10); /* W2K SP4 */
> +    case 0x00000105:  /* WXP */
> +               return MAKELONG(3029, 10); /* WXP SP2 */
> +    case 0x00000006:  /* Vista */
> +               return MAKELONG(3029, 10); /* Vista */
>      default:
>         FIXME("Version value not known yet. Please investigate it!\n");
>                 return 0;
> --
> 1.5.2.5
>
>
>
>
>



More information about the wine-devel mailing list