setupapi: Add a stub for SetupDiGetDeviceInstallParamsW.
[wine/multimedia.git] / include / ntdsapi.h
blob6d2902f3971829cda306ebb8ed595a24537cea1a
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 typedef enum
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;
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)
53 #ifdef __cplusplus
55 #endif
57 #endif /* __WINE_NTDSAPI_H */