Release 1.3.26.
[wine/gsoc-2012-control.git] / include / ntdsapi.h
blob9fecdab57b4ae22bca55cc0ba7df905e0d0ddd88
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 #ifndef __WINE_NTDSAPI_H
20 #define __WINE_NTDSAPI_H
22 /* FIXME: #include <schedule.h> */
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
28 DWORD WINAPI DsMakeSpnA(LPCSTR, LPCSTR, LPCSTR, USHORT, LPCSTR, DWORD*, LPSTR);
29 DWORD WINAPI DsMakeSpnW(LPCWSTR, LPCWSTR, LPCWSTR, USHORT, LPCWSTR, DWORD*, LPWSTR);
30 #define DsMakeSpn WINELIB_NAME_AW(DsMakeSpn)
32 typedef enum
34 DS_SPN_DNS_HOST = 0,
35 DS_SPN_DN_HOST = 1,
36 DS_SPN_NB_HOST = 2,
37 DS_SPN_DOMAIN = 3,
38 DS_SPN_NB_DOMAIN = 4,
39 DS_SPN_SERVICE = 5
40 } DS_SPN_NAME_TYPE;
42 #ifdef __cplusplus
44 #endif
46 #endif /* __WINE_NTDSAPI_H */