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.

35 lines
882 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995
  5. //
  6. // File: buildscr.h
  7. //
  8. // Contents: Header file defining the objects needed to interface with
  9. // the MTScript engine.
  10. //
  11. //----------------------------------------------------------------------------
  12. class CProcessSink : public IScriptedProcessSink
  13. {
  14. public:
  15. CProcessSink();
  16. ~CProcessSink() {}
  17. // IUnknown methods
  18. STDMETHOD(QueryInterface) (REFIID riid, LPVOID * ppv);
  19. STDMETHOD_(ULONG, AddRef) (void);
  20. STDMETHOD_(ULONG, Release) (void);
  21. // IScriptedProcessSink methods
  22. STDMETHOD(RequestExit)();
  23. STDMETHOD(ReceiveData)(wchar_t *pszType,
  24. wchar_t *pszData,
  25. long *plReturn);
  26. private:
  27. ULONG _ulRefs;
  28. };