ntdll: Move the plaform-independent thread data to the GdiTebBatch TEB field.
[wine.git] / dlls / wimgapi / main.c
blob72437ee5b6c2d4d476d227b4c6a6fd181dd31224
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 "config.h"
24 #include <stdarg.h>
26 #include "windef.h"
27 #include "winbase.h"
28 #include "wine/debug.h"
29 #include "wimgapi.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(wimgapi);
33 BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
35 TRACE("(0x%p, %d, %p)\n", instance, reason, reserved);
37 switch (reason)
39 case DLL_WINE_PREATTACH:
40 return FALSE; /* prefer native version */
41 case DLL_PROCESS_ATTACH:
42 DisableThreadLibraryCalls(instance);
43 break;
46 return TRUE;
49 DWORD WINAPI WIMRegisterMessageCallback(HANDLE wim, FARPROC callback, PVOID data)
51 FIXME("(%p %p %p) stub\n", wim, callback, data);
52 return 0;
55 BOOL WINAPI WIMGetMountedImages(PWIM_MOUNT_LIST list, DWORD *length)
57 FIXME("(%p %p) stub\n", list, length);
58 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
59 return 0;
62 HANDLE WINAPI WIMCreateFile(WCHAR *path, DWORD access, DWORD creation, DWORD flags, DWORD compression, DWORD *result)
64 FIXME("(%s %d %d %d %d %p) stub\n", debugstr_w(path), access, creation, flags, compression, result);
65 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
66 return NULL;