Source code of Windows XP (NT5)
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.

52 lines
1.5 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1999 **
  4. //*********************************************************************
  5. //
  6. // Signup.H - Header for the implementation of CSignup
  7. //
  8. // HISTORY:
  9. //
  10. // 1/27/99 a-jaswed Created.
  11. //
  12. #ifndef _Signup_H_
  13. #define _Signup_H_
  14. #include <windows.h>
  15. #include <assert.h>
  16. #include <oleauto.h>
  17. class CSignup : public IDispatch
  18. {
  19. private:
  20. ULONG m_cRef;
  21. HINSTANCE m_hInstance;
  22. //GET functions
  23. HRESULT get_Locale (LPVARIANT pvResult);
  24. HRESULT get_IDLocale (LPVARIANT pvResult);
  25. HRESULT get_Text1 (LPVARIANT pvResult);
  26. HRESULT get_Text2 (LPVARIANT pvResult);
  27. HRESULT get_OEMName (LPVARIANT pvResult);
  28. public:
  29. CSignup (HINSTANCE hInstance);
  30. ~CSignup ();
  31. // IUnknown Interfaces
  32. STDMETHODIMP QueryInterface (REFIID riid, LPVOID* ppvObj);
  33. STDMETHODIMP_(ULONG) AddRef ();
  34. STDMETHODIMP_(ULONG) Release ();
  35. //IDispatch Interfaces
  36. STDMETHOD (GetTypeInfoCount) (UINT* pcInfo);
  37. STDMETHOD (GetTypeInfo) (UINT, LCID, ITypeInfo** );
  38. STDMETHOD (GetIDsOfNames) (REFIID, OLECHAR**, UINT, LCID, DISPID* );
  39. STDMETHOD (Invoke) (DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pdispparams, VARIANT* pvarResult, EXCEPINFO* pexcepinfo, UINT* puArgErr);
  40. };
  41. #endif