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.

73 lines
2.5 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1999 **
  4. //*********************************************************************
  5. //
  6. // Directions.H - Header for the implementation of CDirections
  7. //
  8. // HISTORY:
  9. //
  10. // 1/27/99 a-jaswed Created.
  11. //
  12. #ifndef _DIRECTIONS_H_
  13. #define _DIRECTIONS_H_
  14. #include <windows.h>
  15. #include <assert.h>
  16. #include <oleauto.h>
  17. class CDirections : public IDispatch
  18. {
  19. private:
  20. ULONG m_cRef;
  21. HINSTANCE m_hInstance;
  22. DWORD m_dwAppMode;
  23. //GET functions
  24. HRESULT get_DoMouseTutorial(LPVARIANT pvResult);
  25. HRESULT get_DoOEMRegistration(LPVARIANT pvResult);
  26. HRESULT get_DoRegionalKeyboard(LPVARIANT pvResult);
  27. HRESULT get_DoOEMHardwareCheck(LPVARIANT pvResult);
  28. HRESULT get_DoBrowseNow(LPVARIANT pvResult);
  29. HRESULT get_Offline(LPVARIANT pvResult);
  30. HRESULT get_OEMOfferCode(LPVARIANT pvResult);
  31. HRESULT get_OEMCust(LPVARIANT pvResult);
  32. HRESULT get_TimeZoneValue(LPVARIANT pvResult);
  33. HRESULT get_DoTimeZone(LPVARIANT pvResult);
  34. HRESULT get_DoIMETutorial(LPVARIANT pvResult);
  35. HRESULT get_DoOEMAddRegistration(LPVARIANT pvResult);
  36. HRESULT get_DoSkipAnimation(LPVARIANT pvResult);
  37. HRESULT get_DoWelcomeFadeIn(LPVARIANT pvResult);
  38. HRESULT get_AgentDisabled(LPVARIANT pvResult);
  39. HRESULT get_ShowISPMigration(LPVARIANT pvResult);
  40. HRESULT get_DoJoinDomain(LPVARIANT pvResult);
  41. HRESULT get_DoAdminPassword(LPVARIANT pvResult);
  42. public:
  43. HRESULT get_ISPSignup(LPVARIANT pvResult);
  44. HRESULT get_RetailOOBE(LPVARIANT pvResult);
  45. HRESULT get_IntroOnly(LPVARIANT pvResult);
  46. CDirections (HINSTANCE hInstance, DWORD dwAppMode);
  47. ~CDirections ();
  48. // IUnknown Interfaces
  49. STDMETHODIMP QueryInterface (REFIID riid, LPVOID* ppvObj);
  50. STDMETHODIMP_(ULONG) AddRef ();
  51. STDMETHODIMP_(ULONG) Release ();
  52. //IDispatch Interfaces
  53. STDMETHOD (GetTypeInfoCount) (UINT* pcInfo);
  54. STDMETHOD (GetTypeInfo) (UINT, LCID, ITypeInfo** );
  55. STDMETHOD (GetIDsOfNames) (REFIID, OLECHAR**, UINT, LCID, DISPID* );
  56. STDMETHOD (Invoke) (DISPID dispidMember, REFIID riid, LCID lcid,
  57. WORD wFlags, DISPPARAMS* pdispparams,
  58. VARIANT* pvarResult, EXCEPINFO* pexcepinfo,
  59. UINT* puArgErr);
  60. };
  61. #endif