makefiles: Don't use standard libs for programs that specify -nodefaultlibs.
[wine/zf.git] / dlls / prntvpt / main.c
blobec7cf7c3e2ed747f76544521a8fe3d778f9d5d77
1 /*
2 * Print Ticket Services Module
4 * Copyright 2014 Jactry Zeng for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "prntvpt.h"
26 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(prntvpt);
30 BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
32 TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
34 switch(reason)
36 case DLL_WINE_PREATTACH:
37 return FALSE; /* prefer native version */
38 case DLL_PROCESS_ATTACH:
39 DisableThreadLibraryCalls(hinst);
40 break;
42 return TRUE;
46 HRESULT WINAPI PTQuerySchemaVersionSupport(PCWSTR printer, DWORD *version)
48 FIXME("stub:%s %p\n", debugstr_w(printer), version);
49 return E_NOTIMPL;
52 HRESULT WINAPI PTOpenProvider(PCWSTR printer, DWORD version, HPTPROVIDER *provider)
54 FIXME("%s, %d, %p: stub\n", debugstr_w(printer), version, provider);
55 return E_NOTIMPL;
58 HRESULT WINAPI PTOpenProviderEx(const WCHAR *printer, DWORD max_version, DWORD pref_version, HPTPROVIDER *provider, DWORD *used_version)
60 FIXME("%s, %d, %d, %p, %p: stub\n", debugstr_w(printer), max_version, pref_version, provider, used_version);
61 return E_NOTIMPL;