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.

38 lines
1.2 KiB

  1. //
  2. // virtual.h
  3. //
  4. // Contains references to pure virtual functions which must defined via
  5. // the IDispatch. This header is used in CTBGlobal.h and CTBShell.h
  6. //
  7. // WHY did I do it this way instead of object inheritance? See the
  8. // header comment in virtualdefs.h.
  9. //
  10. // Copyright (C) 2001 Microsoft Corporation
  11. //
  12. // Author: a-devjen (Devin Jenson)
  13. //
  14. public:
  15. void Init(REFIID RefIID);
  16. void UnInit(void);
  17. virtual STDMETHODIMP QueryInterface(REFIID RefIID, void **vObject);
  18. virtual STDMETHODIMP_(ULONG) AddRef(void);
  19. virtual STDMETHODIMP_(ULONG) Release(void);
  20. virtual STDMETHODIMP GetTypeInfoCount(UINT *TypeInfoCount);
  21. virtual STDMETHODIMP GetTypeInfo(UINT TypeInfoNum,
  22. LCID Lcid, ITypeInfo **TypeInfoPtr);
  23. virtual STDMETHODIMP GetIDsOfNames(REFIID RefIID,
  24. OLECHAR **NamePtrList, UINT NameCount,
  25. LCID Lcid, DISPID *DispID);
  26. virtual STDMETHODIMP Invoke(DISPID DispID, REFIID RefIID, LCID Lcid,
  27. WORD Flags, DISPPARAMS *DispParms, VARIANT *Variant,
  28. EXCEPINFO *ExceptionInfo, UINT *ArgErr);
  29. LONG RefCount;
  30. ITypeInfo *TypeInfo;
  31. struct _GUID ObjRefIID;