Release 0.9.14.
[wine/multimedia.git] / dlls / ntdsapi / ntdsapi.c
blob0b16c2e1ed2284826e0a3fc2dc0b5bbc70db707d
1 /*
2 * Copyright (C) 2006 Dmitry Timoshkov
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include <stdarg.h>
21 #include "windef.h"
22 #include "winbase.h"
23 #include "winerror.h"
24 #include "ntdsapi.h"
25 #include "wine/debug.h"
27 WINE_DEFAULT_DEBUG_CHANNEL(ntdsapi);
29 /*****************************************************
30 * DllMain
32 BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
34 TRACE("(%p, %ld, %p)\n", hinst, reason, reserved);
36 switch(reason)
38 case DLL_WINE_PREATTACH:
39 return FALSE; /* prefer native version */
41 case DLL_PROCESS_ATTACH:
42 DisableThreadLibraryCalls( hinst );
43 break;
45 return TRUE;
48 DWORD WINAPI DsMakeSpnW(LPCWSTR svc_class, LPCWSTR svc_name,
49 LPCWSTR inst_name, USHORT inst_port,
50 LPCWSTR ref, DWORD *spn_length, LPWSTR spn)
52 FIXME("(%s,%s,%s,%d,%s,%p,%p): stub!\n", debugstr_w(svc_class),
53 debugstr_w(svc_name), debugstr_w(inst_name), inst_port,
54 debugstr_w(ref), spn_length, spn);
56 return ERROR_CALL_NOT_IMPLEMENTED;
59 DWORD WINAPI DsMakeSpnA(LPCSTR svc_class, LPCSTR svc_name,
60 LPCSTR inst_name, USHORT inst_port,
61 LPCSTR ref, DWORD *spn_length, LPSTR spn)
63 FIXME("(%s,%s,%s,%d,%s,%p,%p): stub!\n", debugstr_a(svc_class),
64 debugstr_a(svc_name), debugstr_a(inst_name), inst_port,
65 debugstr_a(ref), spn_length, spn);
67 return ERROR_CALL_NOT_IMPLEMENTED;