Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

65 lines
1.5 KiB

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1999 - 1999
//
// File: queryui.h
//
//--------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
// queryui.h
#ifndef _QUERYUI_H
#define _QUERYUI_H
#include "editor.h"
/////////////////////////////////////////////////////////////////////////////
// CADSIEditConnectPropertyPage
class CADSIEditQueryDialog : public CDialog
{
// Construction
public:
CADSIEditQueryDialog(CString& szServer,
CString& sName,
CString& sFilter,
CString& sPath,
CString& sConnectPath,
BOOL bOneLevel,
CCredentialObject* pCredObject);
CADSIEditQueryDialog(CString& szServer, CString& sConnectPath, CCredentialObject* pCredObject);
~CADSIEditQueryDialog();
void GetResults(CString& sName, CString& sFilter, CString& sPath, BOOL* pbOneLevel);
protected:
virtual BOOL OnInitDialog();
void OnEditQueryString();
void OnEditNameString();
void OnOneLevel();
void OnSubtree();
void OnBrowse();
void OnEditQuery();
void GetDisplayPath(CString& sDisplay);
DECLARE_MESSAGE_MAP()
private:
CString m_sName;
CString m_sFilter;
CString m_sRootPath;
CString m_sConnectPath;
CString m_szServer;
BOOL m_bOneLevel;
CCredentialObject* m_pCredObject;
};
#endif _QUERYUI_H