pidgen: Add PIDGenSimpA stub.
[wine.git] / include / ntdsapi.h
blob672ea635d23ddf03e6d8b342079dc2b11530f357
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 DsClientMakeSpnForTargetServerA(LPCSTR, LPCSTR, DWORD*, LPSTR);
29 DWORD WINAPI DsClientMakeSpnForTargetServerW(LPCWSTR, LPCWSTR, DWORD*, LPWSTR);
30 #define DsClientMakeSpnForTargetServer WINELIB_NAME_AW(DsClientMakeSpnForTargetServer)
32 DWORD WINAPI DsMakeSpnA(LPCSTR, LPCSTR, LPCSTR, USHORT, LPCSTR, DWORD*, LPSTR);
33 DWORD WINAPI DsMakeSpnW(LPCWSTR, LPCWSTR, LPCWSTR, USHORT, LPCWSTR, DWORD*, LPWSTR);
34 #define DsMakeSpn WINELIB_NAME_AW(DsMakeSpn)
36 typedef enum
38 DS_SPN_DNS_HOST = 0,
39 DS_SPN_DN_HOST = 1,
40 DS_SPN_NB_HOST = 2,
41 DS_SPN_DOMAIN = 3,
42 DS_SPN_NB_DOMAIN = 4,
43 DS_SPN_SERVICE = 5
44 } DS_SPN_NAME_TYPE;
46 typedef enum
48 DS_SPN_ADD_SPN_OP = 0,
49 DS_SPN_REPLACE_SPN_OP = 1,
50 DS_SPN_DELETE_SPN_OP = 2
51 } DS_SPN_WRITE_OP;
53 DWORD WINAPI DsServerRegisterSpnA(DS_SPN_WRITE_OP operation, LPCSTR ServiceClass, LPCSTR UserObjectDN);
54 DWORD WINAPI DsServerRegisterSpnW(DS_SPN_WRITE_OP operation, LPCWSTR ServiceClass, LPCWSTR UserObjectDN);
55 #define DsServerRegisterSpn WINELIB_NAME_AW(DsServerRegisterSpn)
57 #ifdef __cplusplus
59 #endif
61 #endif /* __WINE_NTDSAPI_H */