home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / ADSDK.ZIP / Samples / General / ADQI / ADQI.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-08  |  1.6 KB  |  59 lines

  1. // ADQI.h : main header file for the ADQI application
  2. //
  3.  
  4. #if !defined(AFX_ADQI_H__8170976F_0672_11D2_B218_0000F87A6B50__INCLUDED_)
  5. #define AFX_ADQI_H__8170976F_0672_11D2_B218_0000F87A6B50__INCLUDED_
  6.  
  7. #if _MSC_VER >= 1000
  8. #pragma once
  9. #endif // _MSC_VER >= 1000
  10.  
  11. #ifndef __AFXWIN_H__
  12.     #error include 'stdafx.h' before including this file for PCH
  13. #endif
  14.  
  15. #include "resource.h"        // main symbols
  16.  
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CADQIApp:
  19. // See ADQI.cpp for the implementation of this class
  20. //
  21.  
  22. #define App ((CADQIApp*)AfxGetApp())
  23. class CADQIApp : public CWinApp
  24. {
  25. public:
  26.     CADQIApp(); 
  27.     HRESULT ADsOpenObject( LPWSTR pszPath, REFIID riid, void**pUnk );                                                     
  28.     void SetCredentials( LPCTSTR pszUserName, DWORD dwFlag );
  29.     
  30.  
  31. // Overrides
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CADQIApp)
  34.     public:
  35.     virtual BOOL InitInstance();
  36.     //}}AFX_VIRTUAL
  37.  
  38.     protected:
  39.         CComBSTR m_sUserName;
  40.         DWORD    m_dwFlag;
  41.  
  42.     
  43. // Implementation
  44.  
  45.     //{{AFX_MSG(CADQIApp)
  46.         // NOTE - the ClassWizard will add and remove member functions here.
  47.         //    DO NOT EDIT what you see in these blocks of generated code !
  48.     //}}AFX_MSG
  49.     DECLARE_MESSAGE_MAP()
  50. };
  51.  
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54.  
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  57.  
  58. #endif // !defined(AFX_ADQI_H__8170976F_0672_11D2_B218_0000F87A6B50__INCLUDED_)
  59.