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.

33 lines
1.1 KiB

  1. // Microsoft Visual Studio Object Model
  2. // Copyright (C) 1996-1997 Microsoft Corporation
  3. // All rights reserved.
  4. /////////////////////////////////////////////////////////////////////////////
  5. // addauto.h
  6. // This file declares the IDSAddIn interface. Unlike the other
  7. // files in this directory, this file describes an interface that
  8. // is not implemented by Visual Studio. This interface must be
  9. // implemented by a Developer Studio Add-in so that Visual
  10. // Studio can call into it. The code to do this is automatically
  11. // generated by the Developer Studio Add-in Wizard.
  12. #ifndef __ADDAUTO_H__
  13. #define __ADDAUTO_H__
  14. #include "appauto.h"
  15. DECLARE_INTERFACE_(IDSAddIn, IUnknown)
  16. {
  17. // IUnknown methods
  18. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  19. STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  20. STDMETHOD_(ULONG,Release)(THIS) PURE;
  21. // IDSAddIn methods
  22. STDMETHOD(OnConnection)(THIS_ IApplication* pApp, VARIANT_BOOL bFirstTime, long dwCookie, VARIANT_BOOL* OnConnection) PURE;
  23. STDMETHOD(OnDisconnection)(THIS_ VARIANT_BOOL bLastTime) PURE;
  24. };
  25. #endif //__ADDAUTO_H__