Add new dll - sxs.dll

Michael Stefaniuc mstefani at redhat.com
Thu Apr 19 14:42:18 CDT 2007


EA Durbin wrote:
> 
> 
> _________________________________________________________________
> Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings 
> https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117 
> 
> 
> 
> ------------------------------------------------------------------------
> 
>>From 8df8958bb809e856de99bdbbdfbba828b0a16359 Mon Sep 17 00:00:00 2001
> From: EA Durbin <ead1234 at hotmail.com>
> Date: Thu, 19 Apr 2007 01:03:55 -0500
> Subject: Add new dll sxs.dll
> 
> ---
>  dlls/sxs/Makefile.in |   14 ++++++++++++++
>  dlls/sxs/sxs.c       |   46 ++++++++++++++++++++++++++++++++++++++++++++++
>  dlls/sxs/sxs.spec    |    2 ++
>  3 files changed, 62 insertions(+), 0 deletions(-)
>  create mode 100644 dlls/sxs/Makefile.in
>  create mode 100644 dlls/sxs/sxs.c
>  create mode 100644 dlls/sxs/sxs.spec
> 
> diff --git a/dlls/sxs/Makefile.in b/dlls/sxs/Makefile.in
> new file mode 100644
> index 0000000..507442a
> --- /dev/null
> +++ b/dlls/sxs/Makefile.in
> @@ -0,0 +1,14 @@
> +TOPSRCDIR = @top_srcdir@
> +TOPOBJDIR = ../..
> +SRCDIR    = @srcdir@
> +VPATH     = @srcdir@
> +MODULE    = sxs.dll
> +IMPORTLIB = libsxs.$(IMPLIBEXT)
> +IMPORTS   = kernel32
> +
> +C_SRCS = \
> +	sxs.c
> +
> + at MAKE_DLL_RULES@
> +
> + at DEPENDENCIES@  # everything below this line is overwritten by make depend
> diff --git a/dlls/sxs/sxs.c b/dlls/sxs/sxs.c
> new file mode 100644
> index 0000000..3e033fe
> --- /dev/null
> +++ b/dlls/sxs/sxs.c
> @@ -0,0 +1,46 @@
> +/*
> + * sxs main
> + *
> + * Copyright 2007 EA Durbin
> + *
> + * 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 "windef.h"
> +#include "winbase.h"
> +#include "winsxs.h"
> +#include "wine/debug.h"
> +
> +WINE_DEFAULT_DEBUG_CHANNEL(sxs);
> +
> +
> +/***********************************************************************
> + *             DllMain   (SXS.@)
> + *
> + */
> +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
> +{
> +    switch(fdwReason)
> +    {
> +    case DLL_WINE_PREATTACH:
> +        return FALSE;  /* prefer native version */
> +    case DLL_PROCESS_ATTACH:
> +        DisableThreadLibraryCalls( hinstDLL );
> +        break;
> +    }
> +    return TRUE;
> +}
> diff --git a/dlls/sxs/sxs.spec b/dlls/sxs/sxs.spec
> new file mode 100644
> index 0000000..47056cd
> --- /dev/null
> +++ b/dlls/sxs/sxs.spec
> @@ -0,0 +1,2 @@
> +@ stub CreateAssemblyNameObject
> +@ stub CreateAsseblyCache
                   ^^^ Typo?

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart



More information about the wine-devel mailing list