MinGWify 'depends'
[msysgit.git] / mingw / include / ntdsbcli.h
blob3508fef5b253af75d7f8983f6f56a096fb33eaf0
1 /*
2 * ntdsbcli.h - Active Directory
4 * THIS SOFTWARE IS NOT COPYRIGHTED
6 * This source code is offered for use in the public domain. You may use,
7 * modify or distribute it freely.
9 * This code is distributed in the hope that it will be useful but
10 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
11 * DISCLAIMED. This includes but is not limited to warranties of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 #ifndef _NTDSBCLI_H
16 #define _NTDSBCLI_H
17 #if __GNUC__ >= 3
18 #pragma GCC system_header
19 #endif
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 /*--- Active Directory Reference - Active Directory Structures - Directory Backup Structures */
26 #if (_WIN32_WINNT >= 0x0500)
27 typedef struct {
28 LPSTR szDatabaseName;
29 LPSTR szNewDatabaseName;
30 } EDB_RSTMAPA,*PEDB_RSTMAPA;
31 typedef struct {
32 LPWSTR szDatabaseName;
33 LPWSTR szNewDatabaseName;
34 } EDB_RSTMAPW,*PEDB_RSTMAPW;
35 #ifdef UNICODE
36 typedef EDB_RSTMAPW EDB_RSTMAP,*PEDB_RSTMAP;
37 #else
38 typedef EDB_RSTMAPA EDB_RSTMAP,*PEDB_RSTMAP;
39 #endif
40 #endif /* (_WIN32_WINNT >= 0x0500) */
42 #ifdef __cplusplus
44 #endif
45 #endif