2 * cmnquery.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.
18 #pragma GCC system_header
25 /*--- Active Directory Reference - Active Directory Structures - Active Directory Display Structures */
26 #if (_WIN32_WINNT >= 0x0500)
34 #define CQFF_NOGLOBALPAGES 0x00000001
35 #define CQFF_ISOPTIONAL 0x00000002
39 LPCQPAGEPROC pPageProc
;
51 LPVOID pHandlerParameters;
52 CLSID clsidDefaultForm;
53 IPersistQuery* pPersistQuery;
55 void* pFormParameters;
56 IPropertyBag* ppbFormParameters;
58 } OPENQUERYWINDOW,*LPOPENQUERYWINDOW;
60 #define OQWF_OKCANCEL 0x00000001
61 #define OQWF_DEFAULTFORM 0x00000002
62 #define OQWF_SINGLESELECT 0x00000004
63 #define OQWF_LOADQUERY 0x00000008
64 #define OQWF_REMOVESCOPES 0x00000010
65 #define OQWF_REMOVEFORMS 0x00000020
66 #define OQWF_ISSUEONOPEN 0x00000040
67 #define OQWF_SHOWOPTIONAL 0x00000080
68 #define OQWF_SAVEQUERYONOK 0x00000200
69 #define OQWF_HIDEMENUS 0x00000400
70 #define OQWF_HIDESEARCHUI 0x00000800
71 #define OQWF_PARAMISPROPERTYBAG 0x80000000
72 /*--- Active Directory Reference - Active Directory Functions - Active Directory Display Functions */
73 typedef HRESULT (CALLBACK
* CQAddFormsProc
)(LPARAM
,LPCQFORM
);
74 typedef HRESULT (CALLBACK
* CQAddPagesProc
)(LPARAM
,REFCLSID
,LPCQPAGE
);
75 typedef HRESULT (CALLBACK
* CQPageProc
)(LPCQPAGE
,HWND
,UINT
,WPARAM
,LPARAM
);
76 #endif /* (_WIN32_WINNT >= 0x0500) */