VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/ntdsapi.h@ 104831

最後變更 在這個檔案從104831是 53206,由 vboxsync 提交於 10 年 前

Devices/vmsvga: header fixes

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.2 KB
 
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/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __WINE_NTDSAPI_H
29#define __WINE_NTDSAPI_H
30
31/* FIXME: #include <schedule.h> */
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37DWORD WINAPI DsMakeSpnA(LPCSTR, LPCSTR, LPCSTR, USHORT, LPCSTR, DWORD*, LPSTR);
38DWORD WINAPI DsMakeSpnW(LPCWSTR, LPCWSTR, LPCWSTR, USHORT, LPCWSTR, DWORD*, LPWSTR);
39#define DsMakeSpn WINELIB_NAME_AW(DsMakeSpn)
40
41typedef enum
42{
43 DS_SPN_DNS_HOST = 0,
44 DS_SPN_DN_HOST = 1,
45 DS_SPN_NB_HOST = 2,
46 DS_SPN_DOMAIN = 3,
47 DS_SPN_NB_DOMAIN = 4,
48 DS_SPN_SERVICE = 5
49} DS_SPN_NAME_TYPE;
50
51typedef enum
52{
53 DS_SPN_ADD_SPN_OP = 0,
54 DS_SPN_REPLACE_SPN_OP = 1,
55 DS_SPN_DELETE_SPN_OP = 2
56} DS_SPN_WRITE_OP;
57
58DWORD WINAPI DsServerRegisterSpnA(DS_SPN_WRITE_OP operation, LPCSTR ServiceClass, LPCSTR UserObjectDN);
59DWORD WINAPI DsServerRegisterSpnW(DS_SPN_WRITE_OP operation, LPCWSTR ServiceClass, LPCWSTR UserObjectDN);
60#define DsServerRegisterSpn WINELIB_NAME_AW(DsServerRegisterSpn)
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif /* __WINE_NTDSAPI_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette