ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ntdsapi.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2006 Dmitry Timoshkov
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 #ifndef __WINE_NTDSAPI_H
00020 #define __WINE_NTDSAPI_H
00021 
00022 /* FIXME: #include <schedule.h> */
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00028 DWORD WINAPI DsMakeSpnA(LPCSTR, LPCSTR, LPCSTR, USHORT, LPCSTR, DWORD*, LPSTR);
00029 DWORD WINAPI DsMakeSpnW(LPCWSTR, LPCWSTR, LPCWSTR, USHORT, LPCWSTR, DWORD*, LPWSTR);
00030 #define DsMakeSpn WINELIB_NAME_AW(DsMakeSpn)
00031 
00032 typedef enum
00033 {
00034     DS_SPN_DNS_HOST    = 0,
00035     DS_SPN_DN_HOST     = 1,
00036     DS_SPN_NB_HOST     = 2,
00037     DS_SPN_DOMAIN      = 3,
00038     DS_SPN_NB_DOMAIN   = 4,
00039     DS_SPN_SERVICE     = 5
00040 } DS_SPN_NAME_TYPE;
00041 
00042 typedef enum
00043 {
00044     DS_SPN_ADD_SPN_OP     = 0,
00045     DS_SPN_REPLACE_SPN_OP = 1,
00046     DS_SPN_DELETE_SPN_OP  = 2
00047 } DS_SPN_WRITE_OP;
00048 
00049 DWORD WINAPI DsServerRegisterSpnA(DS_SPN_WRITE_OP operation, LPCSTR ServiceClass, LPCSTR UserObjectDN);
00050 DWORD WINAPI DsServerRegisterSpnW(DS_SPN_WRITE_OP operation, LPCWSTR ServiceClass, LPCWSTR UserObjectDN);
00051 #define DsServerRegisterSpn WINELIB_NAME_AW(DsServerRegisterSpn)
00052 
00053 #ifdef __cplusplus
00054 }
00055 #endif
00056 
00057 #endif /* __WINE_NTDSAPI_H */

Generated on Mon May 28 2012 04:31:53 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.