msvcrt: Remove non-needed function declarations from msvcrt.h.
[wine.git] / dlls / wimgapi / main.c
blobe092fdeaaf1f9dbcd41c951545b25ce66c878414
1 /*
3 * wimgapi implementation
5 * Copyright 2015 Stefan Leichter
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "wine/debug.h"
27 #include "wimgapi.h"
29 WINE_DEFAULT_DEBUG_CHANNEL(wimgapi);
31 BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
33 TRACE("(0x%p, %d, %p)\n", instance, reason, reserved);
35 switch (reason)
37 case DLL_WINE_PREATTACH:
38 return FALSE; /* prefer native version */
39 case DLL_PROCESS_ATTACH:
40 DisableThreadLibraryCalls(instance);
41 break;
44 return TRUE;
47 DWORD WINAPI WIMRegisterMessageCallback(HANDLE wim, FARPROC callback, PVOID data)
49 FIXME("(%p %p %p) stub\n", wim, callback, data);
50 return 0;
53 BOOL WINAPI WIMGetMountedImages(PWIM_MOUNT_LIST list, DWORD *length)
55 FIXME("(%p %p) stub\n", list, length);
56 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
57 return 0;
60 HANDLE WINAPI WIMCreateFile(WCHAR *path, DWORD access, DWORD creation, DWORD flags, DWORD compression, DWORD *result)
62 FIXME("(%s %d %d %d %d %p) stub\n", debugstr_w(path), access, creation, flags, compression, result);
63 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
64 return NULL;