Git for Windows Git-1.6.5.1-preview20100112-with-cheetah
[msysgit.git] / mingw / include / adsprop.h
blob8036b768fe64e5491633cbbb733f887c4a20d8ea
1 /*
2 * adsprop.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 _ADSPROP_H
16 #define _ADSPROP_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 Messages */
26 #define WM_ADSPROP_NOTIFY_APPLY (WM_USER+1104)
27 #define WM_ADSPROP_NOTIFY_CHANGE (WM_USER+1103)
28 #define WM_ADSPROP_NOTIFY_ERROR (WM_USER+1110)
29 #define WM_ADSPROP_NOTIFY_EXIT (WM_USER+1107)
30 #define WM_ADSPROP_NOTIFY_FOREGROUND (WM_USER+1106)
31 #define WM_ADSPROP_NOTIFY_PAGEHWND (WM_USER+1102)
32 #define WM_ADSPROP_NOTIFY_PAGEINIT (WM_USER+1101)
33 #define WM_ADSPROP_NOTIFY_SETFOCUS (WM_USER+1105)
34 /*--- Active Directory Reference - Active Directory Structures - Active Directory MMC Property Page Structures */
35 #if (_WIN32_WINNT >= 0x0501)
36 typedef struct {
37 HWND hwndPage;
38 PWSTR pszPageTitle;
39 PWSTR pszObjPath;
40 PWSTR pszObjClass;
41 HRESULT hr;
42 PWSTR pszError;
43 } ADSPROPERROR,*PADSPROPERROR;
44 #endif /* (_WIN32_WINNT >= 0x0501) */
45 #if (_WIN32_WINNT >= 0x0500)
46 typedef struct {
47 DWORD dwSize;
48 DWORD dwFlags;
49 HRESULT hr;
50 IDirectoryObject *pDsObj;
51 LPWSTR pwzCN;
52 PADS_ATTR_INFO pWritableAttrs;
53 } ADSPROPINITPARAMS,*PADSPROPINITPARAMS;
54 #endif /* (_WIN32_WINNT >= 0x0500) */
56 #ifdef __cplusplus
58 #endif
59 #endif