Share via


CMediaEvent::CMediaEvent (Compact 2013)

3/26/2014

Constructs a CMediaEvent object.

Syntax

CMediaEvent(
  const TCHAR* pName,
  LPUNKNOWN pUnk 
);

Parameters

  • pName
    Name of the object for debugging purposes.
  • pUnk
    Pointer to the owner of this object.

Return Value

None.

Remarks

Allocate the pName parameter in static memory.

This name appears on the debugging terminal upon creation and deletion of the object.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CMediaEvent Class