windows-nt/Source/XPSP1/NT/sdktools/build/buildscr.h

36 lines
882 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1995
//
// File: buildscr.h
//
// Contents: Header file defining the objects needed to interface with
// the MTScript engine.
//
//----------------------------------------------------------------------------
class CProcessSink : public IScriptedProcessSink
{
public:
CProcessSink();
~CProcessSink() {}
// IUnknown methods
STDMETHOD(QueryInterface) (REFIID riid, LPVOID * ppv);
STDMETHOD_(ULONG, AddRef) (void);
STDMETHOD_(ULONG, Release) (void);
// IScriptedProcessSink methods
STDMETHOD(RequestExit)();
STDMETHOD(ReceiveData)(wchar_t *pszType,
wchar_t *pszData,
long *plReturn);
private:
ULONG _ulRefs;
};