[PSDK] Add missing BCRYPT_HASH_HANDLE.
[reactos.git] / reactos / include / psdk / ntdsapi.h
1 /*
2 * Copyright (C) 2006 Dmitry Timoshkov
3 *
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.
8 *
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.
13 *
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
17 */
18
19 #ifndef __WINE_NTDSAPI_H
20 #define __WINE_NTDSAPI_H
21
22 /* FIXME: #include <schedule.h> */
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
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)
31
32 typedef enum
33 {
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;
41
42 typedef enum
43 {
44 DS_SPN_ADD_SPN_OP = 0,
45 DS_SPN_REPLACE_SPN_OP = 1,
46 DS_SPN_DELETE_SPN_OP = 2
47 } DS_SPN_WRITE_OP;
48
49 DWORD WINAPI DsServerRegisterSpnA(DS_SPN_WRITE_OP operation, LPCSTR ServiceClass, LPCSTR UserObjectDN);
50 DWORD WINAPI DsServerRegisterSpnW(DS_SPN_WRITE_OP operation, LPCWSTR ServiceClass, LPCWSTR UserObjectDN);
51 #define DsServerRegisterSpn WINELIB_NAME_AW(DsServerRegisterSpn)
52
53 #ifdef __cplusplus
54 }
55 #endif
56
57 #endif /* __WINE_NTDSAPI_H */