ole32: Use a snapshot file when sharing storages for writing.
[wine/multimedia.git] / dlls / sfc / sfc_main.c
blobc715867883d3676314bdac4577e2c7095fb0620f
1 /*
2 * Implementation of the System File Checker (Windows File Protection)
4 * Copyright 2006 Detlef Riekenberg
6 * This file contains only stubs to get the localspl.dll up and running
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
24 * Moved to sfc_os.dll since XP
28 #include <stdarg.h>
30 #include "windef.h"
31 #include "winbase.h"
32 #include "winerror.h"
33 #include "wine/debug.h"
35 WINE_DEFAULT_DEBUG_CHANNEL(sfc);
37 /******************************************************************
38 * DllMain
40 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
42 TRACE("(%p, %d, %p)\n",hinstDLL, fdwReason, lpvReserved);
44 switch(fdwReason)
46 case DLL_WINE_PREATTACH:
47 return FALSE; /* prefer native version */
49 case DLL_PROCESS_ATTACH:
50 DisableThreadLibraryCalls( hinstDLL );
51 break;
53 return TRUE;
56 DWORD WINAPI SFC_3(DWORD unknown)
58 FIXME("%x\n", unknown);
59 return 0;