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.

26 lines
921 B

  1. #ifndef __ACCTREG_H
  2. #define __ACCTREG_H
  3. class CAcctReg :
  4. public IDispatch
  5. {
  6. public:
  7. // IUnknown
  8. virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject);
  9. virtual ULONG STDMETHODCALLTYPE AddRef(void);
  10. virtual ULONG STDMETHODCALLTYPE Release(void);
  11. // *** IDispatch ***
  12. virtual HRESULT STDMETHODCALLTYPE GetTypeInfoCount(UINT *pctinfo);
  13. virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(UINT itinfo, LCID lcid, ITypeInfo **pptinfo);
  14. virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames(REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgdispid);
  15. virtual HRESULT STDMETHODCALLTYPE Invoke(DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pdispparams, VARIANT *pvarResult, EXCEPINFO *pexcepinfo, UINT *puArgErr);
  16. CAcctReg();
  17. ~CAcctReg();
  18. private:
  19. ULONG m_cRef;
  20. };
  21. #endif //__ACCTREG_H