source: Daodan/MinGW/include/adsprop.h@ 1111

Last change on this file since 1111 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 1.6 KB
Line 
1/*
2 * adsprop.h - Active Directory
3 *
4 * THIS SOFTWARE IS NOT COPYRIGHTED
5 *
6 * This source code is offered for use in the public domain. You may use,
7 * modify or distribute it freely.
8 *
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.
13 *
14 */
15#ifndef _ADSPROP_H
16#define _ADSPROP_H
17#if __GNUC__ >= 3
18#pragma GCC system_header
19#endif
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
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)
36typedef 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)
46typedef 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) */
55
56#ifdef __cplusplus
57}
58#endif
59#endif
Note: See TracBrowser for help on using the repository browser.