Welcome to mirror list, hosted at ThFree Co, Russian Federation.

adsprop.h « include « w32api « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8036b768fe64e5491633cbbb733f887c4a20d8ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
 * adsprop.h - Active Directory
 *
 * THIS SOFTWARE IS NOT COPYRIGHTED
 *
 * This source code is offered for use in the public domain.  You may use,
 * modify or distribute it freely.
 *
 * This code is distributed in the hope that it will be useful but
 * WITHOUT ANY WARRANTY.  ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
 * DISCLAIMED.  This includes but is not limited to warranties of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 */
#ifndef _ADSPROP_H
#define _ADSPROP_H
#if __GNUC__ >= 3
#pragma GCC system_header
#endif

#ifdef __cplusplus
extern "C" {
#endif

/*--- Active Directory Reference - Active Directory Messages */
#define WM_ADSPROP_NOTIFY_APPLY (WM_USER+1104)
#define WM_ADSPROP_NOTIFY_CHANGE (WM_USER+1103)
#define WM_ADSPROP_NOTIFY_ERROR (WM_USER+1110)
#define WM_ADSPROP_NOTIFY_EXIT (WM_USER+1107)
#define WM_ADSPROP_NOTIFY_FOREGROUND (WM_USER+1106)
#define WM_ADSPROP_NOTIFY_PAGEHWND (WM_USER+1102)
#define WM_ADSPROP_NOTIFY_PAGEINIT (WM_USER+1101)
#define WM_ADSPROP_NOTIFY_SETFOCUS (WM_USER+1105)
/*--- Active Directory Reference - Active Directory Structures - Active Directory MMC Property Page Structures */
#if (_WIN32_WINNT >= 0x0501)
typedef struct {
	HWND hwndPage;
	PWSTR pszPageTitle;
	PWSTR pszObjPath;
	PWSTR pszObjClass;
	HRESULT hr;
	PWSTR pszError;
} ADSPROPERROR,*PADSPROPERROR;
#endif /* (_WIN32_WINNT >= 0x0501) */
#if (_WIN32_WINNT >= 0x0500)
typedef struct {
	DWORD dwSize;
	DWORD dwFlags;
	HRESULT hr;
	IDirectoryObject *pDsObj;
	LPWSTR pwzCN;
	PADS_ATTR_INFO pWritableAttrs;
} ADSPROPINITPARAMS,*PADSPROPINITPARAMS;
#endif /* (_WIN32_WINNT >= 0x0500) */

#ifdef __cplusplus
}
#endif
#endif