windows-nt/Source/XPSP1/NT/multimedia/dshow/vidctl/msvidctl/sbesinkcp.h
2020-09-26 16:20:57 +08:00

20 lines
605 B
C++

// Copyright (c) 1999-2002 Microsoft Corporation. All Rights Reserved.
#pragma once
#ifndef _SBESINKCP_H_
#define _SBESINKCP_H_
#include <deviceeventimpl.h>
template <class T, const IID* piid = &IID_IMSVidStreamBufferSinkEvent, class CDV = CComDynamicUnkArray>
class CProxy_StreamBufferSinkEvent : public CProxy_DeviceEvent<T, piid, CDV>
{
public:
void Fire_CertificateFailure() { Fire_VoidMethod(eventidSinkCertificateFailure); }
void Fire_CertificateSuccess() { Fire_VoidMethod(eventidSinkCertificateSuccess); }
void Fire_WriteFailure() { Fire_VoidMethod(eventidWriteFailure); }
};
#endif